[INFO] fetching crate spc-rs 0.3.1... [INFO] testing spc-rs-0.3.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate spc-rs 0.3.1 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spc-rs 0.3.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78bc212f55c8aab52a00d4c826db98e1da307974bb4f3ca61027abbc6e176aad [INFO] running `Command { std: "docker" "start" "-a" "78bc212f55c8aab52a00d4c826db98e1da307974bb4f3ca61027abbc6e176aad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78bc212f55c8aab52a00d4c826db98e1da307974bb4f3ca61027abbc6e176aad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78bc212f55c8aab52a00d4c826db98e1da307974bb4f3ca61027abbc6e176aad", kill_on_drop: false }` [INFO] [stdout] 78bc212f55c8aab52a00d4c826db98e1da307974bb4f3ca61027abbc6e176aad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9048335bb368b07ecdb7f4073b27fd96e689fb2a5c7e6dc6863506764cf85d93 [INFO] running `Command { std: "docker" "start" "-a" "9048335bb368b07ecdb7f4073b27fd96e689fb2a5c7e6dc6863506764cf85d93", 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)]` 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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)]` 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)]` 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 6.20s [INFO] running `Command { std: "docker" "inspect" "9048335bb368b07ecdb7f4073b27fd96e689fb2a5c7e6dc6863506764cf85d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9048335bb368b07ecdb7f4073b27fd96e689fb2a5c7e6dc6863506764cf85d93", kill_on_drop: false }` [INFO] [stdout] 9048335bb368b07ecdb7f4073b27fd96e689fb2a5c7e6dc6863506764cf85d93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54eabe67664f54f94da3acc062a656ab76367059706743cb8914d3a7fcccef4b [INFO] running `Command { std: "docker" "start" "-a" "54eabe67664f54f94da3acc062a656ab76367059706743cb8914d3a7fcccef4b", 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)]` 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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)]` 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)]` 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)]` 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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)]` 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)]` 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.89s [INFO] running `Command { std: "docker" "inspect" "54eabe67664f54f94da3acc062a656ab76367059706743cb8914d3a7fcccef4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54eabe67664f54f94da3acc062a656ab76367059706743cb8914d3a7fcccef4b", kill_on_drop: false }` [INFO] [stdout] 54eabe67664f54f94da3acc062a656ab76367059706743cb8914d3a7fcccef4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a108d09683faa9c99c5a94ec05573a85042b2567cf87c6d9e312d66b09aa010 [INFO] running `Command { std: "docker" "start" "-a" "9a108d09683faa9c99c5a94ec05573a85042b2567cf87c6d9e312d66b09aa010", 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)]` 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [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)]` 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)]` 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 16 suggestions) [INFO] [stderr] warning: `spc-rs` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spc_rs-66f1d752b4a9fefc) [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] [stderr] Doc-tests spc_rs [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.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [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::covariance (line 336) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::average (line 112) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::abs_min (line 65) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::abs_max (line 88) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::max (line 42) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::population_variance (line 276) ... ok [INFO] [stdout] test src/lib.rs - assert_almost_eq (line 19) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::min (line 19) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::population_std_dev (line 302) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::population_covariance (line 373) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::quadratic_average (line 403) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::std_dev (line 250) ... FAILED [INFO] [stdout] test src/../README.md - (line 51) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::variance (line 222) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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' panicked at src/statistics.rs:12:1: [INFO] [stdout] assertion failed: y.abs_min().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5df506390312 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5df506390312 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5df506390312 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5df506390312 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5df5063aeea3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5df5063aeea3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5df50638e023 - std::io::default_write_fmt::ha27fbccbc65eb6fa [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5df50638e023 - std::io::Write::write_fmt::h6556609fca33d0b1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5df506390162 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5df5063911f3 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5df506390fd5 - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9 [INFO] [stdout] 11: 0x5df506391ac5 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13 [INFO] [stdout] 12: 0x5df506391926 - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:699:13 [INFO] [stdout] 13: 0x5df506390809 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5df5063915ed - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 15: 0x5df5063ad8e0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5df5063ad96c - core::panicking::panic::h89a5f2df32b0508a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x5df50636f569 - rust_out::main::_doctest_main_src_statistics_rs_65_0::h8c6c992d82492db9 [INFO] [stdout] 18: 0x5df50636f4f6 - rust_out::main::h2d10ba762d3f8adf [INFO] [stdout] 19: 0x5df50636f453 - core::ops::function::FnOnce::call_once::h89333dd4ac8e03fc [INFO] [stdout] 20: 0x5df50636f416 - std::sys::backtrace::__rust_begin_short_backtrace::h8a10de1e92516da1 [INFO] [stdout] 21: 0x5df50636f3f9 - std::rt::lang_start::{{closure}}::h0af3a8cb06b34c3e [INFO] [stdout] 22: 0x5df50638bf70 - core::ops::function::impls:: for &F>::call_once::h638295a043b40957 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x5df50638bf70 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 24: 0x5df50638bf70 - std::panicking::catch_unwind::h50591d85bf847c7c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 25: 0x5df50638bf70 - std::panic::catch_unwind::h2487b4c4f2ae22c6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5df50638bf70 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5df50638bf70 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x5df50638bf70 - std::panicking::catch_unwind::hf9a822ea043fb0d6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x5df50638bf70 - std::panic::catch_unwind::h5b3cac802237ed89 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5df50638bf70 - std::rt::lang_start_internal::h34f9328d113fd60a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5df50636f3e1 - std::rt::lang_start::h8f736fe0a226e45f [INFO] [stdout] 32: 0x5df50636f5d5 - main [INFO] [stdout] 33: 0x76ba66c1d1ca - [INFO] [stdout] 34: 0x76ba66c1d28b - __libc_start_main [INFO] [stdout] 35: 0x5df50636f2f5 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [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' panicked at src/statistics.rs:12:1: [INFO] [stdout] assertion failed: y.abs_max().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x646d5f27b322 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x646d5f27b322 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x646d5f27b322 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x646d5f27b322 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x646d5f299eb3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x646d5f299eb3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x646d5f279033 - std::io::default_write_fmt::ha27fbccbc65eb6fa [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x646d5f279033 - std::io::Write::write_fmt::h6556609fca33d0b1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x646d5f27b172 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x646d5f27c203 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x646d5f27bfe5 - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9 [INFO] [stdout] 11: 0x646d5f27cad5 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13 [INFO] [stdout] 12: 0x646d5f27c936 - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:699:13 [INFO] [stdout] 13: 0x646d5f27b819 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x646d5f27c5fd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 15: 0x646d5f2988f0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x646d5f29897c - core::panicking::panic::h89a5f2df32b0508a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x646d5f25a579 - rust_out::main::_doctest_main_src_statistics_rs_88_0::ha38894407bb88d28 [INFO] [stdout] 18: 0x646d5f25a506 - rust_out::main::h2d10ba762d3f8adf [INFO] [stdout] 19: 0x646d5f25a463 - core::ops::function::FnOnce::call_once::h89333dd4ac8e03fc [INFO] [stdout] 20: 0x646d5f25a426 - std::sys::backtrace::__rust_begin_short_backtrace::h8a10de1e92516da1 [INFO] [stdout] 21: 0x646d5f25a409 - std::rt::lang_start::{{closure}}::h0af3a8cb06b34c3e [INFO] [stdout] 22: 0x646d5f276f80 - core::ops::function::impls:: for &F>::call_once::h638295a043b40957 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x646d5f276f80 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 24: 0x646d5f276f80 - std::panicking::catch_unwind::h50591d85bf847c7c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 25: 0x646d5f276f80 - std::panic::catch_unwind::h2487b4c4f2ae22c6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x646d5f276f80 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x646d5f276f80 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x646d5f276f80 - std::panicking::catch_unwind::hf9a822ea043fb0d6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x646d5f276f80 - std::panic::catch_unwind::h5b3cac802237ed89 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x646d5f276f80 - std::rt::lang_start_internal::h34f9328d113fd60a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x646d5f25a3f1 - std::rt::lang_start::h8f736fe0a226e45f [INFO] [stdout] 32: 0x646d5f25a5e5 - main [INFO] [stdout] 33: 0x78e2947671ca - [INFO] [stdout] 34: 0x78e29476728b - __libc_start_main [INFO] [stdout] 35: 0x646d5f25a305 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [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/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' 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: 0x5dbed41f9a52 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5dbed41f9a52 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5dbed41f9a52 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5dbed41f9a52 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5dbed4218b63 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5dbed4218b63 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5dbed41f7693 - std::io::default_write_fmt::ha27fbccbc65eb6fa [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5dbed41f7693 - std::io::Write::write_fmt::h6556609fca33d0b1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5dbed41f98a2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5dbed41fa933 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5dbed41fa715 - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9 [INFO] [stdout] 11: 0x5dbed41fb205 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13 [INFO] [stdout] 12: 0x5dbed41fb09a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 13: 0x5dbed41f9f49 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5dbed41fad2d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 15: 0x5dbed4217500 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5dbed4217823 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 17: 0x5dbed41c7b6d - core::panicking::assert_failed::hadc8ab8476d19bcd [INFO] [stdout] 18: 0x5dbed41c910e - rust_out::main::h2d10ba762d3f8adf [INFO] [stdout] 19: 0x5dbed41c7623 - core::ops::function::FnOnce::call_once::h89333dd4ac8e03fc [INFO] [stdout] 20: 0x5dbed41c7106 - std::sys::backtrace::__rust_begin_short_backtrace::h8a10de1e92516da1 [INFO] [stdout] 21: 0x5dbed41c70e9 - std::rt::lang_start::{{closure}}::h0af3a8cb06b34c3e [INFO] [stdout] 22: 0x5dbed41f4c30 - core::ops::function::impls:: for &F>::call_once::h638295a043b40957 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x5dbed41f4c30 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 24: 0x5dbed41f4c30 - std::panicking::catch_unwind::h50591d85bf847c7c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 25: 0x5dbed41f4c30 - std::panic::catch_unwind::h2487b4c4f2ae22c6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5dbed41f4c30 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5dbed41f4c30 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x5dbed41f4c30 - std::panicking::catch_unwind::hf9a822ea043fb0d6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x5dbed41f4c30 - std::panic::catch_unwind::h5b3cac802237ed89 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5dbed41f4c30 - std::rt::lang_start_internal::h34f9328d113fd60a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5dbed41c70d1 - std::rt::lang_start::h8f736fe0a226e45f [INFO] [stdout] 32: 0x5dbed41c9885 - main [INFO] [stdout] 33: 0x734ff2e381ca - [INFO] [stdout] 34: 0x734ff2e3828b - __libc_start_main [INFO] [stdout] 35: 0x5dbed41c6fe5 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [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::std_dev (line 250) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' panicked at src/statistics.rs:9:1: [INFO] [stdout] assertion failed: x.std_dev().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x641f57219302 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x641f57219302 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x641f57219302 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x641f57219302 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x641f57237e93 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x641f57237e93 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x641f57217013 - std::io::default_write_fmt::ha27fbccbc65eb6fa [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x641f57217013 - std::io::Write::write_fmt::h6556609fca33d0b1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x641f57219152 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x641f5721a1e3 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x641f57219fc5 - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9 [INFO] [stdout] 11: 0x641f5721aab5 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13 [INFO] [stdout] 12: 0x641f5721a916 - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:699:13 [INFO] [stdout] 13: 0x641f572197f9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x641f5721a5dd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 15: 0x641f572368d0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x641f5723695c - core::panicking::panic::h89a5f2df32b0508a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x641f571f85e5 - rust_out::main::_doctest_main_src_statistics_rs_250_0::hede961d7ef204cca [INFO] [stdout] 18: 0x641f571f85a6 - rust_out::main::h2d10ba762d3f8adf [INFO] [stdout] 19: 0x641f571f8503 - core::ops::function::FnOnce::call_once::h89333dd4ac8e03fc [INFO] [stdout] 20: 0x641f571f84c6 - std::sys::backtrace::__rust_begin_short_backtrace::h8a10de1e92516da1 [INFO] [stdout] 21: 0x641f571f8489 - std::rt::lang_start::{{closure}}::h0af3a8cb06b34c3e [INFO] [stdout] 22: 0x641f57214f60 - core::ops::function::impls:: for &F>::call_once::h638295a043b40957 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x641f57214f60 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 24: 0x641f57214f60 - std::panicking::catch_unwind::h50591d85bf847c7c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 25: 0x641f57214f60 - std::panic::catch_unwind::h2487b4c4f2ae22c6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x641f57214f60 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x641f57214f60 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x641f57214f60 - std::panicking::catch_unwind::hf9a822ea043fb0d6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x641f57214f60 - std::panic::catch_unwind::h5b3cac802237ed89 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x641f57214f60 - std::rt::lang_start_internal::h34f9328d113fd60a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x641f571f8471 - std::rt::lang_start::h8f736fe0a226e45f [INFO] [stdout] 32: 0x641f571f86a5 - main [INFO] [stdout] 33: 0x77778265a1ca - [INFO] [stdout] 34: 0x77778265a28b - __libc_start_main [INFO] [stdout] 35: 0x641f571f8385 - _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' 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: 0x5f41e4acea62 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f41e4acea62 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f41e4acea62 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f41e4acea62 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f41e4aedb73 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f41e4aedb73 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5f41e4acc6a3 - std::io::default_write_fmt::ha27fbccbc65eb6fa [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f41e4acc6a3 - std::io::Write::write_fmt::h6556609fca33d0b1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f41e4ace8b2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f41e4acf943 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5f41e4acf725 - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9 [INFO] [stdout] 11: 0x5f41e4ad0215 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13 [INFO] [stdout] 12: 0x5f41e4ad00aa - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 13: 0x5f41e4acef59 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5f41e4acfd3d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 15: 0x5f41e4aec510 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5f41e4aec833 - core::panicking::assert_failed_inner::h102b4539a88470c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:448:17 [INFO] [stdout] 17: 0x5f41e4a9cb7d - core::panicking::assert_failed::hadc8ab8476d19bcd [INFO] [stdout] 18: 0x5f41e4a9e11e - rust_out::main::h2d10ba762d3f8adf [INFO] [stdout] 19: 0x5f41e4a9c633 - core::ops::function::FnOnce::call_once::h89333dd4ac8e03fc [INFO] [stdout] 20: 0x5f41e4a9c116 - std::sys::backtrace::__rust_begin_short_backtrace::h8a10de1e92516da1 [INFO] [stdout] 21: 0x5f41e4a9c0f9 - std::rt::lang_start::{{closure}}::h0af3a8cb06b34c3e [INFO] [stdout] 22: 0x5f41e4ac9c40 - core::ops::function::impls:: for &F>::call_once::h638295a043b40957 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x5f41e4ac9c40 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 24: 0x5f41e4ac9c40 - std::panicking::catch_unwind::h50591d85bf847c7c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 25: 0x5f41e4ac9c40 - std::panic::catch_unwind::h2487b4c4f2ae22c6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5f41e4ac9c40 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5f41e4ac9c40 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x5f41e4ac9c40 - std::panicking::catch_unwind::hf9a822ea043fb0d6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x5f41e4ac9c40 - std::panic::catch_unwind::h5b3cac802237ed89 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5f41e4ac9c40 - std::rt::lang_start_internal::h34f9328d113fd60a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5f41e4a9c0e1 - std::rt::lang_start::h8f736fe0a226e45f [INFO] [stdout] 32: 0x5f41e4a9e895 - main [INFO] [stdout] 33: 0x7692c15381ca - [INFO] [stdout] 34: 0x7692c153828b - __libc_start_main [INFO] [stdout] 35: 0x5f41e4a9bff5 - _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' panicked at src/statistics.rs:9:1: [INFO] [stdout] assertion failed: x.variance().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56b75abf2212 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x56b75abf2212 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x56b75abf2212 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x56b75abf2212 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x56b75ac10da3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x56b75ac10da3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x56b75abeff23 - std::io::default_write_fmt::ha27fbccbc65eb6fa [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x56b75abeff23 - std::io::Write::write_fmt::h6556609fca33d0b1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x56b75abf2062 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x56b75abf30f3 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x56b75abf2ed5 - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:327:9 [INFO] [stdout] 11: 0x56b75abf39c5 - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:833:13 [INFO] [stdout] 12: 0x56b75abf3826 - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:699:13 [INFO] [stdout] 13: 0x56b75abf2709 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x56b75abf34ed - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 15: 0x56b75ac0f7e0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x56b75ac0f86c - core::panicking::panic::h89a5f2df32b0508a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x56b75abd1555 - rust_out::main::_doctest_main_src_statistics_rs_222_0::hcf319fda8d2aa2ba [INFO] [stdout] 18: 0x56b75abd1516 - rust_out::main::h2d10ba762d3f8adf [INFO] [stdout] 19: 0x56b75abd1473 - core::ops::function::FnOnce::call_once::h89333dd4ac8e03fc [INFO] [stdout] 20: 0x56b75abd1436 - std::sys::backtrace::__rust_begin_short_backtrace::h8a10de1e92516da1 [INFO] [stdout] 21: 0x56b75abd1419 - std::rt::lang_start::{{closure}}::h0af3a8cb06b34c3e [INFO] [stdout] 22: 0x56b75abede70 - core::ops::function::impls:: for &F>::call_once::h638295a043b40957 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:290:21 [INFO] [stdout] 23: 0x56b75abede70 - std::panicking::catch_unwind::do_call::hbd68098bdea1ca50 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 24: 0x56b75abede70 - std::panicking::catch_unwind::h50591d85bf847c7c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 25: 0x56b75abede70 - std::panic::catch_unwind::h2487b4c4f2ae22c6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x56b75abede70 - std::rt::lang_start_internal::{{closure}}::h61f0945cc6c9a811 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x56b75abede70 - std::panicking::catch_unwind::do_call::h34b9c3722acd6bd1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x56b75abede70 - std::panicking::catch_unwind::hf9a822ea043fb0d6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x56b75abede70 - std::panic::catch_unwind::h5b3cac802237ed89 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x56b75abede70 - std::rt::lang_start_internal::h34f9328d113fd60a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x56b75abd1401 - std::rt::lang_start::h8f736fe0a226e45f [INFO] [stdout] 32: 0x56b75abd15f5 - main [INFO] [stdout] 33: 0x79dfc8f491ca - [INFO] [stdout] 34: 0x79dfc8f4928b - __libc_start_main [INFO] [stdout] 35: 0x56b75abd1315 - _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.52s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.86s; merged doctests compilation took 0.34s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9a108d09683faa9c99c5a94ec05573a85042b2567cf87c6d9e312d66b09aa010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a108d09683faa9c99c5a94ec05573a85042b2567cf87c6d9e312d66b09aa010", kill_on_drop: false }` [INFO] [stdout] 9a108d09683faa9c99c5a94ec05573a85042b2567cf87c6d9e312d66b09aa010