[INFO] fetching crate bellande_artificial_intelligence_framework 0.1.0...
[INFO] building bellande_artificial_intelligence_framework-0.1.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate bellande_artificial_intelligence_framework 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate bellande_artificial_intelligence_framework 0.1.0
[INFO] finished tweaking crates.io crate bellande_artificial_intelligence_framework 0.1.0
[INFO] tweaked toml for crates.io crate bellande_artificial_intelligence_framework 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate bellande_artificial_intelligence_framework 0.1.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 123 packages to latest compatible versions
[INFO] [stderr]       Adding bincode v1.3.3 (available: v2.0.1)
[INFO] [stderr]       Adding cudarc v0.9.15 (available: v0.17.3)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] [stderr]       Adding rand_distr v0.4.3 (available: v0.5.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e8b7c36c4038ec5e8cfe77bc9163771cccc4dcfbe5045c12435406811588a341
[INFO] running `Command { std: "docker" "start" "-a" "e8b7c36c4038ec5e8cfe77bc9163771cccc4dcfbe5045c12435406811588a341", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8b7c36c4038ec5e8cfe77bc9163771cccc4dcfbe5045c12435406811588a341", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8b7c36c4038ec5e8cfe77bc9163771cccc4dcfbe5045c12435406811588a341", kill_on_drop: false }`
[INFO] [stdout] e8b7c36c4038ec5e8cfe77bc9163771cccc4dcfbe5045c12435406811588a341
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 365f373175b7d807206e323d0655e1e46304c81a7c0d40febc4a1faf3882120c
[INFO] running `Command { std: "docker" "start" "-a" "365f373175b7d807206e323d0655e1e46304c81a7c0d40febc4a1faf3882120c", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling freetype-sys v0.20.1
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling pathfinder_simd v0.5.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling bytemuck v1.23.2
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling font-kit v0.14.3
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling jpeg-decoder v0.3.2
[INFO] [stderr]    Compiling weezl v0.1.10
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling sys-info v0.9.1
[INFO] [stderr]    Compiling float-ord v0.3.2
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling ttf-parser v0.20.0
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling gif v0.12.0
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling pathfinder_geometry v0.5.1
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling rand_distr v0.4.3
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling plotters-bitmap v0.3.7
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling bellande_artificial_intelligence_framework v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:67:11
[INFO] [stdout]    |
[INFO] [stdout] 67 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:72:11
[INFO] [stdout]    |
[INFO] [stdout] 72 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:35:15
[INFO] [stdout]    |
[INFO] [stdout] 35 |         #[cfg(feature = "cuda")]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |         #[cfg(not(feature = "cuda"))]
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:81:23
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 #[cfg(feature = "cuda")]
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 #[cfg(not(feature = "cuda"))]
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]    --> src/core/device.rs:103:23
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 #[cfg(feature = "cuda")]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]     = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]    --> src/core/device.rs:108:27
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 #[cfg(not(feature = "cuda"))]
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]     = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/loss/bce.rs:349:53
[INFO] [stdout]     |
[INFO] [stdout] 349 |                         let grad = grad_output.data[(outer * inner_size + inner)];
[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] 349 -                         let grad = grad_output.data[(outer * inner_size + inner)];
[INFO] [stdout] 349 +                         let grad = grad_output.data[outer * inner_size + inner];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/loss/bce.rs:379:53
[INFO] [stdout]     |
[INFO] [stdout] 379 |                         let grad = grad_output.data[(outer * inner_size + inner)] / stride;
[INFO] [stdout]     |                                                     ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 379 -                         let grad = grad_output.data[(outer * inner_size + inner)] / stride;
[INFO] [stdout] 379 +                         let grad = grad_output.data[outer * inner_size + inner] / stride;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/loss/bce.rs:427:53
[INFO] [stdout]     |
[INFO] [stdout] 427 |                         let grad = grad_output.data[(outer * inner_size + inner)];
[INFO] [stdout]     |                                                     ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 427 -                         let grad = grad_output.data[(outer * inner_size + inner)];
[INFO] [stdout] 427 +                         let grad = grad_output.data[outer * inner_size + inner];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/bellande_artificial_intelligence_framework.rs:72:19
[INFO] [stdout]    |
[INFO] [stdout] 72 |             #[cfg(feature = "cuda")]
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/bellande_artificial_intelligence_framework.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |             #[cfg(not(feature = "cuda"))]
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]    --> src/bellande_artificial_intelligence_framework.rs:108:18
[INFO] [stdout]     |
[INFO] [stdout] 108 |             cfg!(feature = "cuda"),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]     = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/optim/rmsprop.rs:174:35
[INFO] [stdout]     |
[INFO] [stdout] 174 |     fn add_param_group(&mut self, mut group: ParameterGroup) {
[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: `device_id`
[INFO] [stdout]   --> src/core/device.rs:80:26
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Device::CUDA(device_id) => {
[INFO] [stdout]    |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/core/device.rs:102:26
[INFO] [stdout]     |
[INFO] [stdout] 102 |             Device::CUDA(device_id) => {
[INFO] [stdout]     |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/optim/sgd.rs:149:35
[INFO] [stdout]     |
[INFO] [stdout] 149 |     fn add_param_group(&mut self, mut group: ParameterGroup) {
[INFO] [stdout]     |                                   ----^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `best_value` is assigned to, but never used
[INFO] [stdout]    --> src/training/checkpoint.rs:456:21
[INFO] [stdout]     |
[INFO] [stdout] 456 |             let mut best_value = match self.mode {
[INFO] [stdout]     |                     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_best_value` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `best_value` is never read
[INFO] [stdout]    --> src/training/checkpoint.rs:465:29
[INFO] [stdout]     |
[INFO] [stdout] 465 | ...                   best_value = metadata.best_value;
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]   --> src/layer/activation.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mask: Vec<bool> = output
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epoch`
[INFO] [stdout]   --> src/training/callbacks.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         epoch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 22 |         _epoch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 22 -         epoch: usize,
[INFO] [stdout] 22 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epoch`
[INFO] [stdout]   --> src/training/callbacks.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         epoch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 29 |         _epoch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 29 -         epoch: usize,
[INFO] [stdout] 29 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch`
[INFO] [stdout]   --> src/training/callbacks.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         batch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 36 |         _batch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 36 -         batch: usize,
[INFO] [stdout] 36 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch`
[INFO] [stdout]   --> src/training/callbacks.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         batch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 43 |         _batch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 43 -         batch: usize,
[INFO] [stdout] 43 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:48:34
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn on_train_begin(&mut self, logs: &HashMap<String, f32>) -> Result<(), BellandeError> {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:51:32
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn on_train_end(&mut self, logs: &HashMap<String, f32>) -> Result<(), BellandeError> {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r_gate`
[INFO] [stdout]    --> src/layer/recurrent.rs:223:14
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let (r_gate, z_gate, n_gate) = (&chunks[0], &chunks[1], &chunks[2]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_r_gate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tensor`
[INFO] [stdout]    --> src/data/augmentation.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn apply(&self, tensor: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `bit_depth` is assigned to, but never used
[INFO] [stdout]    --> src/data/image_folder.rs:680:17
[INFO] [stdout]     |
[INFO] [stdout] 680 |         let mut bit_depth = 0;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_bit_depth` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bit_depth` is never read
[INFO] [stdout]    --> src/data/image_folder.rs:707:21
[INFO] [stdout]     |
[INFO] [stdout] 707 |                     bit_depth = ihdr_data[0];
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/models/vgg.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn forward(&mut self, input: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 212 |         self.forward(input)
[INFO] [stdout]     |         ------------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/models/vgg.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn backward(&mut self, grad_output: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 216 |         self.backward(grad_output)
[INFO] [stdout]     |         -------------------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/utilities/compression.rs:222:54
[INFO] [stdout]     |
[INFO] [stdout] 222 |     fn read_bits<R: Read>(&mut self, reader: &mut R, mut count: u8) -> io::Result<u32> {
[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/optim/adam.rs:148:35
[INFO] [stdout]     |
[INFO] [stdout] 148 |     fn add_param_group(&mut self, mut group: ParameterGroup) {
[INFO] [stdout]     |                                   ----^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_grad`
[INFO] [stdout]    --> src/layer/layer_norm.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 let batch_grad = &grad_output.data[start_idx..end_idx];
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_grad`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bias`
[INFO] [stdout]    --> src/layer/layer_norm.rs:149:56
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     if let (Some(ref weight), Some(ref bias)) = (&self.weight, &self.bias) {
[INFO] [stdout]     |                                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_bias`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `needs_input_grad` is never read
[INFO] [stdout]   --> src/core/autograd.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct AutogradContext {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 28 |     saved_tensors: Vec<Tensor>,
[INFO] [stdout] 29 |     needs_input_grad: Vec<bool>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `degrees` is never read
[INFO] [stdout]   --> src/data/augmentation.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub struct RandomRotation {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 99 |     degrees: (f32, f32),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RGB` is never constructed
[INFO] [stdout]   --> src/data/image_decoder.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct RGB {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `root` is never read
[INFO] [stdout]   --> src/data/image_folder.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct ImageFolder {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 74 |     root: PathBuf,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `normalized` is never read
[INFO] [stdout]   --> src/layer/layer_norm.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct LayerNormCache {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] 27 |     input: Tensor,
[INFO] [stdout] 28 |     normalized: Tensor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `input_size` is never read
[INFO] [stdout]   --> src/layer/recurrent.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct LSTMCell {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 19 |     input_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input`, `hidden`, `cell`, and `gates` are never read
[INFO] [stdout]   --> src/layer/recurrent.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct LSTMCache {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 29 |     input: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 30 |     hidden: Tensor,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 31 |     cell: Tensor,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 32 |     gates: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `T_max` should have a snake case name
[INFO] [stdout]   --> src/optim/scheduler.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     T_max: usize,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `t_max`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T_max` should have a snake case name
[INFO] [stdout]   --> src/optim/scheduler.rs:68:47
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn new(optimizer: Box<dyn Optimizer>, T_max: usize, eta_min: f32) -> Self {
[INFO] [stdout]    |                                               ^^^^^ help: convert the identifier to snake case: `t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/layer/recurrent.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct GRUCell {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 134 |     input_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 135 |     hidden_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 136 |     weight_ih: Tensor,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 137 |     weight_hh: Tensor,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 138 |     bias_ih: Option<Tensor>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 139 |     bias_hh: Option<Tensor>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 140 |     cache: Option<GRUCache>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input`, `hidden`, and `gates` are never read
[INFO] [stdout]    --> src/layer/recurrent.rs:144:5
[INFO] [stdout]     |
[INFO] [stdout] 143 | struct GRUCache {
[INFO] [stdout]     |        -------- fields in this struct
[INFO] [stdout] 144 |     input: Tensor,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 145 |     hidden: Tensor,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 146 |     gates: Tensor,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `compute_gates`, `split_gates`, and `forward` are never used
[INFO] [stdout]    --> src/layer/recurrent.rs:177:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl GRUCell {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     fn compute_gates(&self, input: &Tensor, h_prev: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     fn split_gates(&self, gates: &Tensor) -> Vec<Tensor> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     fn forward(&mut self, input: &Tensor, hidden: Option<Tensor>) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `query`, `key`, `value`, and `attention_weights` are never read
[INFO] [stdout]   --> src/layer/transformer.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct AttentionCache {
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout] 34 |     query: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 35 |     key: Tensor,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 36 |     value: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 37 |     attention_weights: Tensor,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `best_weights` is never read
[INFO] [stdout]   --> src/training/callbacks.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct EarlyStopping {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     best_weights: Option<Vec<Tensor>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `decode_literal_symbol` is never used
[INFO] [stdout]    --> src/utilities/compression.rs:296:8
[INFO] [stdout]     |
[INFO] [stdout] 258 | impl<R: Read> Decoder<R> {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 296 |     fn decode_literal_symbol(&mut self) -> io::Result<u16> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/data/dataloader.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn iter(&self) -> DataLoaderIterator {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided 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] 50 |     pub fn iter(&self) -> DataLoaderIterator<'_> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.39s
[INFO] running `Command { std: "docker" "inspect" "365f373175b7d807206e323d0655e1e46304c81a7c0d40febc4a1faf3882120c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "365f373175b7d807206e323d0655e1e46304c81a7c0d40febc4a1faf3882120c", kill_on_drop: false }`
[INFO] [stdout] 365f373175b7d807206e323d0655e1e46304c81a7c0d40febc4a1faf3882120c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db13422be9f85e0f4b40dd16795b55250c44d76438adf33e6beb18f8d557a980
[INFO] running `Command { std: "docker" "start" "-a" "db13422be9f85e0f4b40dd16795b55250c44d76438adf33e6beb18f8d557a980", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:67:11
[INFO] [stdout]    |
[INFO] [stdout] 67 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:72:11
[INFO] [stdout]    |
[INFO] [stdout] 72 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:35:15
[INFO] [stdout]    |
[INFO] [stdout] 35 |         #[cfg(feature = "cuda")]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |         #[cfg(not(feature = "cuda"))]
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:81:23
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 #[cfg(feature = "cuda")]
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 #[cfg(not(feature = "cuda"))]
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]    --> src/core/device.rs:103:23
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 #[cfg(feature = "cuda")]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]     = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]    --> src/core/device.rs:108:27
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 #[cfg(not(feature = "cuda"))]
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]     = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/loss/bce.rs:349:53
[INFO] [stdout]     |
[INFO] [stdout] 349 |                         let grad = grad_output.data[(outer * inner_size + inner)];
[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] 349 -                         let grad = grad_output.data[(outer * inner_size + inner)];
[INFO] [stdout] 349 +                         let grad = grad_output.data[outer * inner_size + inner];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/loss/bce.rs:379:53
[INFO] [stdout]     |
[INFO] [stdout] 379 |                         let grad = grad_output.data[(outer * inner_size + inner)] / stride;
[INFO] [stdout]     |                                                     ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 379 -                         let grad = grad_output.data[(outer * inner_size + inner)] / stride;
[INFO] [stdout] 379 +                         let grad = grad_output.data[outer * inner_size + inner] / stride;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/loss/bce.rs:427:53
[INFO] [stdout]     |
[INFO] [stdout] 427 |                         let grad = grad_output.data[(outer * inner_size + inner)];
[INFO] [stdout]     |                                                     ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 427 -                         let grad = grad_output.data[(outer * inner_size + inner)];
[INFO] [stdout] 427 +                         let grad = grad_output.data[outer * inner_size + inner];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/bellande_artificial_intelligence_framework.rs:72:19
[INFO] [stdout]    |
[INFO] [stdout] 72 |             #[cfg(feature = "cuda")]
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/bellande_artificial_intelligence_framework.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |             #[cfg(not(feature = "cuda"))]
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]    --> src/bellande_artificial_intelligence_framework.rs:108:18
[INFO] [stdout]     |
[INFO] [stdout] 108 |             cfg!(feature = "cuda"),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]     = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/optim/rmsprop.rs:174:35
[INFO] [stdout]     |
[INFO] [stdout] 174 |     fn add_param_group(&mut self, mut group: ParameterGroup) {
[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: `device_id`
[INFO] [stdout]   --> src/core/device.rs:80:26
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Device::CUDA(device_id) => {
[INFO] [stdout]    |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/core/device.rs:102:26
[INFO] [stdout]     |
[INFO] [stdout] 102 |             Device::CUDA(device_id) => {
[INFO] [stdout]     |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/optim/sgd.rs:149:35
[INFO] [stdout]     |
[INFO] [stdout] 149 |     fn add_param_group(&mut self, mut group: ParameterGroup) {
[INFO] [stdout]     |                                   ----^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `best_value` is assigned to, but never used
[INFO] [stdout]    --> src/training/checkpoint.rs:456:21
[INFO] [stdout]     |
[INFO] [stdout] 456 |             let mut best_value = match self.mode {
[INFO] [stdout]     |                     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_best_value` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `best_value` is never read
[INFO] [stdout]    --> src/training/checkpoint.rs:465:29
[INFO] [stdout]     |
[INFO] [stdout] 465 | ...                   best_value = metadata.best_value;
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]   --> src/layer/activation.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mask: Vec<bool> = output
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epoch`
[INFO] [stdout]   --> src/training/callbacks.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         epoch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 22 |         _epoch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 22 -         epoch: usize,
[INFO] [stdout] 22 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epoch`
[INFO] [stdout]   --> src/training/callbacks.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         epoch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 29 |         _epoch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 29 -         epoch: usize,
[INFO] [stdout] 29 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch`
[INFO] [stdout]   --> src/training/callbacks.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         batch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 36 |         _batch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 36 -         batch: usize,
[INFO] [stdout] 36 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch`
[INFO] [stdout]   --> src/training/callbacks.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         batch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 43 |         _batch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 43 -         batch: usize,
[INFO] [stdout] 43 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:48:34
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn on_train_begin(&mut self, logs: &HashMap<String, f32>) -> Result<(), BellandeError> {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:51:32
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn on_train_end(&mut self, logs: &HashMap<String, f32>) -> Result<(), BellandeError> {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r_gate`
[INFO] [stdout]    --> src/layer/recurrent.rs:223:14
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let (r_gate, z_gate, n_gate) = (&chunks[0], &chunks[1], &chunks[2]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_r_gate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tensor`
[INFO] [stdout]    --> src/data/augmentation.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn apply(&self, tensor: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `bit_depth` is assigned to, but never used
[INFO] [stdout]    --> src/data/image_folder.rs:680:17
[INFO] [stdout]     |
[INFO] [stdout] 680 |         let mut bit_depth = 0;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_bit_depth` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bit_depth` is never read
[INFO] [stdout]    --> src/data/image_folder.rs:707:21
[INFO] [stdout]     |
[INFO] [stdout] 707 |                     bit_depth = ihdr_data[0];
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/models/vgg.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn forward(&mut self, input: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 212 |         self.forward(input)
[INFO] [stdout]     |         ------------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/models/vgg.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn backward(&mut self, grad_output: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 216 |         self.backward(grad_output)
[INFO] [stdout]     |         -------------------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/utilities/compression.rs:222:54
[INFO] [stdout]     |
[INFO] [stdout] 222 |     fn read_bits<R: Read>(&mut self, reader: &mut R, mut count: u8) -> io::Result<u32> {
[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/optim/adam.rs:148:35
[INFO] [stdout]     |
[INFO] [stdout] 148 |     fn add_param_group(&mut self, mut group: ParameterGroup) {
[INFO] [stdout]     |                                   ----^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_grad`
[INFO] [stdout]    --> src/layer/layer_norm.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 let batch_grad = &grad_output.data[start_idx..end_idx];
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_grad`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bias`
[INFO] [stdout]    --> src/layer/layer_norm.rs:149:56
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     if let (Some(ref weight), Some(ref bias)) = (&self.weight, &self.bias) {
[INFO] [stdout]     |                                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_bias`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `needs_input_grad` is never read
[INFO] [stdout]   --> src/core/autograd.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct AutogradContext {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 28 |     saved_tensors: Vec<Tensor>,
[INFO] [stdout] 29 |     needs_input_grad: Vec<bool>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `degrees` is never read
[INFO] [stdout]   --> src/data/augmentation.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub struct RandomRotation {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 99 |     degrees: (f32, f32),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RGB` is never constructed
[INFO] [stdout]   --> src/data/image_decoder.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct RGB {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `root` is never read
[INFO] [stdout]   --> src/data/image_folder.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct ImageFolder {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 74 |     root: PathBuf,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `normalized` is never read
[INFO] [stdout]   --> src/layer/layer_norm.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct LayerNormCache {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] 27 |     input: Tensor,
[INFO] [stdout] 28 |     normalized: Tensor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `input_size` is never read
[INFO] [stdout]   --> src/layer/recurrent.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct LSTMCell {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 19 |     input_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input`, `hidden`, `cell`, and `gates` are never read
[INFO] [stdout]   --> src/layer/recurrent.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct LSTMCache {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 29 |     input: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 30 |     hidden: Tensor,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 31 |     cell: Tensor,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 32 |     gates: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bellande_artificial_intelligence_framework v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: structure field `T_max` should have a snake case name
[INFO] [stdout]   --> src/optim/scheduler.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     T_max: usize,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `t_max`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T_max` should have a snake case name
[INFO] [stdout]   --> src/optim/scheduler.rs:68:47
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn new(optimizer: Box<dyn Optimizer>, T_max: usize, eta_min: f32) -> Self {
[INFO] [stdout]    |                                               ^^^^^ help: convert the identifier to snake case: `t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/layer/recurrent.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct GRUCell {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 134 |     input_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 135 |     hidden_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 136 |     weight_ih: Tensor,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 137 |     weight_hh: Tensor,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 138 |     bias_ih: Option<Tensor>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 139 |     bias_hh: Option<Tensor>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 140 |     cache: Option<GRUCache>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input`, `hidden`, and `gates` are never read
[INFO] [stdout]    --> src/layer/recurrent.rs:144:5
[INFO] [stdout]     |
[INFO] [stdout] 143 | struct GRUCache {
[INFO] [stdout]     |        -------- fields in this struct
[INFO] [stdout] 144 |     input: Tensor,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 145 |     hidden: Tensor,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 146 |     gates: Tensor,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `compute_gates`, `split_gates`, and `forward` are never used
[INFO] [stdout]    --> src/layer/recurrent.rs:177:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl GRUCell {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     fn compute_gates(&self, input: &Tensor, h_prev: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     fn split_gates(&self, gates: &Tensor) -> Vec<Tensor> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     fn forward(&mut self, input: &Tensor, hidden: Option<Tensor>) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `query`, `key`, `value`, and `attention_weights` are never read
[INFO] [stdout]   --> src/layer/transformer.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct AttentionCache {
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout] 34 |     query: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 35 |     key: Tensor,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 36 |     value: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 37 |     attention_weights: Tensor,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `best_weights` is never read
[INFO] [stdout]   --> src/training/callbacks.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct EarlyStopping {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     best_weights: Option<Vec<Tensor>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `decode_literal_symbol` is never used
[INFO] [stdout]    --> src/utilities/compression.rs:296:8
[INFO] [stdout]     |
[INFO] [stdout] 258 | impl<R: Read> Decoder<R> {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 296 |     fn decode_literal_symbol(&mut self) -> io::Result<u16> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/data/dataloader.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn iter(&self) -> DataLoaderIterator {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided 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] 50 |     pub fn iter(&self) -> DataLoaderIterator<'_> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:54:11
[INFO] [stdout]    |
[INFO] [stdout] 54 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:62:11
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:67:11
[INFO] [stdout]    |
[INFO] [stdout] 67 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:72:11
[INFO] [stdout]    |
[INFO] [stdout] 72 |     #[cfg(feature = "cuda")]
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:35:15
[INFO] [stdout]    |
[INFO] [stdout] 35 |         #[cfg(feature = "cuda")]
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |         #[cfg(not(feature = "cuda"))]
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:81:23
[INFO] [stdout]    |
[INFO] [stdout] 81 |                 #[cfg(feature = "cuda")]
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/core/device.rs:86:27
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 #[cfg(not(feature = "cuda"))]
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]    --> src/core/device.rs:103:23
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 #[cfg(feature = "cuda")]
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]     = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]    --> src/core/device.rs:108:27
[INFO] [stdout]     |
[INFO] [stdout] 108 |                 #[cfg(not(feature = "cuda"))]
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]     = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/loss/bce.rs:349:53
[INFO] [stdout]     |
[INFO] [stdout] 349 |                         let grad = grad_output.data[(outer * inner_size + inner)];
[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] 349 -                         let grad = grad_output.data[(outer * inner_size + inner)];
[INFO] [stdout] 349 +                         let grad = grad_output.data[outer * inner_size + inner];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/loss/bce.rs:379:53
[INFO] [stdout]     |
[INFO] [stdout] 379 |                         let grad = grad_output.data[(outer * inner_size + inner)] / stride;
[INFO] [stdout]     |                                                     ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 379 -                         let grad = grad_output.data[(outer * inner_size + inner)] / stride;
[INFO] [stdout] 379 +                         let grad = grad_output.data[outer * inner_size + inner] / stride;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]    --> src/loss/bce.rs:427:53
[INFO] [stdout]     |
[INFO] [stdout] 427 |                         let grad = grad_output.data[(outer * inner_size + inner)];
[INFO] [stdout]     |                                                     ^                          ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 427 -                         let grad = grad_output.data[(outer * inner_size + inner)];
[INFO] [stdout] 427 +                         let grad = grad_output.data[outer * inner_size + inner];
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/bellande_artificial_intelligence_framework.rs:72:19
[INFO] [stdout]    |
[INFO] [stdout] 72 |             #[cfg(feature = "cuda")]
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]   --> src/bellande_artificial_intelligence_framework.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 |             #[cfg(not(feature = "cuda"))]
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]    = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cuda`
[INFO] [stdout]    --> src/bellande_artificial_intelligence_framework.rs:108:18
[INFO] [stdout]     |
[INFO] [stdout] 108 |             cfg!(feature = "cuda"),
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected values for `feature` are: `cudarc`
[INFO] [stdout]     = help: consider adding `cuda` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/optim/rmsprop.rs:174:35
[INFO] [stdout]     |
[INFO] [stdout] 174 |     fn add_param_group(&mut self, mut group: ParameterGroup) {
[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: `device_id`
[INFO] [stdout]   --> src/core/device.rs:80:26
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Device::CUDA(device_id) => {
[INFO] [stdout]    |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device_id`
[INFO] [stdout]    --> src/core/device.rs:102:26
[INFO] [stdout]     |
[INFO] [stdout] 102 |             Device::CUDA(device_id) => {
[INFO] [stdout]     |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_device_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mask`
[INFO] [stdout]   --> src/layer/activation.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let mask: Vec<bool> = output
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_mask`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/models/vgg.rs:211:5
[INFO] [stdout]     |
[INFO] [stdout] 211 |     fn forward(&mut self, input: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 212 |         self.forward(input)
[INFO] [stdout]     |         ------------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout]     = note: `#[warn(unconditional_recursion)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function cannot return without recursing
[INFO] [stdout]    --> src/models/vgg.rs:215:5
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn backward(&mut self, grad_output: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing
[INFO] [stdout] 216 |         self.backward(grad_output)
[INFO] [stdout]     |         -------------------------- recursive call site
[INFO] [stdout]     |
[INFO] [stdout]     = help: a `loop` may express intention better if this is on purpose
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/optim/sgd.rs:149:35
[INFO] [stdout]     |
[INFO] [stdout] 149 |     fn add_param_group(&mut self, mut group: ParameterGroup) {
[INFO] [stdout]     |                                   ----^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `best_value` is assigned to, but never used
[INFO] [stdout]    --> src/training/checkpoint.rs:456:21
[INFO] [stdout]     |
[INFO] [stdout] 456 |             let mut best_value = match self.mode {
[INFO] [stdout]     |                     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_best_value` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `best_value` is never read
[INFO] [stdout]    --> src/training/checkpoint.rs:465:29
[INFO] [stdout]     |
[INFO] [stdout] 465 | ...                   best_value = metadata.best_value;
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epoch`
[INFO] [stdout]   --> src/training/callbacks.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |         epoch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 22 |         _epoch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 22 -         epoch: usize,
[INFO] [stdout] 22 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `epoch`
[INFO] [stdout]   --> src/training/callbacks.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         epoch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 29 |         _epoch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 29 -         epoch: usize,
[INFO] [stdout] 29 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch`
[INFO] [stdout]   --> src/training/callbacks.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |         batch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 36 |         _batch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 36 -         batch: usize,
[INFO] [stdout] 36 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch`
[INFO] [stdout]   --> src/training/callbacks.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         batch: usize,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 43 |         _batch: usize,
[INFO] [stdout]    |         +
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_BITS`
[INFO] [stdout]    |
[INFO] [stdout] 43 -         batch: usize,
[INFO] [stdout] 43 +         utilities::compression::MAX_BITS: usize,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |         logs: &HashMap<String, f32>,
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:48:34
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn on_train_begin(&mut self, logs: &HashMap<String, f32>) -> Result<(), BellandeError> {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `logs`
[INFO] [stdout]   --> src/training/callbacks.rs:51:32
[INFO] [stdout]    |
[INFO] [stdout] 51 |     fn on_train_end(&mut self, logs: &HashMap<String, f32>) -> Result<(), BellandeError> {
[INFO] [stdout]    |                                ^^^^ help: if this is intentional, prefix it with an underscore: `_logs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/optim/adam.rs:148:35
[INFO] [stdout]     |
[INFO] [stdout] 148 |     fn add_param_group(&mut self, mut group: ParameterGroup) {
[INFO] [stdout]     |                                   ----^^^^^
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tensor`
[INFO] [stdout]    --> src/data/augmentation.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn apply(&self, tensor: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tensor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/utilities/compression.rs:222:54
[INFO] [stdout]     |
[INFO] [stdout] 222 |     fn read_bits<R: Read>(&mut self, reader: &mut R, mut count: u8) -> io::Result<u32> {
[INFO] [stdout]     |                                                      ----^^^^^
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `bit_depth` is assigned to, but never used
[INFO] [stdout]    --> src/data/image_folder.rs:680:17
[INFO] [stdout]     |
[INFO] [stdout] 680 |         let mut bit_depth = 0;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_bit_depth` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bit_depth` is never read
[INFO] [stdout]    --> src/data/image_folder.rs:707:21
[INFO] [stdout]     |
[INFO] [stdout] 707 |                     bit_depth = ihdr_data[0];
[INFO] [stdout]     |                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `batch_grad`
[INFO] [stdout]    --> src/layer/layer_norm.rs:136:21
[INFO] [stdout]     |
[INFO] [stdout] 136 |                 let batch_grad = &grad_output.data[start_idx..end_idx];
[INFO] [stdout]     |                     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_grad`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `bias`
[INFO] [stdout]    --> src/layer/layer_norm.rs:149:56
[INFO] [stdout]     |
[INFO] [stdout] 149 |                     if let (Some(ref weight), Some(ref bias)) = (&self.weight, &self.bias) {
[INFO] [stdout]     |                                                        ^^^^ help: if this is intentional, prefix it with an underscore: `_bias`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r_gate`
[INFO] [stdout]    --> src/layer/recurrent.rs:223:14
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let (r_gate, z_gate, n_gate) = (&chunks[0], &chunks[1], &chunks[2]);
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_r_gate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `T_max` should have a snake case name
[INFO] [stdout]   --> src/optim/scheduler.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     T_max: usize,
[INFO] [stdout]    |     ^^^^^ help: convert the identifier to snake case: `t_max`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `T_max` should have a snake case name
[INFO] [stdout]   --> src/optim/scheduler.rs:68:47
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn new(optimizer: Box<dyn Optimizer>, T_max: usize, eta_min: f32) -> Self {
[INFO] [stdout]    |                                               ^^^^^ help: convert the identifier to snake case: `t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/data/dataloader.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn iter(&self) -> DataLoaderIterator {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided 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] 50 |     pub fn iter(&self) -> DataLoaderIterator<'_> {
[INFO] [stdout]    |                                             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `decode_literal_symbol` is never used
[INFO] [stdout]    --> src/utilities/compression.rs:296:8
[INFO] [stdout]     |
[INFO] [stdout] 258 | impl<R: Read> Decoder<R> {
[INFO] [stdout]     | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 296 |     fn decode_literal_symbol(&mut self) -> io::Result<u16> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `degrees` is never read
[INFO] [stdout]   --> src/data/augmentation.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 98 | pub struct RandomRotation {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 99 |     degrees: (f32, f32),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `best_weights` is never read
[INFO] [stdout]   --> src/training/callbacks.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct EarlyStopping {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     best_weights: Option<Vec<Tensor>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `input_size` is never read
[INFO] [stdout]   --> src/layer/recurrent.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct LSTMCell {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 19 |     input_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input`, `hidden`, `cell`, and `gates` are never read
[INFO] [stdout]   --> src/layer/recurrent.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct LSTMCache {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 29 |     input: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 30 |     hidden: Tensor,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 31 |     cell: Tensor,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 32 |     gates: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/layer/recurrent.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 133 | pub struct GRUCell {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] 134 |     input_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] 135 |     hidden_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 136 |     weight_ih: Tensor,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 137 |     weight_hh: Tensor,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 138 |     bias_ih: Option<Tensor>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 139 |     bias_hh: Option<Tensor>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 140 |     cache: Option<GRUCache>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `input`, `hidden`, and `gates` are never read
[INFO] [stdout]    --> src/layer/recurrent.rs:144:5
[INFO] [stdout]     |
[INFO] [stdout] 143 | struct GRUCache {
[INFO] [stdout]     |        -------- fields in this struct
[INFO] [stdout] 144 |     input: Tensor,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 145 |     hidden: Tensor,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 146 |     gates: Tensor,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `compute_gates`, `split_gates`, and `forward` are never used
[INFO] [stdout]    --> src/layer/recurrent.rs:177:8
[INFO] [stdout]     |
[INFO] [stdout] 149 | impl GRUCell {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     fn compute_gates(&self, input: &Tensor, h_prev: &Tensor) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 193 |     fn split_gates(&self, gates: &Tensor) -> Vec<Tensor> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 207 |     fn forward(&mut self, input: &Tensor, hidden: Option<Tensor>) -> Result<Tensor, BellandeError> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `query`, `key`, `value`, and `attention_weights` are never read
[INFO] [stdout]   --> src/layer/transformer.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct AttentionCache {
[INFO] [stdout]    |        -------------- fields in this struct
[INFO] [stdout] 34 |     query: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 35 |     key: Tensor,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 36 |     value: Tensor,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 37 |     attention_weights: Tensor,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RGB` is never constructed
[INFO] [stdout]   --> src/data/image_decoder.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct RGB {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `needs_input_grad` is never read
[INFO] [stdout]   --> src/core/autograd.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct AutogradContext {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 28 |     saved_tensors: Vec<Tensor>,
[INFO] [stdout] 29 |     needs_input_grad: Vec<bool>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `normalized` is never read
[INFO] [stdout]   --> src/layer/layer_norm.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct LayerNormCache {
[INFO] [stdout]    |        -------------- field in this struct
[INFO] [stdout] 27 |     input: Tensor,
[INFO] [stdout] 28 |     normalized: Tensor,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `root` is never read
[INFO] [stdout]   --> src/data/image_folder.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct ImageFolder {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 74 |     root: PathBuf,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.04s
[INFO] running `Command { std: "docker" "inspect" "db13422be9f85e0f4b40dd16795b55250c44d76438adf33e6beb18f8d557a980", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db13422be9f85e0f4b40dd16795b55250c44d76438adf33e6beb18f8d557a980", kill_on_drop: false }`
[INFO] [stdout] db13422be9f85e0f4b40dd16795b55250c44d76438adf33e6beb18f8d557a980
