[INFO] cloning repository https://github.com/Alex10007/Nyxmind
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alex10007/Nyxmind" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex10007%2FNyxmind", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex10007%2FNyxmind'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e0b52dfed7716ed7d58adea2079bb2679870540d
[INFO] checking Alex10007/Nyxmind against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlex10007%2FNyxmind" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Alex10007/Nyxmind
[INFO] finished tweaking git repo https://github.com/Alex10007/Nyxmind
[INFO] tweaked toml for git repo https://github.com/Alex10007/Nyxmind written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Alex10007/Nyxmind on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Alex10007/Nyxmind already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ac668ba39f456b19ac03ad6288dc39bf3b9abe8a79f68f5513b059861ae19b38
[INFO] running `Command { std: "docker" "start" "-a" "ac668ba39f456b19ac03ad6288dc39bf3b9abe8a79f68f5513b059861ae19b38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ac668ba39f456b19ac03ad6288dc39bf3b9abe8a79f68f5513b059861ae19b38", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac668ba39f456b19ac03ad6288dc39bf3b9abe8a79f68f5513b059861ae19b38", kill_on_drop: false }`
[INFO] [stdout] ac668ba39f456b19ac03ad6288dc39bf3b9abe8a79f68f5513b059861ae19b38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bbdd2bec7436473ed30e3994d73b179517a602fd0cd2e14c1aac011115798bb7
[INFO] running `Command { std: "docker" "start" "-a" "bbdd2bec7436473ed30e3994d73b179517a602fd0cd2e14c1aac011115798bb7", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]    Compiling cc v1.2.39
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking crossbeam v0.8.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking indexmap v2.11.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]     Checking ndarray v0.15.6
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking nyxmind v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0761]: file for module `cuda` found at both "src/backend/cuda.rs" and "src/backend/cuda/mod.rs"
[INFO] [stdout]  --> src/backend/mod.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub mod cuda;
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: delete or rename one of them to remove the ambiguity
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::nn`
[INFO] [stdout]  --> src/models/zoo.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::nn::Module;
[INFO] [stdout]   |            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::NyxError`
[INFO] [stdout]  --> src/models/zoo.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::NyxError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no `NyxError` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::nn`
[INFO] [stdout]  --> src/models/pretrained.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::nn::Module;
[INFO] [stdout]   |            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::NyxError`
[INFO] [stdout]  --> src/models/pretrained.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::NyxError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no `NyxError` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = note: unresolved item `crate::models::zoo::tests::NyxError` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::nn`
[INFO] [stdout]  --> src/models/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::nn::Module;
[INFO] [stdout]   |            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::NyxError`
[INFO] [stdout]   --> src/models/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::NyxError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ no `NyxError` in the root
[INFO] [stdout]    |
[INFO] [stdout]    = note: unresolved item `crate::models::pretrained::tests::NyxError` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::nn`
[INFO] [stdout]  --> src/training.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::nn::{Module, Trainable};
[INFO] [stdout]   |            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::NyxError`
[INFO] [stdout]   --> src/training.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::NyxError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ no `NyxError` in the root
[INFO] [stdout]    |
[INFO] [stdout]    = note: unresolved item `crate::models::tests::NyxError` exists but is inaccessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::nn`
[INFO] [stdout]    --> src/training.rs:486:16
[INFO] [stdout]     |
[INFO] [stdout] 486 |     use crate::nn::{Linear, MSELoss};
[INFO] [stdout]     |                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::optimizer`
[INFO] [stdout]    --> src/training.rs:487:16
[INFO] [stdout]     |
[INFO] [stdout] 487 |     use crate::optimizer::SGD;
[INFO] [stdout]     |                ^^^^^^^^^ could not find `optimizer` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0761]: file for module `cuda` found at both "src/backend/cuda.rs" and "src/backend/cuda/mod.rs"
[INFO] [stdout]  --> src/backend/mod.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub mod cuda;
[INFO] [stdout]   | ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: delete or rename one of them to remove the ambiguity
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]   --> src/models/mod.rs:78:28
[INFO] [stdout]    |
[INFO] [stdout] 78 |     model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]    |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]   --> src/models/mod.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |     model.add_layer(crate::nn::BatchNorm2d::new(64, None, None, true, true));
[INFO] [stdout]    |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]   --> src/models/mod.rs:82:28
[INFO] [stdout]    |
[INFO] [stdout] 82 |     model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]    |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]   --> src/models/mod.rs:83:28
[INFO] [stdout]    |
[INFO] [stdout] 83 |     model.add_layer(crate::nn::MaxPool2d::new((3, 3), Some((2, 2)), Some((1, 1)), None));
[INFO] [stdout]    |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:107:28
[INFO] [stdout]     |
[INFO] [stdout] 107 |     model.add_layer(crate::nn::AdaptiveAvgPool2d::new((1, 1)));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:109:28
[INFO] [stdout]     |
[INFO] [stdout] 109 |     model.add_layer(crate::nn::Linear::new(512, config.num_classes, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:135:41
[INFO] [stdout]     |
[INFO] [stdout] 135 |             downsample.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                         ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:138:41
[INFO] [stdout]     |
[INFO] [stdout] 138 |             downsample.add_layer(crate::nn::BatchNorm2d::new(out_channels, None, None, true, true));
[INFO] [stdout]     |                                         ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:143:32
[INFO] [stdout]     |
[INFO] [stdout] 143 |         model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:146:32
[INFO] [stdout]     |
[INFO] [stdout] 146 |         model.add_layer(crate::nn::BatchNorm2d::new(hidden_channels, None, None, true, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:147:32
[INFO] [stdout]     |
[INFO] [stdout] 147 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:149:32
[INFO] [stdout]     |
[INFO] [stdout] 149 |         model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:152:32
[INFO] [stdout]     |
[INFO] [stdout] 152 |         model.add_layer(crate::nn::BatchNorm2d::new(hidden_channels, None, None, true, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:153:32
[INFO] [stdout]     |
[INFO] [stdout] 153 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:155:32
[INFO] [stdout]     |
[INFO] [stdout] 155 |         model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:158:32
[INFO] [stdout]     |
[INFO] [stdout] 158 |         model.add_layer(crate::nn::BatchNorm2d::new(out_channels, None, None, true, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:161:32
[INFO] [stdout]     |
[INFO] [stdout] 161 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:165:32
[INFO] [stdout]     |
[INFO] [stdout] 165 |         model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:168:32
[INFO] [stdout]     |
[INFO] [stdout] 168 |         model.add_layer(crate::nn::BatchNorm2d::new(out_channels, None, None, true, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:169:32
[INFO] [stdout]     |
[INFO] [stdout] 169 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:171:32
[INFO] [stdout]     |
[INFO] [stdout] 171 |         model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::nn`
[INFO] [stdout]  --> src/models/zoo.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::nn::Module;
[INFO] [stdout]   |            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::NyxError`
[INFO] [stdout]  --> src/models/zoo.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::NyxError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no `NyxError` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::nn`
[INFO] [stdout]  --> src/models/pretrained.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::nn::Module;
[INFO] [stdout]   |            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:174:32
[INFO] [stdout]     |
[INFO] [stdout] 174 |         model.add_layer(crate::nn::BatchNorm2d::new(out_channels, None, None, true, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::NyxError`
[INFO] [stdout]  --> src/models/pretrained.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::NyxError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^ no `NyxError` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::nn`
[INFO] [stdout]  --> src/models/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::nn::Module;
[INFO] [stdout]   |            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:177:32
[INFO] [stdout]     |
[INFO] [stdout] 177 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::NyxError`
[INFO] [stdout]   --> src/models/mod.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::NyxError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ no `NyxError` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::nn`
[INFO] [stdout]  --> src/training.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::nn::{Module, Trainable};
[INFO] [stdout]   |            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::NyxError`
[INFO] [stdout]   --> src/training.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::NyxError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ no `NyxError` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:208:40
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 model.add_layer(crate::nn::MaxPool2d::new((2, 2), Some((2, 2)), None, None));
[INFO] [stdout]     |                                        ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:211:40
[INFO] [stdout]     |
[INFO] [stdout] 211 |                 model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                        ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:214:40
[INFO] [stdout]     |
[INFO] [stdout] 214 |                 model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                        ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]   --> src/models/mod.rs:78:28
[INFO] [stdout]    |
[INFO] [stdout] 78 |     model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]    |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:221:28
[INFO] [stdout]     |
[INFO] [stdout] 221 |     model.add_layer(crate::nn::AdaptiveAvgPool2d::new((7, 7)));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]   --> src/models/mod.rs:81:28
[INFO] [stdout]    |
[INFO] [stdout] 81 |     model.add_layer(crate::nn::BatchNorm2d::new(64, None, None, true, true));
[INFO] [stdout]    |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:223:28
[INFO] [stdout]     |
[INFO] [stdout] 223 |     model.add_layer(crate::nn::Linear::new(512 * 7 * 7, 4096, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]   --> src/models/mod.rs:82:28
[INFO] [stdout]    |
[INFO] [stdout] 82 |     model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]    |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:224:28
[INFO] [stdout]     |
[INFO] [stdout] 224 |     model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]   --> src/models/mod.rs:83:28
[INFO] [stdout]    |
[INFO] [stdout] 83 |     model.add_layer(crate::nn::MaxPool2d::new((3, 3), Some((2, 2)), Some((1, 1)), None));
[INFO] [stdout]    |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:225:28
[INFO] [stdout]     |
[INFO] [stdout] 225 |     model.add_layer(crate::nn::Dropout::new(0.5, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:107:28
[INFO] [stdout]     |
[INFO] [stdout] 107 |     model.add_layer(crate::nn::AdaptiveAvgPool2d::new((1, 1)));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:226:28
[INFO] [stdout]     |
[INFO] [stdout] 226 |     model.add_layer(crate::nn::Linear::new(4096, 4096, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:109:28
[INFO] [stdout]     |
[INFO] [stdout] 109 |     model.add_layer(crate::nn::Linear::new(512, config.num_classes, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:227:28
[INFO] [stdout]     |
[INFO] [stdout] 227 |     model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:135:41
[INFO] [stdout]     |
[INFO] [stdout] 135 |             downsample.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                         ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:228:28
[INFO] [stdout]     |
[INFO] [stdout] 228 |     model.add_layer(crate::nn::Dropout::new(0.5, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:138:41
[INFO] [stdout]     |
[INFO] [stdout] 138 |             downsample.add_layer(crate::nn::BatchNorm2d::new(out_channels, None, None, true, true));
[INFO] [stdout]     |                                         ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:229:28
[INFO] [stdout]     |
[INFO] [stdout] 229 |     model.add_layer(crate::nn::Linear::new(4096, config.num_classes, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:143:32
[INFO] [stdout]     |
[INFO] [stdout] 143 |         model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:244:32
[INFO] [stdout]     |
[INFO] [stdout] 244 |         model.add_layer(crate::nn::Linear::new(prev_size, hidden_size, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:146:32
[INFO] [stdout]     |
[INFO] [stdout] 146 |         model.add_layer(crate::nn::BatchNorm2d::new(hidden_channels, None, None, true, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:245:32
[INFO] [stdout]     |
[INFO] [stdout] 245 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:147:32
[INFO] [stdout]     |
[INFO] [stdout] 147 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:246:32
[INFO] [stdout]     |
[INFO] [stdout] 246 |         model.add_layer(crate::nn::Dropout::new(0.2, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:149:32
[INFO] [stdout]     |
[INFO] [stdout] 149 |         model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:250:28
[INFO] [stdout]     |
[INFO] [stdout] 250 |     model.add_layer(crate::nn::Linear::new(prev_size, num_classes, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:152:32
[INFO] [stdout]     |
[INFO] [stdout] 152 |         model.add_layer(crate::nn::BatchNorm2d::new(hidden_channels, None, None, true, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:153:32
[INFO] [stdout]     |
[INFO] [stdout] 153 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `NyxError` in the crate root
[INFO] [stdout]    --> src/performance.rs:148:31
[INFO] [stdout]     |
[INFO] [stdout] 148 |             return Err(crate::NyxError::Shape(format!(
[INFO] [stdout]     |                               ^^^^^^^^ could not find `NyxError` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:155:32
[INFO] [stdout]     |
[INFO] [stdout] 155 |         model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:158:32
[INFO] [stdout]     |
[INFO] [stdout] 158 |         model.add_layer(crate::nn::BatchNorm2d::new(out_channels, None, None, true, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:161:32
[INFO] [stdout]     |
[INFO] [stdout] 161 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:165:32
[INFO] [stdout]     |
[INFO] [stdout] 165 |         model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:168:32
[INFO] [stdout]     |
[INFO] [stdout] 168 |         model.add_layer(crate::nn::BatchNorm2d::new(out_channels, None, None, true, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:169:32
[INFO] [stdout]     |
[INFO] [stdout] 169 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `optimizer` in the crate root
[INFO] [stdout]    --> src/training.rs:122:15
[INFO] [stdout]     |
[INFO] [stdout] 122 |     O: crate::optimizer::Optimizer,
[INFO] [stdout]     |               ^^^^^^^^^ could not find `optimizer` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:171:32
[INFO] [stdout]     |
[INFO] [stdout] 171 |         model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `optimizer` in the crate root
[INFO] [stdout]    --> src/training.rs:138:15
[INFO] [stdout]     |
[INFO] [stdout] 138 |     O: crate::optimizer::Optimizer,
[INFO] [stdout]     |               ^^^^^^^^^ could not find `optimizer` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:108:28
[INFO] [stdout]     |
[INFO] [stdout] 108 |     model.add_layer(crate::nn::Flatten::new(1, -1));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   9 + use std::iter::Flatten;
[INFO] [stdout]     |
[INFO] [stdout]   9 + use rayon::iter::Flatten;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Flatten`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 108 -     model.add_layer(crate::nn::Flatten::new(1, -1));
[INFO] [stdout] 108 +     model.add_layer(Flatten::new(1, -1));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:222:28
[INFO] [stdout]     |
[INFO] [stdout] 222 |     model.add_layer(crate::nn::Flatten::new(1, -1));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   9 + use std::iter::Flatten;
[INFO] [stdout]     |
[INFO] [stdout]   9 + use rayon::iter::Flatten;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Flatten`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 222 -     model.add_layer(crate::nn::Flatten::new(1, -1));
[INFO] [stdout] 222 +     model.add_layer(Flatten::new(1, -1));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:174:32
[INFO] [stdout]     |
[INFO] [stdout] 174 |         model.add_layer(crate::nn::BatchNorm2d::new(out_channels, None, None, true, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NyxError` in the crate root
[INFO] [stdout]    --> src/performance.rs:143:77
[INFO] [stdout]     |
[INFO] [stdout] 143 |     pub fn matmul_parallel(a: &Tensor, b: &Tensor) -> Result<Tensor, crate::NyxError> {
[INFO] [stdout]     |                                                                             ^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NyxError` in the crate root
[INFO] [stdout]    --> src/performance.rs:200:87
[INFO] [stdout]     |
[INFO] [stdout] 200 |     pub fn matmul_add(a: &Tensor, b: &Tensor, bias: &Tensor) -> Result<Tensor, crate::NyxError> {
[INFO] [stdout]     |                                                                                       ^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NyxError` in the crate root
[INFO] [stdout]    --> src/performance.rs:206:105
[INFO] [stdout]     |
[INFO] [stdout] 206 |     pub fn conv2d_relu(input: &Tensor, weight: &Tensor, bias: Option<&Tensor>) -> Result<Tensor, crate::NyxError> {
[INFO] [stdout]     |                                                                                                         ^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/performance.rs:281:39
[INFO] [stdout]     |
[INFO] [stdout] 281 |         start_times: std::sync::Mutex<HashMap<String, Instant>>,
[INFO] [stdout]     |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/performance.rs:282:40
[INFO] [stdout]     |
[INFO] [stdout] 282 |         measurements: std::sync::Mutex<HashMap<String, Vec<Duration>>>,
[INFO] [stdout]     |                                        ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]    --> src/performance.rs:288:52
[INFO] [stdout]     |
[INFO] [stdout] 288 |                 start_times: std::sync::Mutex::new(HashMap::new()),
[INFO] [stdout]     |                                                    ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:177:32
[INFO] [stdout]     |
[INFO] [stdout] 177 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]    --> src/performance.rs:289:53
[INFO] [stdout]     |
[INFO] [stdout] 289 |                 measurements: std::sync::Mutex::new(HashMap::new()),
[INFO] [stdout]     |                                                     ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/performance.rs:323:39
[INFO] [stdout]     |
[INFO] [stdout] 323 |         pub fn measurements(&self) -> HashMap<String, Vec<Duration>> {
[INFO] [stdout]     |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/performance.rs:335:44
[INFO] [stdout]     |
[INFO] [stdout] 335 |     static PROFILER: once_cell::sync::Lazy<Arc<Profiler>> =
[INFO] [stdout]     |                                            ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]    --> src/performance.rs:336:39
[INFO] [stdout]     |
[INFO] [stdout] 336 |         once_cell::sync::Lazy::new(|| Arc::new(Profiler::new()));
[INFO] [stdout]     |                                       ^^^ use of undeclared type `Arc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/performance.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |     pub fn profiler() -> &'static Arc<Profiler> {
[INFO] [stdout]     |                                   ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Profiler`
[INFO] [stdout]    --> src/performance.rs:421:24
[INFO] [stdout]     |
[INFO] [stdout] 421 |         let profiler = Profiler::new();
[INFO] [stdout]     |                        ^^^^^^^^ use of undeclared type `Profiler`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 357 +     use crate::performance::profiling::Profiler;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:208:40
[INFO] [stdout]     |
[INFO] [stdout] 208 |                 model.add_layer(crate::nn::MaxPool2d::new((2, 2), Some((2, 2)), None, None));
[INFO] [stdout]     |                                        ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/models/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude::*`
[INFO] [stdout]    --> src/performance.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     use rayon::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:211:40
[INFO] [stdout]     |
[INFO] [stdout] 211 |                 model.add_layer(crate::nn::Conv2d::new(
[INFO] [stdout]     |                                        ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:214:40
[INFO] [stdout]     |
[INFO] [stdout] 214 |                 model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                        ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:221:28
[INFO] [stdout]     |
[INFO] [stdout] 221 |     model.add_layer(crate::nn::AdaptiveAvgPool2d::new((7, 7)));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:223:28
[INFO] [stdout]     |
[INFO] [stdout] 223 |     model.add_layer(crate::nn::Linear::new(512 * 7 * 7, 4096, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:224:28
[INFO] [stdout]     |
[INFO] [stdout] 224 |     model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:225:28
[INFO] [stdout]     |
[INFO] [stdout] 225 |     model.add_layer(crate::nn::Dropout::new(0.5, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:226:28
[INFO] [stdout]     |
[INFO] [stdout] 226 |     model.add_layer(crate::nn::Linear::new(4096, 4096, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:227:28
[INFO] [stdout]     |
[INFO] [stdout] 227 |     model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:228:28
[INFO] [stdout]     |
[INFO] [stdout] 228 |     model.add_layer(crate::nn::Dropout::new(0.5, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:229:28
[INFO] [stdout]     |
[INFO] [stdout] 229 |     model.add_layer(crate::nn::Linear::new(4096, config.num_classes, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:244:32
[INFO] [stdout]     |
[INFO] [stdout] 244 |         model.add_layer(crate::nn::Linear::new(prev_size, hidden_size, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:245:32
[INFO] [stdout]     |
[INFO] [stdout] 245 |         model.add_layer(crate::nn::ReLU::new(true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:246:32
[INFO] [stdout]     |
[INFO] [stdout] 246 |         model.add_layer(crate::nn::Dropout::new(0.2, true));
[INFO] [stdout]     |                                ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:250:28
[INFO] [stdout]     |
[INFO] [stdout] 250 |     model.add_layer(crate::nn::Linear::new(prev_size, num_classes, true));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dirs`
[INFO] [stdout]    --> src/models/zoo.rs:168:21
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let cache_dir = dirs::cache_dir()
[INFO] [stdout]     |                     ^^^^ use of unresolved module or unlinked crate `dirs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0761.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `NyxError` in the crate root
[INFO] [stdout]    --> src/performance.rs:148:31
[INFO] [stdout]     |
[INFO] [stdout] 148 |             return Err(crate::NyxError::Shape(format!(
[INFO] [stdout]     |                               ^^^^^^^^ could not find `NyxError` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `optimizer` in the crate root
[INFO] [stdout]    --> src/training.rs:122:15
[INFO] [stdout]     |
[INFO] [stdout] 122 |     O: crate::optimizer::Optimizer,
[INFO] [stdout]     |               ^^^^^^^^^ could not find `optimizer` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `optimizer` in the crate root
[INFO] [stdout]    --> src/training.rs:138:15
[INFO] [stdout]     |
[INFO] [stdout] 138 |     O: crate::optimizer::Optimizer,
[INFO] [stdout]     |               ^^^^^^^^^ could not find `optimizer` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:108:28
[INFO] [stdout]     |
[INFO] [stdout] 108 |     model.add_layer(crate::nn::Flatten::new(1, -1));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   9 + use std::iter::Flatten;
[INFO] [stdout]     |
[INFO] [stdout]   9 + use rayon::iter::Flatten;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Flatten`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 108 -     model.add_layer(crate::nn::Flatten::new(1, -1));
[INFO] [stdout] 108 +     model.add_layer(Flatten::new(1, -1));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `nn` in the crate root
[INFO] [stdout]    --> src/models/mod.rs:222:28
[INFO] [stdout]     |
[INFO] [stdout] 222 |     model.add_layer(crate::nn::Flatten::new(1, -1));
[INFO] [stdout]     |                            ^^ could not find `nn` in the crate root
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout]   9 + use std::iter::Flatten;
[INFO] [stdout]     |
[INFO] [stdout]   9 + use rayon::iter::Flatten;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `Flatten`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 222 -     model.add_layer(crate::nn::Flatten::new(1, -1));
[INFO] [stdout] 222 +     model.add_layer(Flatten::new(1, -1));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NyxError` in the crate root
[INFO] [stdout]    --> src/performance.rs:143:77
[INFO] [stdout]     |
[INFO] [stdout] 143 |     pub fn matmul_parallel(a: &Tensor, b: &Tensor) -> Result<Tensor, crate::NyxError> {
[INFO] [stdout]     |                                                                             ^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NyxError` in the crate root
[INFO] [stdout]    --> src/performance.rs:200:87
[INFO] [stdout]     |
[INFO] [stdout] 200 |     pub fn matmul_add(a: &Tensor, b: &Tensor, bias: &Tensor) -> Result<Tensor, crate::NyxError> {
[INFO] [stdout]     |                                                                                       ^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `NyxError` in the crate root
[INFO] [stdout]    --> src/performance.rs:206:105
[INFO] [stdout]     |
[INFO] [stdout] 206 |     pub fn conv2d_relu(input: &Tensor, weight: &Tensor, bias: Option<&Tensor>) -> Result<Tensor, crate::NyxError> {
[INFO] [stdout]     |                                                                                                         ^^^^^^^^ not found in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/performance.rs:281:39
[INFO] [stdout]     |
[INFO] [stdout] 281 |         start_times: std::sync::Mutex<HashMap<String, Instant>>,
[INFO] [stdout]     |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/performance.rs:282:40
[INFO] [stdout]     |
[INFO] [stdout] 282 |         measurements: std::sync::Mutex<HashMap<String, Vec<Duration>>>,
[INFO] [stdout]     |                                        ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]    --> src/performance.rs:288:52
[INFO] [stdout]     |
[INFO] [stdout] 288 |                 start_times: std::sync::Mutex::new(HashMap::new()),
[INFO] [stdout]     |                                                    ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap`
[INFO] [stdout]    --> src/performance.rs:289:53
[INFO] [stdout]     |
[INFO] [stdout] 289 |                 measurements: std::sync::Mutex::new(HashMap::new()),
[INFO] [stdout]     |                                                     ^^^^^^^ use of undeclared type `HashMap`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope
[INFO] [stdout]    --> src/performance.rs:323:39
[INFO] [stdout]     |
[INFO] [stdout] 323 |         pub fn measurements(&self) -> HashMap<String, Vec<Duration>> {
[INFO] [stdout]     |                                       ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::collections::HashMap;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/performance.rs:335:44
[INFO] [stdout]     |
[INFO] [stdout] 335 |     static PROFILER: once_cell::sync::Lazy<Arc<Profiler>> =
[INFO] [stdout]     |                                            ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arc`
[INFO] [stdout]    --> src/performance.rs:336:39
[INFO] [stdout]     |
[INFO] [stdout] 336 |         once_cell::sync::Lazy::new(|| Arc::new(Profiler::new()));
[INFO] [stdout]     |                                       ^^^ use of undeclared type `Arc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Arc` in this scope
[INFO] [stdout]    --> src/performance.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |     pub fn profiler() -> &'static Arc<Profiler> {
[INFO] [stdout]     |                                   ^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use crate::performance::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 277 +     use std::sync::Arc;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::ModelConfig`
[INFO] [stdout]  --> src/models/pretrained.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use super::ModelConfig;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/models/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rayon::prelude::*`
[INFO] [stdout]    --> src/performance.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 112 |     use rayon::prelude::*;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nyxmind` (lib test) due to 67 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dirs`
[INFO] [stdout]    --> src/models/zoo.rs:168:21
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let cache_dir = dirs::cache_dir()
[INFO] [stdout]     |                     ^^^^ use of unresolved module or unlinked crate `dirs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0761.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nyxmind` (lib) due to 64 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "bbdd2bec7436473ed30e3994d73b179517a602fd0cd2e14c1aac011115798bb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbdd2bec7436473ed30e3994d73b179517a602fd0cd2e14c1aac011115798bb7", kill_on_drop: false }`
[INFO] [stdout] bbdd2bec7436473ed30e3994d73b179517a602fd0cd2e14c1aac011115798bb7
