[INFO] cloning repository https://github.com/bananaofhappiness/ml_uni_homework_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bananaofhappiness/ml_uni_homework_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbananaofhappiness%2Fml_uni_homework_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbananaofhappiness%2Fml_uni_homework_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a73c8c62219717a6565ba10316b8b7876dacc43d [INFO] checking bananaofhappiness/ml_uni_homework_rust against master#2c0f4860cc86e2354a55ea04e738848168435c90 for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbananaofhappiness%2Fml_uni_homework_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bananaofhappiness/ml_uni_homework_rust [INFO] finished tweaking git repo https://github.com/bananaofhappiness/ml_uni_homework_rust [INFO] tweaked toml for git repo https://github.com/bananaofhappiness/ml_uni_homework_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bananaofhappiness/ml_uni_homework_rust on toolchain 2c0f4860cc86e2354a55ea04e738848168435c90 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bananaofhappiness/ml_uni_homework_rust 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" "+2c0f4860cc86e2354a55ea04e738848168435c90" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stacker v0.1.19 [INFO] [stderr] Downloaded array-init-cursor v0.2.0 [INFO] [stderr] Downloaded polars-arrow-format v0.1.0 [INFO] [stderr] Downloaded polars-utils v0.46.0 [INFO] [stderr] Downloaded streaming-decompression v0.1.2 [INFO] [stderr] Downloaded recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Downloaded polars-time v0.46.0 [INFO] [stderr] Downloaded now v0.1.3 [INFO] [stderr] Downloaded strength_reduce v0.2.4 [INFO] [stderr] Downloaded atoi_simd v0.16.0 [INFO] [stderr] Downloaded polars-schema v0.46.0 [INFO] [stderr] Downloaded unicode-reverse v1.0.9 [INFO] [stderr] Downloaded polars-parquet-format v0.1.0 [INFO] [stderr] Downloaded polars-expr v0.46.0 [INFO] [stderr] Downloaded polars-lazy v0.46.0 [INFO] [stderr] Downloaded polars-pipe v0.46.0 [INFO] [stderr] Downloaded polars v0.46.0 [INFO] [stderr] Downloaded polars-stream v0.46.0 [INFO] [stderr] Downloaded polars-io v0.46.0 [INFO] [stderr] Downloaded polars-parquet v0.46.0 [INFO] [stderr] Downloaded polars-ops v0.46.0 [INFO] [stderr] Downloaded polars-sql v0.46.0 [INFO] [stderr] Downloaded polars-compute v0.46.0 [INFO] [stderr] Downloaded polars-mem-engine v0.46.0 [INFO] [stderr] Downloaded sqlparser v0.53.0 [INFO] [stderr] Downloaded argminmax v0.6.2 [INFO] [stderr] Downloaded polars-plan v0.46.0 [INFO] [stderr] Downloaded polars-arrow v0.46.0 [INFO] [stderr] Downloaded fast-float2 v0.2.3 [INFO] [stderr] Downloaded polars-row v0.46.0 [INFO] [stderr] Downloaded chrono-tz-build v0.4.0 [INFO] [stderr] Downloaded chrono-tz v0.10.1 [INFO] [stderr] Downloaded polars-core v0.46.0 [INFO] [stderr] Downloaded psm v0.1.25 [INFO] [stderr] Downloaded recursive v0.1.1 [INFO] [stderr] Downloaded planus v0.3.1 [INFO] [stderr] Downloaded polars-error v0.46.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f84c51db6eeac6a483f431308b6fda8b61490d87623b361e9ca3e88b8758391d [INFO] running `Command { std: "docker" "start" "-a" "f84c51db6eeac6a483f431308b6fda8b61490d87623b361e9ca3e88b8758391d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f84c51db6eeac6a483f431308b6fda8b61490d87623b361e9ca3e88b8758391d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84c51db6eeac6a483f431308b6fda8b61490d87623b361e9ca3e88b8758391d", kill_on_drop: false }` [INFO] [stdout] f84c51db6eeac6a483f431308b6fda8b61490d87623b361e9ca3e88b8758391d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+2c0f4860cc86e2354a55ea04e738848168435c90" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a85e9a823ca9d7c89cffc9ccffaeee597f45dbec4ae703d27dbf66851f87d1e [INFO] running `Command { std: "docker" "start" "-a" "7a85e9a823ca9d7c89cffc9ccffaeee597f45dbec4ae703d27dbf66851f87d1e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking array-init-cursor v0.2.0 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling polars-utils v0.46.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking planus v0.3.1 [INFO] [stderr] Checking raw-cpuid v11.5.0 [INFO] [stderr] Compiling polars-schema v0.46.0 [INFO] [stderr] Compiling polars-arrow v0.46.0 [INFO] [stderr] Compiling polars-compute v0.46.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking ethnum v1.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking fast-float2 v0.2.3 [INFO] [stderr] Checking atoi_simd v0.16.0 [INFO] [stderr] Compiling polars-core v0.46.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling polars-ops v0.46.0 [INFO] [stderr] Checking xxhash-rust v0.8.15 [INFO] [stderr] Compiling polars-plan v0.46.0 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Compiling polars-lazy v0.46.0 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling polars v0.46.0 [INFO] [stderr] Checking polars-parquet-format v0.1.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking streaming-decompression v0.1.2 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking argminmax v0.6.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling psm v0.1.25 [INFO] [stderr] Compiling stacker v0.1.19 [INFO] [stderr] Checking comfy-table v7.1.4 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking now v0.1.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling chrono-tz-build v0.4.0 [INFO] [stderr] Compiling chrono-tz v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Checking recursive v0.1.1 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking polars-arrow-format v0.1.0 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking polars-error v0.46.0 [INFO] [stderr] Checking polars-row v0.46.0 [INFO] [stderr] Checking polars-parquet v0.46.0 [INFO] [stderr] Checking polars-time v0.46.0 [INFO] [stderr] Checking polars-io v0.46.0 [INFO] [stderr] Checking polars-expr v0.46.0 [INFO] [stderr] Checking polars-mem-engine v0.46.0 [INFO] [stderr] Checking ml_uni_homework_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArrayBase`, `Dim`, and `OwnedRepr` [INFO] [stdout] --> HW01/ndarray/ndarray_task_3.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{array, Array, Array1, ArrayBase, Dim, OwnedRepr}; [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: `num::Num` [INFO] [stdout] --> HW01/ndarray/ndarray_task_3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num::Num; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> HW01/ndarray/ndarray_task_5.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{array, Array, Array2}; [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: `ArrayBase`, `Dim`, and `OwnedRepr` [INFO] [stdout] --> HW01/ndarray/ndarray_task_3.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{array, Array, Array1, ArrayBase, Dim, OwnedRepr}; [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: `num::Num` [INFO] [stdout] --> HW01/ndarray/ndarray_task_3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num::Num; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Array` [INFO] [stdout] --> HW01/ndarray/ndarray_task_1.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{array, Array, Array1}; [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: `Array3`, `array`, and `stack` [INFO] [stdout] --> HW01/ndarray/ndarray_task_4.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{array, concatenate, stack, Array2, Array3, Axis}; [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: `array` [INFO] [stdout] --> HW01/ndarray/ndarray_task_2.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{array, s, Array1}; [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` and `array` [INFO] [stdout] --> HW01/ndarray/ndarray_task_5.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{array, Array, Array2}; [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 `change_array` is never used [INFO] [stdout] --> HW01/ndarray/ndarray_task_2.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn change_array(mut arr: Array1, num: T) -> Array1 [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 `block_matrix` is never used [INFO] [stdout] --> HW01/ndarray/ndarray_task_4.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn block_matrix(block: Array2) -> Array2 [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 `diag_prod` is never used [INFO] [stdout] --> HW01/ndarray/ndarray_task_5.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn diag_prod(matrix: Array2) -> i32 { [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 imports: `Array` and `array` [INFO] [stdout] --> HW01/ndarray/ndarray_task_1.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{array, Array, Array1}; [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: `fmt::Debug` [INFO] [stdout] --> HW01/ndarray/ndarray_task_6.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug}; [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: `array` [INFO] [stdout] --> HW01/ndarray/ndarray_task_6.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::{array, Array2, Axis}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromPrimitive` and `Num` [INFO] [stdout] --> HW01/ndarray/ndarray_task_6.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use num::{signum, Float, FromPrimitive, Num}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array3` and `stack` [INFO] [stdout] --> HW01/ndarray/ndarray_task_4.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{array, concatenate, stack, Array2, Array3, Axis}; [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 `result_mark` is never used [INFO] [stdout] --> HW01/ndarray/ndarray_task_1.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn result_mark(weights: Array1, marks: Array1) -> i32 { [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 import: `num::Num` [INFO] [stdout] --> HW01/ndarray/ndarray_task_8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num::Num; [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: `Array1`, `Axis`, and `stack` [INFO] [stdout] --> HW01/ndarray/ndarray_task_9.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{stack, Array1, Array2, Axis}; [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 `construct_matrix` is never used [INFO] [stdout] --> HW01/ndarray/ndarray_task_9.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn construct_matrix(m: i32, a: i32, b: i32) -> Array2 { [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 import: `Float` [INFO] [stdout] --> HW01/ndarray/ndarray_task_6.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use num::{signum, Float, FromPrimitive, Num}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::Num` [INFO] [stdout] --> HW01/ndarray/ndarray_task_8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num::Num; [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: `df` [INFO] [stdout] --> HW01/polars/test.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | let df = df.lazy() [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_df` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> HW01/ndarray/ndarray_task_6.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn normalize(array: &mut Array2) { [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 import: `Num` [INFO] [stdout] --> HW01/ndarray/ndarray_task_10.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use num::{integer::Roots, Float, Num}; [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: `num::Num` [INFO] [stdout] --> HW01/ndarray/ndarray_task_7.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num::Num; [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: `num::Num` [INFO] [stdout] --> HW01/ndarray/ndarray_task_7.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num::Num; [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: `integer::Roots` [INFO] [stdout] --> HW01/ndarray/ndarray_task_10.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use num::{integer::Roots, Float, Num}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> HW01/ndarray/ndarray_task_10.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use num::{integer::Roots, Float, Num}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cosine_similarity` is never used [INFO] [stdout] --> HW01/ndarray/ndarray_task_10.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn cosine_similarity(vec1: Array1, vec2: Array1) -> f64 [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 import: `fmt::Debug` [INFO] [stdout] --> HW01/ndarray/ndarray_task_6.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Debug}; [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: `FromPrimitive` and `Num` [INFO] [stdout] --> HW01/ndarray/ndarray_task_6.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use num::{signum, Float, FromPrimitive, Num}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `antiderivative` is never used [INFO] [stdout] --> HW01/ndarray/ndarray_task_7.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn antiderivative(coefs: &Array1) -> Array1 { [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 imports: `Array1`, `Axis`, and `stack` [INFO] [stdout] --> HW01/ndarray/ndarray_task_9.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{stack, Array1, Array2, Axis}; [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: `Num` [INFO] [stdout] --> HW01/ndarray/ndarray_task_10.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | use num::{integer::Roots, Float, Num}; [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: `Float` [INFO] [stdout] --> HW01/ndarray/ndarray_task_6.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use num::{signum, Float, FromPrimitive, Num}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `integer::Roots` [INFO] [stdout] --> HW01/ndarray/ndarray_task_10.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use num::{integer::Roots, Float, Num}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Float` [INFO] [stdout] --> HW01/ndarray/ndarray_task_10.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use num::{integer::Roots, Float, Num}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `df` [INFO] [stdout] --> HW01/polars/test.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | let df = df.lazy() [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_df` [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 1m 04s [INFO] running `Command { std: "docker" "inspect" "7a85e9a823ca9d7c89cffc9ccffaeee597f45dbec4ae703d27dbf66851f87d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a85e9a823ca9d7c89cffc9ccffaeee597f45dbec4ae703d27dbf66851f87d1e", kill_on_drop: false }` [INFO] [stdout] 7a85e9a823ca9d7c89cffc9ccffaeee597f45dbec4ae703d27dbf66851f87d1e