[INFO] fetching crate spc-rs 0.3.1... [INFO] testing spc-rs-0.3.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate spc-rs 0.3.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate spc-rs 0.3.1 [INFO] finished tweaking crates.io crate spc-rs 0.3.1 [INFO] tweaked toml for crates.io crate spc-rs 0.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spc-rs 0.3.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spc-rs 0.3.1 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed1c46dd2932bf4325cb58ecafaddb1bb22a9241026737bcb9efb0e858c7a9a5 [INFO] running `Command { std: "docker" "start" "-a" "ed1c46dd2932bf4325cb58ecafaddb1bb22a9241026737bcb9efb0e858c7a9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed1c46dd2932bf4325cb58ecafaddb1bb22a9241026737bcb9efb0e858c7a9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed1c46dd2932bf4325cb58ecafaddb1bb22a9241026737bcb9efb0e858c7a9a5", kill_on_drop: false }` [INFO] [stdout] ed1c46dd2932bf4325cb58ecafaddb1bb22a9241026737bcb9efb0e858c7a9a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa88358c30fbabb6fd2f9a97d009f6ad1353b1d3e7e78fc1a0e0f2eb678296c8 [INFO] running `Command { std: "docker" "start" "-a" "aa88358c30fbabb6fd2f9a97d009f6ad1353b1d3e7e78fc1a0e0f2eb678296c8", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling spc-rs v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [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_traits::Pow` [INFO] [stdout] --> src/statistics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::statistics::Statistics` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::statistics::Statistics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Float` [INFO] [stdout] --> src/attribute_stats.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::float::FloatCore` [INFO] [stdout] --> src/statistics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::float::FloatCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/statistics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/group_stats.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | ... for (offset, &value) in window.iter().enumerate() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 179 | for (offset, &_value) in window.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ACC` [INFO] [stdout] | [INFO] [stdout] 179 - for (offset, &value) in window.iter().enumerate() { [INFO] [stdout] 179 + for (offset, &ACC) in window.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A2` is never used [INFO] [stdout] --> src/moving_stats.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const A2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cl`, `ucl`, `lcl`, `sub_group_size`, and `all_data` are never read [INFO] [stdout] --> src/moving_stats.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MovingStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 29 | cl: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | ucl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | lcl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | sub_group_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | range_span_size: usize, [INFO] [stdout] 37 | all_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovingStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const d2: [f64; 26] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 8 - const d2: [f64; 26] = [ [INFO] [stdout] 8 + const D2: [f64; 26] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `c4` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const c4: [f64; 26] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 26 - const c4: [f64; 26] = [ [INFO] [stdout] 26 + const C4: [f64; 26] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/moving_stats.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const d2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 10 - const d2: [f64; 11] = [ [INFO] [stdout] 10 + const D2: [f64; 11] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:487:28 [INFO] [stdout] | [INFO] [stdout] 487 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:522:26 [INFO] [stdout] | [INFO] [stdout] 522 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:529:28 [INFO] [stdout] | [INFO] [stdout] 529 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:552:30 [INFO] [stdout] | [INFO] [stdout] 552 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:582:30 [INFO] [stdout] | [INFO] [stdout] 582 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:600:28 [INFO] [stdout] | [INFO] [stdout] 600 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:678:31 [INFO] [stdout] | [INFO] [stdout] 678 | let x_f64 = *x_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:679:31 [INFO] [stdout] | [INFO] [stdout] 679 | let y_f64 = *y_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:688:55 [INFO] [stdout] | [INFO] [stdout] 688 | let y_sum: f64 = iter_y.map(|y_val| *y_val.borrow()).sum(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.48s [INFO] running `Command { std: "docker" "inspect" "aa88358c30fbabb6fd2f9a97d009f6ad1353b1d3e7e78fc1a0e0f2eb678296c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa88358c30fbabb6fd2f9a97d009f6ad1353b1d3e7e78fc1a0e0f2eb678296c8", kill_on_drop: false }` [INFO] [stdout] aa88358c30fbabb6fd2f9a97d009f6ad1353b1d3e7e78fc1a0e0f2eb678296c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0bc0788957474608526084eddf10f4d2dca00aca361e95e8bfd961ef9f84d8e [INFO] running `Command { std: "docker" "start" "-a" "c0bc0788957474608526084eddf10f4d2dca00aca361e95e8bfd961ef9f84d8e", kill_on_drop: false }` [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [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_traits::Pow` [INFO] [stdout] --> src/statistics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::statistics::Statistics` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::statistics::Statistics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Float` [INFO] [stdout] --> src/attribute_stats.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::float::FloatCore` [INFO] [stdout] --> src/statistics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::float::FloatCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/statistics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/group_stats.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | ... for (offset, &value) in window.iter().enumerate() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 179 | for (offset, &_value) in window.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ACC` [INFO] [stdout] | [INFO] [stdout] 179 - for (offset, &value) in window.iter().enumerate() { [INFO] [stdout] 179 + for (offset, &ACC) in window.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A2` is never used [INFO] [stdout] --> src/moving_stats.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const A2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cl`, `ucl`, `lcl`, `sub_group_size`, and `all_data` are never read [INFO] [stdout] --> src/moving_stats.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MovingStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 29 | cl: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | ucl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | lcl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | sub_group_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | range_span_size: usize, [INFO] [stdout] 37 | all_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovingStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const d2: [f64; 26] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 8 - const d2: [f64; 26] = [ [INFO] [stdout] 8 + const D2: [f64; 26] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `c4` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const c4: [f64; 26] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 26 - const c4: [f64; 26] = [ [INFO] [stdout] 26 + const C4: [f64; 26] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/moving_stats.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const d2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 10 - const d2: [f64; 11] = [ [INFO] [stdout] 10 + const D2: [f64; 11] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:487:28 [INFO] [stdout] | [INFO] [stdout] 487 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:522:26 [INFO] [stdout] | [INFO] [stdout] 522 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:529:28 [INFO] [stdout] | [INFO] [stdout] 529 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:552:30 [INFO] [stdout] | [INFO] [stdout] 552 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:582:30 [INFO] [stdout] | [INFO] [stdout] 582 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:600:28 [INFO] [stdout] | [INFO] [stdout] 600 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:678:31 [INFO] [stdout] | [INFO] [stdout] 678 | let x_f64 = *x_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:679:31 [INFO] [stdout] | [INFO] [stdout] 679 | let y_f64 = *y_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:688:55 [INFO] [stdout] | [INFO] [stdout] 688 | let y_sum: f64 = iter_y.map(|y_val| *y_val.borrow()).sum(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling spc-rs v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [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_traits::Pow` [INFO] [stdout] --> src/statistics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::statistics::Statistics` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::statistics::Statistics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Float` [INFO] [stdout] --> src/attribute_stats.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::float::FloatCore` [INFO] [stdout] --> src/statistics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::float::FloatCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/statistics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/group_stats.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | ... for (offset, &value) in window.iter().enumerate() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 179 | for (offset, &_value) in window.iter().enumerate() { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ACC` [INFO] [stdout] | [INFO] [stdout] 179 - for (offset, &value) in window.iter().enumerate() { [INFO] [stdout] 179 + for (offset, &ACC) in window.iter().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A2` is never used [INFO] [stdout] --> src/moving_stats.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const A2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cl`, `ucl`, `lcl`, `sub_group_size`, and `all_data` are never read [INFO] [stdout] --> src/moving_stats.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MovingStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 29 | cl: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | ucl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | lcl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | sub_group_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | range_span_size: usize, [INFO] [stdout] 37 | all_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovingStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const d2: [f64; 26] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 8 - const d2: [f64; 26] = [ [INFO] [stdout] 8 + const D2: [f64; 26] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `c4` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const c4: [f64; 26] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 26 - const c4: [f64; 26] = [ [INFO] [stdout] 26 + const C4: [f64; 26] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/moving_stats.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const d2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 10 - const d2: [f64; 11] = [ [INFO] [stdout] 10 + const D2: [f64; 11] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:487:28 [INFO] [stdout] | [INFO] [stdout] 487 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:522:26 [INFO] [stdout] | [INFO] [stdout] 522 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:529:28 [INFO] [stdout] | [INFO] [stdout] 529 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:552:30 [INFO] [stdout] | [INFO] [stdout] 552 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:582:30 [INFO] [stdout] | [INFO] [stdout] 582 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:600:28 [INFO] [stdout] | [INFO] [stdout] 600 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:678:31 [INFO] [stdout] | [INFO] [stdout] 678 | let x_f64 = *x_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:679:31 [INFO] [stdout] | [INFO] [stdout] 679 | let y_f64 = *y_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:688:55 [INFO] [stdout] | [INFO] [stdout] 688 | let y_sum: f64 = iter_y.map(|y_val| *y_val.borrow()).sum(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "c0bc0788957474608526084eddf10f4d2dca00aca361e95e8bfd961ef9f84d8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0bc0788957474608526084eddf10f4d2dca00aca361e95e8bfd961ef9f84d8e", kill_on_drop: false }` [INFO] [stdout] c0bc0788957474608526084eddf10f4d2dca00aca361e95e8bfd961ef9f84d8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c08954a4a0997a9af03e82fb3b2e1ad9dbb3e2fe967c32c7f0df6b3f48f4d210 [INFO] running `Command { std: "docker" "start" "-a" "c08954a4a0997a9af03e82fb3b2e1ad9dbb3e2fe967c32c7f0df6b3f48f4d210", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_traits::Pow` [INFO] [stderr] --> src/statistics.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use num_traits::Pow; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::statistics::Statistics` [INFO] [stderr] --> src/lib.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::statistics::Statistics; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_traits::Float` [INFO] [stderr] --> src/attribute_stats.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use num_traits::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_traits::float::FloatCore` [INFO] [stderr] --> src/statistics.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use num_traits::float::FloatCore; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_traits::real::Real` [INFO] [stderr] --> src/statistics.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use num_traits::real::Real; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/group_stats.rs:179:47 [INFO] [stderr] | [INFO] [stderr] 179 | ... for (offset, &value) in window.iter().enumerate() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 179 | for (offset, &_value) in window.iter().enumerate() { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `ACC` [INFO] [stderr] | [INFO] [stderr] 179 - for (offset, &value) in window.iter().enumerate() { [INFO] [stderr] 179 + for (offset, &ACC) in window.iter().enumerate() { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `A2` is never used [INFO] [stderr] --> src/moving_stats.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const A2: [f64; 11] = [ [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `cl`, `ucl`, `lcl`, `sub_group_size`, and `all_data` are never read [INFO] [stderr] --> src/moving_stats.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct MovingStats { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 29 | cl: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 30 | ucl: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] 31 | lcl: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | sub_group_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 36 | range_span_size: usize, [INFO] [stderr] 37 | all_data: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MovingStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `d2` should have an upper case name [INFO] [stderr] --> src/group_stats.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const d2: [f64; 26] = [ [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 8 - const d2: [f64; 26] = [ [INFO] [stderr] 8 + const D2: [f64; 26] = [ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `c4` should have an upper case name [INFO] [stderr] --> src/group_stats.rs:26:7 [INFO] [stderr] | [INFO] [stderr] 26 | const c4: [f64; 26] = [ [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case (notice the capitalization) [INFO] [stderr] | [INFO] [stderr] 26 - const c4: [f64; 26] = [ [INFO] [stderr] 26 + const C4: [f64; 26] = [ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `d2` should have an upper case name [INFO] [stderr] --> src/moving_stats.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | const d2: [f64; 11] = [ [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 10 - const d2: [f64; 11] = [ [INFO] [stderr] 10 + const D2: [f64; 11] = [ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/statistics.rs:487:28 [INFO] [stderr] | [INFO] [stderr] 487 | let borrow = *x.borrow(); [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/statistics.rs:522:26 [INFO] [stderr] | [INFO] [stderr] 522 | Some(x) => *x.borrow(), [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/statistics.rs:529:28 [INFO] [stderr] | [INFO] [stderr] 529 | let borrow = *x.borrow(); [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/statistics.rs:549:28 [INFO] [stderr] | [INFO] [stderr] 549 | let borrow = *x.borrow(); [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/statistics.rs:552:30 [INFO] [stderr] | [INFO] [stderr] 552 | Some(x) => *x.borrow(), [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/statistics.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | let borrow = *x.borrow(); [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/statistics.rs:582:30 [INFO] [stderr] | [INFO] [stderr] 582 | Some(x) => *x.borrow(), [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/statistics.rs:600:28 [INFO] [stderr] | [INFO] [stderr] 600 | let borrow = *x.borrow(); [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/statistics.rs:678:31 [INFO] [stderr] | [INFO] [stderr] 678 | let x_f64 = *x_val.borrow(); [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/statistics.rs:679:31 [INFO] [stderr] | [INFO] [stderr] 679 | let y_f64 = *y_val.borrow(); [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/statistics.rs:688:55 [INFO] [stderr] | [INFO] [stderr] 688 | let y_sum: f64 = iter_y.map(|y_val| *y_val.borrow()).sum(); [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `spc-rs` (lib) generated 23 warnings (run `cargo fix --lib -p spc-rs` to apply 17 suggestions) [INFO] [stderr] warning: `spc-rs` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spc_rs-165ccb2db2b3de63) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test error::tests::test_sync_send ... ok [INFO] [stdout] test statistics::op_test::test_op ... ok [INFO] [stdout] test group_stats::test_group_stats::test_xbar_r_chart ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] Doc-tests spc_rs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/statistics.rs - statistics::Statistics::max (line 42) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::min (line 19) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::abs_max (line 88) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::quadratic_average (line 403) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::population_variance (line 276) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::abs_min (line 65) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::population_covariance (line 373) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::geometric_average (line 142) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::harmonic_average (line 183) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::average (line 112) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::covariance (line 336) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::std_dev (line 250) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::population_std_dev (line 302) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::variance (line 222) ... FAILED [INFO] [stdout] test src/../README.md - (line 51) ... FAILED [INFO] [stdout] test src/lib.rs - assert_almost_eq (line 19) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/statistics.rs - statistics::Statistics::max (line 42) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `[_; 0]: Statistics` is not satisfied [INFO] [stdout] --> src/statistics.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(Statistics::max(x).is_nan()); [INFO] [stdout] | --------------- ^ the trait `Statistics` is not implemented for `[_; 0]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Statistics` is implemented for `[f64]` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[f64; 4]: Statistics` is not satisfied [INFO] [stdout] --> src/statistics.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(Statistics::max(y).is_nan()); [INFO] [stdout] | --------------- ^ the trait `Statistics` is not implemented for `[f64; 4]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Statistics` is implemented for `[f64]` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[{float}; 3]: Statistics` is not satisfied [INFO] [stdout] --> src/statistics.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(Statistics::max(z), 3.0); [INFO] [stdout] | --------------- ^ the trait `Statistics` is not implemented for `[{float}; 3]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Statistics` is implemented for `[f64]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statistics.rs - statistics::Statistics::min (line 19) stdout ---- [INFO] [stdout] error[E0277]: the trait bound `[_; 0]: Statistics` is not satisfied [INFO] [stdout] --> src/statistics.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(Statistics::min(x).is_nan()); [INFO] [stdout] | --------------- ^ the trait `Statistics` is not implemented for `[_; 0]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Statistics` is implemented for `[f64]` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[f64; 4]: Statistics` is not satisfied [INFO] [stdout] --> src/statistics.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(Statistics::min(y).is_nan()); [INFO] [stdout] | --------------- ^ the trait `Statistics` is not implemented for `[f64; 4]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Statistics` is implemented for `[f64]` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[{float}; 3]: Statistics` is not satisfied [INFO] [stdout] --> src/statistics.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(Statistics::min(z), -2.0); [INFO] [stdout] | --------------- ^ the trait `Statistics` is not implemented for `[{float}; 3]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Statistics` is implemented for `[f64]` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/statistics.rs - statistics::Statistics::abs_max (line 88) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (339) panicked at src/statistics.rs:12:1: [INFO] [stdout] assertion failed: y.abs_max().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x598c4654a4c2 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x598c4654a4c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x598c4654a4c2 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x598c4654a4c2 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x598c46559cff - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x598c46559cff - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x598c46528be1 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x598c46528be1 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x598c4652d9e2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x598c4652f23c - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x598c4652f096 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x598c4652f8c5 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x598c4652f726 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x598c4652db19 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x598c4651d4ad - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x598c46560cf0 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x598c46560ccc - core::panicking::panic::h9eb31005fec5715e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:148:5 [INFO] [stdout] 17: 0x598c4651c8c9 - rust_out::main::_doctest_main_src_statistics_rs_88_0::h4cdaa997b4e9c790 [INFO] [stdout] 18: 0x598c4651c856 - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 19: 0x598c4651c7b3 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 20: 0x598c4651c776 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 21: 0x598c4651c759 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 22: 0x598c46529a50 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x598c46529a50 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x598c46529a50 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x598c46529a50 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x598c46529a50 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x598c46529a50 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x598c46529a50 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x598c46529a50 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x598c46529a50 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x598c4651c741 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 32: 0x598c4651c935 - main [INFO] [stdout] 33: 0x7eafe3daa1ca - [INFO] [stdout] 34: 0x7eafe3daa28b - __libc_start_main [INFO] [stdout] 35: 0x598c4651c655 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/statistics.rs - statistics::Statistics::abs_min (line 65) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (341) panicked at src/statistics.rs:12:1: [INFO] [stdout] assertion failed: y.abs_min().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5859a51124b2 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5859a51124b2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5859a51124b2 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5859a51124b2 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5859a5121cef - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5859a5121cef - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5859a50f0bd1 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5859a50f0bd1 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5859a50f59d2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5859a50f722c - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5859a50f7086 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5859a50f78b5 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5859a50f7716 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x5859a50f5b09 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5859a50e549d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5859a5128ce0 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x5859a5128cbc - core::panicking::panic::h9eb31005fec5715e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:148:5 [INFO] [stdout] 17: 0x5859a50e48b9 - rust_out::main::_doctest_main_src_statistics_rs_65_0::h93489a31a5e88fd2 [INFO] [stdout] 18: 0x5859a50e4846 - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 19: 0x5859a50e47a3 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 20: 0x5859a50e4766 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 21: 0x5859a50e4749 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 22: 0x5859a50f1a40 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5859a50f1a40 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5859a50f1a40 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5859a50f1a40 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5859a50f1a40 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5859a50f1a40 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5859a50f1a40 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5859a50f1a40 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5859a50f1a40 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5859a50e4731 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 32: 0x5859a50e4925 - main [INFO] [stdout] 33: 0x7e7926ee91ca - [INFO] [stdout] 34: 0x7e7926ee928b - __libc_start_main [INFO] [stdout] 35: 0x5859a50e4645 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/statistics.rs - statistics::Statistics::std_dev (line 250) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (384) panicked at src/statistics.rs:9:1: [INFO] [stdout] assertion failed: x.std_dev().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5fcc0ab2d492 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5fcc0ab2d492 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5fcc0ab2d492 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5fcc0ab2d492 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5fcc0ab3cccf - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5fcc0ab3cccf - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5fcc0ab0bbb1 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5fcc0ab0bbb1 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5fcc0ab109b2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5fcc0ab1220c - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5fcc0ab12066 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5fcc0ab12895 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5fcc0ab126f6 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x5fcc0ab10ae9 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5fcc0ab0047d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5fcc0ab43d00 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x5fcc0ab43cdc - core::panicking::panic::h9eb31005fec5715e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:148:5 [INFO] [stdout] 17: 0x5fcc0aaff925 - rust_out::main::_doctest_main_src_statistics_rs_250_0::h8c96d61d2823041f [INFO] [stdout] 18: 0x5fcc0aaff8e6 - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 19: 0x5fcc0aaff843 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 20: 0x5fcc0aaff806 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 21: 0x5fcc0aaff7c9 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 22: 0x5fcc0ab0ca20 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5fcc0ab0ca20 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5fcc0ab0ca20 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5fcc0ab0ca20 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5fcc0ab0ca20 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5fcc0ab0ca20 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5fcc0ab0ca20 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5fcc0ab0ca20 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5fcc0ab0ca20 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5fcc0aaff7b1 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 32: 0x5fcc0aaff9e5 - main [INFO] [stdout] 33: 0x743d1a2911ca - [INFO] [stdout] 34: 0x743d1a29128b - __libc_start_main [INFO] [stdout] 35: 0x5fcc0aaff6c5 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/statistics.rs - statistics::Statistics::variance (line 222) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (434) panicked at src/statistics.rs:9:1: [INFO] [stdout] assertion failed: x.variance().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x571d761a33a2 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x571d761a33a2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x571d761a33a2 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x571d761a33a2 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x571d761b2bdf - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x571d761b2bdf - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x571d76181ac1 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x571d76181ac1 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x571d761868c2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x571d7618811c - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x571d76187f76 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x571d761887a5 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x571d76188606 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x571d761869f9 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x571d7617638d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x571d761b9c10 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x571d761b9bec - core::panicking::panic::h9eb31005fec5715e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:148:5 [INFO] [stdout] 17: 0x571d76175895 - rust_out::main::_doctest_main_src_statistics_rs_222_0::hce77c2acc55606af [INFO] [stdout] 18: 0x571d76175856 - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 19: 0x571d761757b3 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 20: 0x571d76175776 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 21: 0x571d76175759 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 22: 0x571d76182930 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x571d76182930 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x571d76182930 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x571d76182930 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x571d76182930 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x571d76182930 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x571d76182930 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x571d76182930 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x571d76182930 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x571d76175741 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 32: 0x571d76175935 - main [INFO] [stdout] 33: 0x7eb6da98a1ca - [INFO] [stdout] 34: 0x7eb6da98a28b - __libc_start_main [INFO] [stdout] 35: 0x571d76175655 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 51) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (435) panicked at src/../README.md:44:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 0.82 [INFO] [stdout] right: 0.0 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5aea2f7029c2 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5aea2f7029c2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5aea2f7029c2 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5aea2f7029c2 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5aea2f71284f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5aea2f71284f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5aea2f6e0481 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5aea2f6e0481 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5aea2f6e56f2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5aea2f6e702c - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5aea2f6e6e86 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5aea2f6e76b5 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5aea2f6e754a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5aea2f6e5829 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5aea2f6d4d4d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5aea2f71a0a0 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x5aea2f719ea3 - core::panicking::assert_failed_inner::h4a63fb44a65807fc [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:442:17 [INFO] [stdout] 17: 0x5aea2f6c3e1d - core::panicking::assert_failed::h5d4c20cfede398ed [INFO] [stdout] 18: 0x5aea2f6c535e - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 19: 0x5aea2f6c38d3 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 20: 0x5aea2f6c33b6 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 21: 0x5aea2f6c3399 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 22: 0x5aea2f6e1760 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5aea2f6e1760 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5aea2f6e1760 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5aea2f6e1760 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5aea2f6e1760 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5aea2f6e1760 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5aea2f6e1760 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5aea2f6e1760 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5aea2f6e1760 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5aea2f6c3381 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 32: 0x5aea2f6c5b45 - main [INFO] [stdout] 33: 0x76753448a1ca - [INFO] [stdout] 34: 0x76753448a28b - __libc_start_main [INFO] [stdout] 35: 0x5aea2f6c3295 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - assert_almost_eq (line 19) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (436) panicked at src/lib.rs:43:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 0.82 [INFO] [stdout] right: 0.0 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x58b1196d89b2 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58b1196d89b2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58b1196d89b2 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58b1196d89b2 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58b1196e883f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x58b1196e883f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x58b1196b6471 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58b1196b6471 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x58b1196bb6e2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x58b1196bd01c - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x58b1196bce76 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x58b1196bd6a5 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x58b1196bd53a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x58b1196bb819 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x58b1196aad3d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x58b1196f0090 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x58b1196efe93 - core::panicking::assert_failed_inner::h4a63fb44a65807fc [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:442:17 [INFO] [stdout] 17: 0x58b119699e0d - core::panicking::assert_failed::h5d4c20cfede398ed [INFO] [stdout] 18: 0x58b11969b34e - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 19: 0x58b1196998c3 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 20: 0x58b1196993a6 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 21: 0x58b119699389 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 22: 0x58b1196b7750 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x58b1196b7750 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x58b1196b7750 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x58b1196b7750 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x58b1196b7750 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x58b1196b7750 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x58b1196b7750 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x58b1196b7750 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x58b1196b7750 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x58b119699371 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 32: 0x58b11969bb35 - main [INFO] [stdout] 33: 0x7869f77aa1ca - [INFO] [stdout] 34: 0x7869f77aa28b - __libc_start_main [INFO] [stdout] 35: 0x58b119699285 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 51) [INFO] [stdout] src/lib.rs - assert_almost_eq (line 19) [INFO] [stdout] src/statistics.rs - statistics::Statistics::abs_max (line 88) [INFO] [stdout] src/statistics.rs - statistics::Statistics::abs_min (line 65) [INFO] [stdout] src/statistics.rs - statistics::Statistics::max (line 42) [INFO] [stdout] src/statistics.rs - statistics::Statistics::min (line 19) [INFO] [stdout] src/statistics.rs - statistics::Statistics::std_dev (line 250) [INFO] [stdout] src/statistics.rs - statistics::Statistics::variance (line 222) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.51s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.70s; merged doctests compilation took 0.18s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c08954a4a0997a9af03e82fb3b2e1ad9dbb3e2fe967c32c7f0df6b3f48f4d210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c08954a4a0997a9af03e82fb3b2e1ad9dbb3e2fe967c32c7f0df6b3f48f4d210", kill_on_drop: false }` [INFO] [stdout] c08954a4a0997a9af03e82fb3b2e1ad9dbb3e2fe967c32c7f0df6b3f48f4d210