[INFO] fetching crate scientific-cal 0.2.0... [INFO] testing scientific-cal-0.2.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate scientific-cal 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate scientific-cal 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate scientific-cal 0.2.0 [INFO] tweaked toml for crates.io crate scientific-cal 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scientific-cal 0.2.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate scientific-cal 0.2.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded matrixmultiply v0.3.10 [INFO] [stderr] Downloaded nalgebra-macros v0.2.2 [INFO] [stderr] Downloaded bytemuck v1.23.1 [INFO] [stderr] Downloaded ordered-float v5.0.0 [INFO] [stderr] Downloaded portable-atomic-util v0.2.4 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded statrs v0.18.0 [INFO] [stderr] Downloaded ndarray v0.16.1 [INFO] [stderr] Downloaded nalgebra v0.33.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b9d20ba837d279000bb414e9ae94729b676d72794a47b051745e3ed84c63069 [INFO] running `Command { std: "docker" "start" "-a" "0b9d20ba837d279000bb414e9ae94729b676d72794a47b051745e3ed84c63069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b9d20ba837d279000bb414e9ae94729b676d72794a47b051745e3ed84c63069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b9d20ba837d279000bb414e9ae94729b676d72794a47b051745e3ed84c63069", kill_on_drop: false }` [INFO] [stdout] 0b9d20ba837d279000bb414e9ae94729b676d72794a47b051745e3ed84c63069 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0272b18883e25abb00a377f778d9f4fe57264ec59ab651c678e835b6c51353cb [INFO] running `Command { std: "docker" "start" "-a" "0272b18883e25abb00a377f778d9f4fe57264ec59ab651c678e835b6c51353cb", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling statrs v0.18.0 [INFO] [stderr] Compiling scientific-cal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/filters/impls.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply_inplase(&self, data: &mut Vec) -> Result<(), FilterError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:16:68 [INFO] [stdout] | [INFO] [stdout] 16 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 27 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/smooth/impls.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/smooth/impls.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/smooth/impls.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/smooth/impls.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:44:68 [INFO] [stdout] | [INFO] [stdout] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/smooth/impls.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/smooth/impls.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:63:68 [INFO] [stdout] | [INFO] [stdout] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.22s [INFO] running `Command { std: "docker" "inspect" "0272b18883e25abb00a377f778d9f4fe57264ec59ab651c678e835b6c51353cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0272b18883e25abb00a377f778d9f4fe57264ec59ab651c678e835b6c51353cb", kill_on_drop: false }` [INFO] [stdout] 0272b18883e25abb00a377f778d9f4fe57264ec59ab651c678e835b6c51353cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 484b3598280f765f786e9f652f86ac0e3dddb969c055d5f132262df0d378a842 [INFO] running `Command { std: "docker" "start" "-a" "484b3598280f765f786e9f652f86ac0e3dddb969c055d5f132262df0d378a842", kill_on_drop: false }` [INFO] [stderr] Compiling scientific-cal v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/filters/impls.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply_inplase(&self, data: &mut Vec) -> Result<(), FilterError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:16:68 [INFO] [stdout] | [INFO] [stdout] 16 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 27 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/smooth/impls.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/smooth/impls.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/smooth/impls.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/smooth/impls.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:44:68 [INFO] [stdout] | [INFO] [stdout] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/smooth/impls.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/smooth/impls.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:63:68 [INFO] [stdout] | [INFO] [stdout] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ema`, `median`, `rma`, and `sma_inplase` [INFO] [stdout] --> tests/smoth_tests.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use scientific_cal::{smooth::{sma, ema, rma, sma_inplase, median}, ScientificError}; [INFO] [stdout] | ^^^ ^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/smoth_tests.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut raw_data: Vec = (0..fs as i32) [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: `data` [INFO] [stdout] --> src/filters/impls.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | fn apply_inplase(&self, data: &mut Vec) -> Result<(), FilterError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:16:68 [INFO] [stdout] | [INFO] [stdout] 16 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 27 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/smooth/impls.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/smooth/impls.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:30:68 [INFO] [stdout] | [INFO] [stdout] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:41:56 [INFO] [stdout] | [INFO] [stdout] 41 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/smooth/impls.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/smooth/impls.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:44:68 [INFO] [stdout] | [INFO] [stdout] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/smooth/impls.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/smooth/impls.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `precision` [INFO] [stdout] --> src/smooth/impls.rs:63:68 [INFO] [stdout] | [INFO] [stdout] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "484b3598280f765f786e9f652f86ac0e3dddb969c055d5f132262df0d378a842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "484b3598280f765f786e9f652f86ac0e3dddb969c055d5f132262df0d378a842", kill_on_drop: false }` [INFO] [stdout] 484b3598280f765f786e9f652f86ac0e3dddb969c055d5f132262df0d378a842 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8c5251b1158bb56b6ab0d3c1fbf4d13bc4054463cd1c01e0e4474f4b21720b0b [INFO] running `Command { std: "docker" "start" "-a" "8c5251b1158bb56b6ab0d3c1fbf4d13bc4054463cd1c01e0e4474f4b21720b0b", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/filters/impls.rs:28:29 [INFO] [stderr] | [INFO] [stderr] 28 | fn apply_inplase(&self, data: &mut Vec) -> Result<(), FilterError> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/smooth/impls.rs:11:56 [INFO] [stderr] | [INFO] [stderr] 11 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/smooth/impls.rs:16:68 [INFO] [stderr] | [INFO] [stderr] 16 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/smooth/impls.rs:27:56 [INFO] [stderr] | [INFO] [stderr] 27 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/smooth/impls.rs:30:29 [INFO] [stderr] | [INFO] [stderr] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_size` [INFO] [stderr] --> src/smooth/impls.rs:30:48 [INFO] [stderr] | [INFO] [stderr] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/smooth/impls.rs:30:68 [INFO] [stderr] | [INFO] [stderr] 30 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/smooth/impls.rs:41:56 [INFO] [stderr] | [INFO] [stderr] 41 | fn apply(&self, data: &Vec, window_size: usize, precision: Option) -> Result, SmoothError> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/smooth/impls.rs:44:29 [INFO] [stderr] | [INFO] [stderr] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_size` [INFO] [stderr] --> src/smooth/impls.rs:44:48 [INFO] [stderr] | [INFO] [stderr] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/smooth/impls.rs:44:68 [INFO] [stderr] | [INFO] [stderr] 44 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/smooth/impls.rs:63:29 [INFO] [stderr] | [INFO] [stderr] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_size` [INFO] [stderr] --> src/smooth/impls.rs:63:48 [INFO] [stderr] | [INFO] [stderr] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `precision` [INFO] [stderr] --> src/smooth/impls.rs:63:68 [INFO] [stderr] | [INFO] [stderr] 63 | fn apply_inplase(&self, data: &mut Vec, window_size: usize, precision: Option) -> Result<(), SmoothError> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_precision` [INFO] [stderr] [INFO] [stderr] warning: `scientific-cal` (lib) generated 14 warnings [INFO] [stderr] warning: `scientific-cal` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] warning: unused imports: `ema`, `median`, `rma`, and `sma_inplase` [INFO] [stderr] --> tests/smoth_tests.rs:3:36 [INFO] [stderr] | [INFO] [stderr] 3 | use scientific_cal::{smooth::{sma, ema, rma, sma_inplase, median}, ScientificError}; [INFO] [stderr] | ^^^ ^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/smoth_tests.rs:14:9 [INFO] [stderr] | [INFO] [stderr] 14 | let mut raw_data: Vec = (0..fs as i32) [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `scientific-cal` (test "smoth_tests") generated 2 warnings (run `cargo fix --test "smoth_tests"` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scientific_cal-ecccdc77ada6f180) [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 tests/filter_tests.rs (/opt/rustwide/target/debug/deps/filter_tests-e0e028cb71e01152) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test bessel_filter_test ... ok [INFO] [stdout] [INFO] [stderr] Running tests/smoth_tests.rs (/opt/rustwide/target/debug/deps/smoth_tests-0449f2ca65c9f7d0) [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/spectrum_test.rs (/opt/rustwide/target/debug/deps/spectrum_test-7233883201b34643) [INFO] [stdout] test move_ema_filter_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests scientific_cal [INFO] [stdout] test fft_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/filters/iir/iir.rs - filters::iir::iir::iir_filter (line 20) ... FAILED [INFO] [stdout] test src/filters/iir/buterworth/design.rs - filters::iir::buterworth::design::ButterWorthFilter (line 38) ... FAILED [INFO] [stdout] test src/filters/iir/cheby2/design.rs - filters::iir::cheby2::design::ChebyShevType2Filter (line 41) ... FAILED [INFO] [stdout] test src/filters/iir/bessel/design.rs - filters::iir::bessel::design::BesselFilter (line 40) ... FAILED [INFO] [stdout] test src/filters/iir/cheby1/design.rs - filters::iir::cheby1::design::ChebyShevType1Filter (line 41) ... FAILED [INFO] [stdout] test src/filters/fir/gauss/design.rs - filters::fir::gauss::design::Gauss1dFilter (line 40) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/filters/iir/iir.rs - filters::iir::iir::iir_filter (line 20) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `无` in this scope [INFO] [stdout] --> src/filters/iir/iir.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 3 | 无 [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] ---- src/filters/iir/buterworth/design.rs - filters::iir::buterworth::design::ButterWorthFilter (line 38) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `无` in this scope [INFO] [stdout] --> src/filters/iir/buterworth/design.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 3 | 无 [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] ---- src/filters/iir/cheby2/design.rs - filters::iir::cheby2::design::ChebyShevType2Filter (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `无` in this scope [INFO] [stdout] --> src/filters/iir/cheby2/design.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 3 | 无 [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] ---- src/filters/iir/bessel/design.rs - filters::iir::bessel::design::BesselFilter (line 40) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `无` in this scope [INFO] [stdout] --> src/filters/iir/bessel/design.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 3 | 无 [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] ---- src/filters/iir/cheby1/design.rs - filters::iir::cheby1::design::ChebyShevType1Filter (line 41) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `无` in this scope [INFO] [stdout] --> src/filters/iir/cheby1/design.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 3 | 无 [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] ---- src/filters/fir/gauss/design.rs - filters::fir::gauss::design::Gauss1dFilter (line 40) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `无` in this scope [INFO] [stdout] --> src/filters/fir/gauss/design.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 3 | 无 [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] [INFO] [stdout] failures: [INFO] [stdout] src/filters/fir/gauss/design.rs - filters::fir::gauss::design::Gauss1dFilter (line 40) [INFO] [stdout] src/filters/iir/bessel/design.rs - filters::iir::bessel::design::BesselFilter (line 40) [INFO] [stdout] src/filters/iir/buterworth/design.rs - filters::iir::buterworth::design::ButterWorthFilter (line 38) [INFO] [stdout] src/filters/iir/cheby1/design.rs - filters::iir::cheby1::design::ChebyShevType1Filter (line 41) [INFO] [stdout] src/filters/iir/cheby2/design.rs - filters::iir::cheby2::design::ChebyShevType2Filter (line 41) [INFO] [stdout] src/filters/iir/iir.rs - filters::iir::iir::iir_filter (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.55s; merged doctests compilation took 0.18s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8c5251b1158bb56b6ab0d3c1fbf4d13bc4054463cd1c01e0e4474f4b21720b0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c5251b1158bb56b6ab0d3c1fbf4d13bc4054463cd1c01e0e4474f4b21720b0b", kill_on_drop: false }` [INFO] [stdout] 8c5251b1158bb56b6ab0d3c1fbf4d13bc4054463cd1c01e0e4474f4b21720b0b