[INFO] fetching crate numrs-core 0.1.19... [INFO] checking numrs-core-0.1.19 against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146 [INFO] extracting crate numrs-core 0.1.19 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate numrs-core 0.1.19 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate numrs-core 0.1.19 [INFO] tweaked toml for crates.io crate numrs-core 0.1.19 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate numrs-core 0.1.19 on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate numrs-core 0.1.19 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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cblas-sys v0.2.0 [INFO] [stderr] Downloaded cblas v0.5.0 [INFO] [stderr] Downloaded oci-spec v0.6.7 [INFO] [stderr] Downloaded sysinfo v0.30.13 [INFO] [stderr] Downloaded blis-src v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b540f53ff4efa97a0b36d2bbed215c298920a09591b0c0d8e4166c80e54746f6 [INFO] running `Command { std: "docker" "start" "-a" "b540f53ff4efa97a0b36d2bbed215c298920a09591b0c0d8e4166c80e54746f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b540f53ff4efa97a0b36d2bbed215c298920a09591b0c0d8e4166c80e54746f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b540f53ff4efa97a0b36d2bbed215c298920a09591b0c0d8e4166c80e54746f6", kill_on_drop: false }` [INFO] [stdout] b540f53ff4efa97a0b36d2bbed215c298920a09591b0c0d8e4166c80e54746f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ceeebcdcbeb02f88d72a3860bd217375babff2dcfbb79e05cc3f88e77284d423 [INFO] running `Command { std: "docker" "start" "-a" "ceeebcdcbeb02f88d72a3860bd217375babff2dcfbb79e05cc3f88e77284d423", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling naga v23.1.0 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Compiling intel-mkl-tool v0.8.1 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Compiling wgpu-hal v23.0.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking ash v0.38.0+1.3.281 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Checking khronos-egl v6.0.0 [INFO] [stderr] Checking wgpu-types v23.0.0 [INFO] [stderr] Compiling wgpu-core v23.0.1 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking glow v0.14.2 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling wgpu v23.0.1 [INFO] [stderr] Compiling numrs-core v0.1.19 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking blas-sys v0.7.1 [INFO] [stderr] Checking cblas-sys v0.2.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking cblas v0.5.0 [INFO] [stderr] Checking blas v0.20.0 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking zerocopy v0.8.31 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling oci-spec v0.6.7 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling ocipkg v0.2.9 [INFO] [stderr] Compiling intel-mkl-src v0.8.1 [INFO] [stderr] warning: numrs-core@0.1.19: NumRs: x86_64 detected -> using intel-mkl-src (static, automatic) [INFO] [stderr] warning: numrs-core@0.1.19: NumRs: detectadas capacidades -> avx2=true, fma=true, mkl=true, blis=false, accelerate=false, blas_any=true, gpu=true, wasm=false, wasm_simd=false, align32=true [INFO] [stderr] warning: numrs-core@0.1.19: NumRs: selección por defecto de métodos (prioridad): [INFO] [stderr] warning: numrs-core@0.1.19: SUMA: sum_blas [INFO] [stderr] warning: numrs-core@0.1.19: ELEM: elementwise_gpu [INFO] [stderr] warning: numrs-core@0.1.19: MATMUL: matmul_mkl [INFO] [stdout] warning: unused imports: `OnnxAttribute` and `OnnxNode` [INFO] [stdout] --> examples/onnx_model_demo.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | use numrs::llo::{OnnxModel, TrainingState, OnnxNode, OnnxTensor, OnnxAttribute}; [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] --> examples/onnx_model_demo.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DType` [INFO] [stdout] --> examples/type_promotion_demo.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use numrs::{Array, DType, ops}; [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 imports: `ReLU` and `Sequential` [INFO] [stdout] --> examples/analyze_overhead.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use numrs::{Array, Tensor, Linear, Sequential, ReLU, Module}; [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 imports: `Dataset`, `MSELoss`, and `TrainerBuilder` [INFO] [stdout] --> examples/analyze_overhead.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use numrs::{TrainerBuilder, Dataset, MSELoss}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> tests/backend_scalar.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let a = Array::new(vec![8], vec![2.0, 4.0, 4.0, 4.0, 5.0, 5.0, 7.0, 9.0]); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AdaptiveLookupTable` [INFO] [stdout] --> tests/microbench_execution.rs:2:52 [INFO] [stdout] | [INFO] [stdout] 2 | use numrs::backend::microbench::{benchmark_matmul, AdaptiveLookupTable, BenchConfig}; [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 imports: `Array`, `Module`, `Sigmoid`, and `Tensor` [INFO] [stdout] --> examples/training_api_demo.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use numrs::{Array, Tensor, Module, Linear, Sequential, ReLU, Sigmoid}; [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 imports: `CrossEntropyLoss` and `Trainer` [INFO] [stdout] --> examples/training_api_demo.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use numrs::{Trainer, TrainerBuilder, Dataset, MSELoss, CrossEntropyLoss}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h1_relu` [INFO] [stdout] --> examples/onnx_numrs_integration.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let h1_relu = h1.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_h1_relu` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transposed` [INFO] [stdout] --> examples/ml_demo.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let transposed = ops::transpose(&matrix, None)?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transposed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> examples/onnx_numrs_integration.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let table = get_dispatch_table(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z1` [INFO] [stdout] --> examples/onnx_numrs_integration.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let z1 = matmul(&train_x, &w1)?; // MKL/BLAS [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_z1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array` and `Tensor` [INFO] [stdout] --> examples/end_to_end_onnx_create.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use numrs::{Array, Tensor, Linear, Sequential, ReLU}; [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: `numrs::array::Array` [INFO] [stdout] --> tests/print_backend_selection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use numrs::array::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_binary_graph` is never used [INFO] [stdout] --> tests/print_backend_selection.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn make_binary_graph(op: HloOp, left_shape: Vec, right_shape: Vec) -> IRGraph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `backend_name` is never used [INFO] [stdout] --> tests/print_backend_selection.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn backend_name(be: &numrs::backend::SelectedBackend) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w_grad` [INFO] [stdout] --> examples/autograd_demo.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | if let (Some(w_grad), Some(b_grad)) = (loss.gradient(), loss.gradient()) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_w_grad` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_grad` [INFO] [stdout] --> examples/autograd_demo.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | if let (Some(w_grad), Some(b_grad)) = (loss.gradient(), loss.gradient()) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_grad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__test_legacy_selection` [INFO] [stdout] --> tests/kernel_selection.rs:125:7 [INFO] [stdout] | [INFO] [stdout] 125 | #[cfg(feature = "__test_legacy_selection")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blas`, `blas-backend`, `blis-src`, `cblas`, `default`, `disabled-blas`, `intel-mkl-src`, `native-gpu`, `parallel`, `pollster`, `rayon`, `wasm-simd`, `webgl`, `webgpu`, and `wgpu` [INFO] [stdout] = help: consider adding `__test_legacy_selection` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Module` [INFO] [stdout] --> examples/end_to_end_demo.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use numrs::{Array, Tensor, Module, Linear, Sequential, ReLU}; [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 imports: `load_onnx` and `save_onnx` [INFO] [stdout] --> examples/end_to_end_demo.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use numrs::ops::{save_onnx, load_onnx}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mkl` [INFO] [stdout] --> examples/verify_static_blas.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | #[cfg(all(feature = "mkl", any(target_arch = "x86_64", target_arch = "x86")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blas`, `blas-backend`, `blis-src`, `cblas`, `default`, `disabled-blas`, `intel-mkl-src`, `native-gpu`, `parallel`, `pollster`, `rayon`, `wasm-simd`, `webgl`, `webgpu`, and `wgpu` [INFO] [stdout] = help: consider adding `mkl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `blis` [INFO] [stdout] --> examples/verify_static_blas.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | #[cfg(feature = "blis")] [INFO] [stdout] | ^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"blas"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blas`, `blas-backend`, `blis-src`, `cblas`, `default`, `disabled-blas`, `intel-mkl-src`, `native-gpu`, `parallel`, `pollster`, `rayon`, `wasm-simd`, `webgl`, `webgpu`, and `wgpu` [INFO] [stdout] = help: consider adding `blis` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mkl` [INFO] [stdout] --> examples/matmul_perf_analysis.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(feature = "mkl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blas`, `blas-backend`, `blis-src`, `cblas`, `default`, `disabled-blas`, `intel-mkl-src`, `native-gpu`, `parallel`, `pollster`, `rayon`, `wasm-simd`, `webgl`, `webgpu`, and `wgpu` [INFO] [stdout] = help: consider adding `mkl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mkl` [INFO] [stdout] --> examples/matmul_perf_analysis.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | #[cfg(not(feature = "mkl"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blas`, `blas-backend`, `blis-src`, `cblas`, `default`, `disabled-blas`, `intel-mkl-src`, `native-gpu`, `parallel`, `pollster`, `rayon`, `wasm-simd`, `webgl`, `webgpu`, and `wgpu` [INFO] [stdout] = help: consider adding `mkl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mkl` [INFO] [stdout] --> examples/matmul_perf_analysis.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | #[cfg(feature = "mkl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blas`, `blas-backend`, `blis-src`, `cblas`, `default`, `disabled-blas`, `intel-mkl-src`, `native-gpu`, `parallel`, `pollster`, `rayon`, `wasm-simd`, `webgl`, `webgpu`, and `wgpu` [INFO] [stdout] = help: consider adding `mkl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> examples/end_to_end_demo.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let input = Tensor::new(Array::new(vec![1, 2], input_vals.clone()), false); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `example_input` [INFO] [stdout] --> examples/end_to_end_demo.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let example_input = Array::new(vec![1, 2], vec![0.5, 0.5]); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_example_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `add`, `log`, `mean`, `mul`, `neg`, and `sub` [INFO] [stdout] --> examples/fraud_detection.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use numrs::ops::{add, log, mean, mul, neg, sub}; [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 variable: `x_train` [INFO] [stdout] --> examples/temperature_model.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let x_train = Array::new(vec![n_samples, 1], fahrenheit_values.clone()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_train` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_tensor_3d` is never used [INFO] [stdout] --> benches/ops_bench.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn make_tensor_3d(d1: usize, d2: usize, d3: usize) -> Array { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/end_to_end_onnx_complex_import.rs:101:10 [INFO] [stdout] | [INFO] [stdout] 101 | for (i, (sensors, label_idx)) in test_data.iter().zip(test_labels.iter()).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tensor` [INFO] [stdout] --> examples/timeseries_cnn_inference.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use numrs::{Array, Tensor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mkl` [INFO] [stdout] --> tests/static_blas_linking.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | #[cfg(all(feature = "mkl", any(target_arch = "x86_64", target_arch = "x86")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blas`, `blas-backend`, `blis-src`, `cblas`, `default`, `disabled-blas`, `intel-mkl-src`, `native-gpu`, `parallel`, `pollster`, `rayon`, `wasm-simd`, `webgl`, `webgpu`, and `wgpu` [INFO] [stdout] = help: consider adding `mkl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `blis` [INFO] [stdout] --> tests/static_blas_linking.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(feature = "blis")] [INFO] [stdout] | ^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"blas"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blas`, `blas-backend`, `blis-src`, `cblas`, `default`, `disabled-blas`, `intel-mkl-src`, `native-gpu`, `parallel`, `pollster`, `rayon`, `wasm-simd`, `webgl`, `webgpu`, and `wgpu` [INFO] [stdout] = help: consider adding `blis` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `mkl` [INFO] [stdout] --> tests/static_blas_linking.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(any(target_os = "macos", feature = "mkl", feature = "blis"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blas`, `blas-backend`, `blis-src`, `cblas`, `default`, `disabled-blas`, `intel-mkl-src`, `native-gpu`, `parallel`, `pollster`, `rayon`, `wasm-simd`, `webgl`, `webgpu`, and `wgpu` [INFO] [stdout] = help: consider adding `mkl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `blis` [INFO] [stdout] --> tests/static_blas_linking.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(any(target_os = "macos", feature = "mkl", feature = "blis"))] [INFO] [stdout] | ^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"blas"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `blas`, `blas-backend`, `blis-src`, `cblas`, `default`, `disabled-blas`, `intel-mkl-src`, `native-gpu`, `parallel`, `pollster`, `rayon`, `wasm-simd`, `webgl`, `webgpu`, and `wgpu` [INFO] [stdout] = help: consider adding `blis` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `correct` is assigned to, but never used [INFO] [stdout] --> examples/end_to_end_onnx_complex.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | let mut correct = 0; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_correct` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> examples/end_to_end_onnx_complex.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | for (inputs, targets) in test_x.iter().zip(test_y.iter()).take(10) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_targets` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `correct` is never read [INFO] [stdout] --> examples/end_to_end_onnx_complex.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | correct += 1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> examples/timeseries_forecast_onnx.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::f32::consts::PI; [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 variable: `bar` [INFO] [stdout] --> examples/timeseries_forecast_onnx.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let bar = "█".repeat(bar_len.min(10)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_bar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AdaGrad` [INFO] [stdout] --> examples/optimizers_demo.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use numrs::{AdaGrad, Adam, Array, Optimizer, RMSprop, Tensor, SGD}; [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: `LossFunction` [INFO] [stdout] --> examples/timeseries_cnn.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use numrs::autograd::{Linear, LossFunction, MSELoss, Module, ReLU, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `val` is never read [INFO] [stdout] --> examples/timeseries_cnn.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let mut val = 0.0; // Centered at 0 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/validate_models.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut model = Linear::new(1, 1)?; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `learning_rate` [INFO] [stdout] --> examples/validate_models.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let learning_rate = 0.01; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_learning_rate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_loss` is assigned to, but never used [INFO] [stdout] --> examples/validate_models.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | let mut total_loss = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_loss` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grad` [INFO] [stdout] --> examples/validate_models.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | let grad = Tensor::new(Array::new(vec![1, 1], vec![2.0 * error]), false); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grad` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_loss` is never read [INFO] [stdout] --> examples/validate_models.rs:189:17 [INFO] [stdout] | [INFO] [stdout] 189 | total_loss += error * error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `epoch` [INFO] [stdout] --> examples/validate_complex_model.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | for epoch in start_epoch..target_epoch { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_epoch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Tensor` [INFO] [stdout] --> examples/end_to_end_onnx_use.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | use numrs::{Array, Tensor}; [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: `numrs::llo::OnnxModel` [INFO] [stdout] --> examples/end_to_end_onnx_use.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use numrs::llo::OnnxModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_tensor` [INFO] [stdout] --> examples/end_to_end_onnx_use.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | let input_tensor = Array::new(vec![1, 4], input_vals.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_tensor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.25s [INFO] running `Command { std: "docker" "inspect" "ceeebcdcbeb02f88d72a3860bd217375babff2dcfbb79e05cc3f88e77284d423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceeebcdcbeb02f88d72a3860bd217375babff2dcfbb79e05cc3f88e77284d423", kill_on_drop: false }` [INFO] [stdout] ceeebcdcbeb02f88d72a3860bd217375babff2dcfbb79e05cc3f88e77284d423