[INFO] cloning repository https://github.com/fmeriaux/nrn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fmeriaux/nrn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmeriaux%2Fnrn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmeriaux%2Fnrn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 166e138ba861d78ed531d2611615379255371b32 [INFO] testing fmeriaux/nrn against beta-2026-04-21 for beta-1.96-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffmeriaux%2Fnrn" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fmeriaux/nrn [INFO] finished tweaking git repo https://github.com/fmeriaux/nrn [INFO] tweaked toml for git repo https://github.com/fmeriaux/nrn written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fmeriaux/nrn on toolchain beta-2026-04-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fmeriaux/nrn 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6f9a68079e60d789ee7c332c2936f12499bcac78509650d8d93d3e9369f0b71 [INFO] running `Command { std: "docker" "start" "-a" "e6f9a68079e60d789ee7c332c2936f12499bcac78509650d8d93d3e9369f0b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6f9a68079e60d789ee7c332c2936f12499bcac78509650d8d93d3e9369f0b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6f9a68079e60d789ee7c332c2936f12499bcac78509650d8d93d3e9369f0b71", kill_on_drop: false }` [INFO] [stdout] e6f9a68079e60d789ee7c332c2936f12499bcac78509650d8d93d3e9369f0b71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75ae919f173591f1594688b80b14750dabb7491ef3cd98fc3f591fab87e33864 [INFO] running `Command { std: "docker" "start" "-a" "75ae919f173591f1594688b80b14750dabb7491ef3cd98fc3f591fab87e33864", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling pathfinder_simd v0.5.5 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling font-kit v0.14.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling hdf5-metno-types v0.10.1 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling pxfm v0.1.24 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pathfinder_geometry v0.5.1 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling hdf5-metno v0.10.1 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling moxcms v0.7.5 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling console v0.16.1 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling unit-prefix v0.5.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling indicatif v0.18.0 [INFO] [stderr] Compiling plotters-bitmap v0.3.7 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling hdf5-metno-sys v0.10.1 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling hdf5-metno-derive v0.9.2 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling ndarray-rand v0.15.0 [INFO] [stderr] Compiling nrn v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling nrn-cli v0.2.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "75ae919f173591f1594688b80b14750dabb7491ef3cd98fc3f591fab87e33864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ae919f173591f1594688b80b14750dabb7491ef3cd98fc3f591fab87e33864", kill_on_drop: false }` [INFO] [stdout] 75ae919f173591f1594688b80b14750dabb7491ef3cd98fc3f591fab87e33864 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d015408402f11dedfca4555ad2e0b867becce7805252a39910a45a3cc49d73e [INFO] running `Command { std: "docker" "start" "-a" "7d015408402f11dedfca4555ad2e0b867becce7805252a39910a45a3cc49d73e", kill_on_drop: false }` [INFO] [stderr] Compiling nrn v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling nrn-cli v0.2.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "7d015408402f11dedfca4555ad2e0b867becce7805252a39910a45a3cc49d73e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d015408402f11dedfca4555ad2e0b867becce7805252a39910a45a3cc49d73e", kill_on_drop: false }` [INFO] [stdout] 7d015408402f11dedfca4555ad2e0b867becce7805252a39910a45a3cc49d73e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d09fd73a069b755a06126f85d67e02112471e3f095e55e02d3400343198c3b05 [INFO] running `Command { std: "docker" "start" "-a" "d09fd73a069b755a06126f85d67e02112471e3f095e55e02d3400343198c3b05", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nrn-2489b0d36ca8f8c3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/nrn-10ecde54f6883279) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests nrn [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test core/src/data/preprocessors/scalers/mod.rs - data::preprocessors::scalers::Scaler::apply_inplace (line 34) ... FAILED [INFO] [stdout] test core/src/analysis/boundary.rs - analysis::boundary::decision_boundary (line 46) ... FAILED [INFO] [stdout] test core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max (line 8) ... FAILED [INFO] [stdout] test core/src/data/preprocessors/scalers/mod.rs - data::preprocessors::scalers::Scaler::apply_single_inplace (line 50) ... FAILED [INFO] [stdout] test core/src/data/preprocessors/scalers/z_score.rs - data::preprocessors::scalers::z_score::ZScoreScaler::fit (line 44) ... FAILED [INFO] [stdout] test core/src/data/preprocessors/scalers/z_score.rs - data::preprocessors::scalers::z_score (line 11) ... FAILED [INFO] [stdout] test core/src/data/preprocessors/scalers/z_score.rs - data::preprocessors::scalers::z_score::ZScoreScaler::apply_inplace (line 84) ... FAILED [INFO] [stdout] test core/src/data/preprocessors/scalers/mod.rs - data::preprocessors::scalers::ScalerMethod (line 68) ... FAILED [INFO] [stdout] test core/src/nn/optimizers/mod.rs - nn::optimizers (line 9) ... FAILED [INFO] [stdout] test core/src/io/bytes.rs - io::bytes::secure_read (line 28) ... FAILED [INFO] [stdout] test core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max::MinMaxScaler::fit (line 63) ... FAILED [INFO] [stdout] test core/src/nn/schedulers/constant.rs - nn::schedulers::constant::ConstantScheduler (line 11) ... FAILED [INFO] [stdout] test core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max::MinMaxScaler::new (line 39) ... FAILED [INFO] [stdout] test core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max::MinMaxScaler::apply_inplace (line 106) ... FAILED [INFO] [stdout] test core/src/nn/activations/mod.rs - nn::activations::ActivationProvider::get_by_name (line 85) ... FAILED [INFO] [stdout] test core/src/data/dataset.rs - data::dataset::Dataset::to_model_dataset (line 128) ... FAILED [INFO] [stdout] test core/src/data/preprocessors/vectorizers/image.rs - data::preprocessors::vectorizers::image (line 12) ... FAILED [INFO] [stdout] test core/src/nn/schedulers/cosine_annealing.rs - nn::schedulers::cosine_annealing::CosineAnnealing (line 19) ... ok [INFO] [stdout] test core/src/nn/optimizers/sgd.rs - nn::optimizers::sgd (line 11) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- core/src/data/preprocessors/scalers/mod.rs - data::preprocessors::scalers::Scaler::apply_inplace (line 34) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `scaler` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | scaler.apply_inplace(data.view_mut()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/analysis/boundary.rs - analysis::boundary::decision_boundary (line 46) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `mins` in this scope [INFO] [stdout] --> core/src/analysis/boundary.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | let boundary_points = decision_boundary(&mins, &maxs, &model, 100, 0.0005); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `maxs` in this scope [INFO] [stdout] --> core/src/analysis/boundary.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | let boundary_points = decision_boundary(&mins, &maxs, &model, 100, 0.0005); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `model` in this scope [INFO] [stdout] --> core/src/analysis/boundary.rs:48:56 [INFO] [stdout] | [INFO] [stdout] 48 | let boundary_points = decision_boundary(&mins, &maxs, &model, 100, 0.0005); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mins` in this scope [INFO] [stdout] --> core/src/analysis/boundary.rs:51:42 [INFO] [stdout] | [INFO] [stdout] 51 | let boundary_points = decision_boundary(&mins, &maxs, &model, 50, 0.01); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `maxs` in this scope [INFO] [stdout] --> core/src/analysis/boundary.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | let boundary_points = decision_boundary(&mins, &maxs, &model, 50, 0.01); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `model` in this scope [INFO] [stdout] --> core/src/analysis/boundary.rs:51:56 [INFO] [stdout] | [INFO] [stdout] 51 | let boundary_points = decision_boundary(&mins, &maxs, &model, 50, 0.01); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decision_boundary` in this scope [INFO] [stdout] --> core/src/analysis/boundary.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let boundary_points = decision_boundary(&mins, &maxs, &model, 100, 0.0005); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decision_boundary` in this scope [INFO] [stdout] --> core/src/analysis/boundary.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | let boundary_points = decision_boundary(&mins, &maxs, &model, 50, 0.01); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max (line 8) stdout ---- [INFO] [stdout] error: cannot find macro `array` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/min_max.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | let data = array![[0.0, 128.0, 255.0], [64.0, 192.0, 32.0]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MinMaxScaler` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/min_max.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | let scaler = MinMaxScaler::default().fit(data.view()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MinMaxScaler` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/data/preprocessors/scalers/mod.rs - data::preprocessors::scalers::Scaler::apply_single_inplace (line 50) stdout ---- [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> core/src/data/preprocessors/scalers/mod.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(sample, /* expected scaled value */); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] | [INFO] [stdout] note: while trying to match meta-variable `$right:expr` [INFO] [stdout] --> /rustc/8489f1adbe1c8f8921cf18b9962cf565237a5489/library/core/src/macros/mod.rs:43:17 [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/data/preprocessors/scalers/z_score.rs - data::preprocessors::scalers::z_score::ZScoreScaler::fit (line 44) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/z_score.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | let scaler = ZScoreScaler::default().fit(data.view()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ZScoreScaler` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/z_score.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | let scaler = ZScoreScaler::default().fit(data.view()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ZScoreScaler` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/data/preprocessors/scalers/z_score.rs - data::preprocessors::scalers::z_score (line 11) stdout ---- [INFO] [stdout] error[E0433]: cannot find `data` in `crate` [INFO] [stdout] --> core/src/data/preprocessors/scalers/z_score.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::data::scalers::ZScoreScaler; [INFO] [stdout] | ^^^^ could not find `data` in the crate root [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/data/preprocessors/scalers/z_score.rs - data::preprocessors::scalers::z_score::ZScoreScaler::apply_inplace (line 84) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `scaler` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/z_score.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | scaler.apply_inplace(data.view_mut()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/z_score.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | scaler.apply_inplace(data.view_mut()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/data/preprocessors/scalers/mod.rs - data::preprocessors::scalers::ScalerMethod (line 68) stdout ---- [INFO] [stdout] error[E0433]: cannot find `data` in `crate` [INFO] [stdout] --> core/src/data/preprocessors/scalers/mod.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | use crate::data::scalers::{ScalerMethod, MinMaxScaler, Scaler}; [INFO] [stdout] | ^^^^ could not find `data` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/mod.rs:71:54 [INFO] [stdout] | [INFO] [stdout] 71 | let scaler = ScalerMethod::MinMax(MinMaxScaler::fit(&data)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/mod.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | let scaled = scaler.apply(&data); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/nn/optimizers/mod.rs - nn::optimizers (line 9) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::optimizers` [INFO] [stdout] --> core/src/nn/optimizers/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::optimizers::{Optimizer, StochasticGradientDescent}; [INFO] [stdout] | ^^^^^^^^^^ could not find `optimizers` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `layer` in this scope [INFO] [stdout] --> core/src/nn/optimizers/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | optimizer.update(&mut layer, &gradients); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gradients` in this scope [INFO] [stdout] --> core/src/nn/optimizers/mod.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | optimizer.update(&mut layer, &gradients); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/io/bytes.rs - io::bytes::secure_read (line 28) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `io` in this scope [INFO] [stdout] --> core/src/io/bytes.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | let data = io::bytes::secure_read(file_path)?; [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `io` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `io`, use `cargo add io` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max::MinMaxScaler::fit (line 63) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/min_max.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | let scaler = MinMaxScaler::default().fit(data.view()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `MinMaxScaler` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/min_max.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | let scaler = MinMaxScaler::default().fit(data.view()); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MinMaxScaler` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/nn/schedulers/constant.rs - nn::schedulers::constant::ConstantScheduler (line 11) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `your_crate` in this scope [INFO] [stdout] --> core/src/nn/schedulers/constant.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use your_crate::schedulers::{Scheduler, ConstantScheduler}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `your_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `your_crate`, use `cargo add your_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max::MinMaxScaler::new (line 39) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `MinMaxScaler` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/min_max.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | let scaler = MinMaxScaler::new((0.0, 1.0)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MinMaxScaler` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max::MinMaxScaler::apply_inplace (line 106) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `scaler` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/min_max.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | scaler.apply_inplace(data.view_mut()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> core/src/data/preprocessors/scalers/min_max.rs:107:22 [INFO] [stdout] | [INFO] [stdout] 107 | scaler.apply_inplace(data.view_mut()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/nn/activations/mod.rs - nn::activations::ActivationProvider::get_by_name (line 85) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ActivationProvider` in this scope [INFO] [stdout] --> core/src/nn/activations/mod.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(activation) = ActivationProvider::get_by_name("relu") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ActivationProvider` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/data/dataset.rs - data::dataset::Dataset::to_model_dataset (line 128) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `dataset` in this scope [INFO] [stdout] --> core/src/data/dataset.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | let (inputs, targets) = dataset.to_model_shape(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/data/preprocessors/vectorizers/image.rs - data::preprocessors::vectorizers::image (line 12) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImageEncoder` in this scope [INFO] [stdout] --> core/src/data/preprocessors/vectorizers/image.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 13 | let encoder = ImageEncoder { img_shape: (64, 64), grayscale: true }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `scaler` in this scope [INFO] [stdout] --> core/src/data/preprocessors/vectorizers/image.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let normalized = scaler.apply_inplace(&mut data)?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> core/src/data/preprocessors/vectorizers/image.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 12 | fn main() { #[allow(non_snake_case)] fn _doctest_main_core_src_data_preprocessors_vectorizers_image_rs_12_0() { [INFO] [stdout] | ------------------------------------------------------------------------ this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 13 | let encoder = ImageEncoder { img_shape: (64, 64), grayscale: true }; [INFO] [stdout] 14 | let img = std::fs::read("image.png")?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 12 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_core_src_data_preprocessors_vectorizers_image_rs_12_0() -> Result<(), Box> { [INFO] [stdout] 13 | let encoder = ImageEncoder { img_shape: (64, 64), grayscale: true }; [INFO] [stdout] ... [INFO] [stdout] 16 | let normalized = scaler.apply_inplace(&mut data)?; [INFO] [stdout] 17 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- core/src/nn/optimizers/sgd.rs - nn::optimizers::sgd (line 11) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `crate::optimizers` [INFO] [stdout] --> core/src/nn/optimizers/sgd.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::optimizers::{Optimizer, StochasticGradientDescent}; [INFO] [stdout] | ^^^^^^^^^^ could not find `optimizers` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `layer` in this scope [INFO] [stdout] --> core/src/nn/optimizers/sgd.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | optimizer.update(&mut layer, &gradients); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `gradients` in this scope [INFO] [stdout] --> core/src/nn/optimizers/sgd.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | optimizer.update(&mut layer, &gradients); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] core/src/analysis/boundary.rs - analysis::boundary::decision_boundary (line 46) [INFO] [stdout] core/src/data/dataset.rs - data::dataset::Dataset::to_model_dataset (line 128) [INFO] [stdout] core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max (line 8) [INFO] [stdout] core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max::MinMaxScaler::apply_inplace (line 106) [INFO] [stdout] core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max::MinMaxScaler::fit (line 63) [INFO] [stdout] core/src/data/preprocessors/scalers/min_max.rs - data::preprocessors::scalers::min_max::MinMaxScaler::new (line 39) [INFO] [stdout] core/src/data/preprocessors/scalers/mod.rs - data::preprocessors::scalers::Scaler::apply_inplace (line 34) [INFO] [stdout] core/src/data/preprocessors/scalers/mod.rs - data::preprocessors::scalers::Scaler::apply_single_inplace (line 50) [INFO] [stdout] core/src/data/preprocessors/scalers/mod.rs - data::preprocessors::scalers::ScalerMethod (line 68) [INFO] [stdout] core/src/data/preprocessors/scalers/z_score.rs - data::preprocessors::scalers::z_score (line 11) [INFO] [stdout] core/src/data/preprocessors/scalers/z_score.rs - data::preprocessors::scalers::z_score::ZScoreScaler::apply_inplace (line 84) [INFO] [stdout] core/src/data/preprocessors/scalers/z_score.rs - data::preprocessors::scalers::z_score::ZScoreScaler::fit (line 44) [INFO] [stdout] core/src/data/preprocessors/vectorizers/image.rs - data::preprocessors::vectorizers::image (line 12) [INFO] [stdout] core/src/io/bytes.rs - io::bytes::secure_read (line 28) [INFO] [stdout] core/src/nn/activations/mod.rs - nn::activations::ActivationProvider::get_by_name (line 85) [INFO] [stdout] core/src/nn/optimizers/mod.rs - nn::optimizers (line 9) [INFO] [stdout] core/src/nn/optimizers/sgd.rs - nn::optimizers::sgd (line 11) [INFO] [stdout] core/src/nn/schedulers/constant.rs - nn::schedulers::constant::ConstantScheduler (line 11) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 18 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.57s; merged doctests compilation took 0.07s [INFO] [stderr] error: doctest failed, to rerun pass `-p nrn --doc` [INFO] running `Command { std: "docker" "inspect" "d09fd73a069b755a06126f85d67e02112471e3f095e55e02d3400343198c3b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d09fd73a069b755a06126f85d67e02112471e3f095e55e02d3400343198c3b05", kill_on_drop: false }` [INFO] [stdout] d09fd73a069b755a06126f85d67e02112471e3f095e55e02d3400343198c3b05