[INFO] fetching crate spc-rs 0.3.1... [INFO] testing spc-rs-0.3.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate spc-rs 0.3.1 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spc-rs 0.3.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27093bc38c6091ed47d7f868106d5eadf1fba886a510b5be0942f330918c93a5 [INFO] running `Command { std: "docker" "start" "-a" "27093bc38c6091ed47d7f868106d5eadf1fba886a510b5be0942f330918c93a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27093bc38c6091ed47d7f868106d5eadf1fba886a510b5be0942f330918c93a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27093bc38c6091ed47d7f868106d5eadf1fba886a510b5be0942f330918c93a5", kill_on_drop: false }` [INFO] [stdout] 27093bc38c6091ed47d7f868106d5eadf1fba886a510b5be0942f330918c93a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8475c7fc2e106def1cea445327617010af095c828bba4e5dcb0157c4e689c9b9 [INFO] running `Command { std: "docker" "start" "-a" "8475c7fc2e106def1cea445327617010af095c828bba4e5dcb0157c4e689c9b9", 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 6.28s [INFO] running `Command { std: "docker" "inspect" "8475c7fc2e106def1cea445327617010af095c828bba4e5dcb0157c4e689c9b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8475c7fc2e106def1cea445327617010af095c828bba4e5dcb0157c4e689c9b9", kill_on_drop: false }` [INFO] [stdout] 8475c7fc2e106def1cea445327617010af095c828bba4e5dcb0157c4e689c9b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da90c067c479277cf8284571f5f484132edecec3182f9df7d8f6bcce691200e1 [INFO] running `Command { std: "docker" "start" "-a" "da90c067c479277cf8284571f5f484132edecec3182f9df7d8f6bcce691200e1", kill_on_drop: false }` [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] [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.78s [INFO] running `Command { std: "docker" "inspect" "da90c067c479277cf8284571f5f484132edecec3182f9df7d8f6bcce691200e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da90c067c479277cf8284571f5f484132edecec3182f9df7d8f6bcce691200e1", kill_on_drop: false }` [INFO] [stdout] da90c067c479277cf8284571f5f484132edecec3182f9df7d8f6bcce691200e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31a889b127402342d9ac399bedbcd4b5dd4867f18cbbd62e01164af368223c47 [INFO] running `Command { std: "docker" "start" "-a" "31a889b127402342d9ac399bedbcd4b5dd4867f18cbbd62e01164af368223c47", 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-7c5cbbe6e0c06494) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test error::tests::test_sync_send ... ok [INFO] [stdout] test group_stats::test_group_stats::test_xbar_r_chart ... ok [INFO] [stdout] test statistics::op_test::test_op ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests spc_rs [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/../README.md - (line 51) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::covariance (line 336) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::geometric_average (line 142) ... 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::max (line 42) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::min (line 19) ... FAILED [INFO] [stdout] test src/statistics.rs - statistics::Statistics::harmonic_average (line 183) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::abs_max (line 88) ... FAILED [INFO] [stdout] test src/lib.rs - assert_almost_eq (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::variance (line 222) ... FAILED [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/statistics.rs - statistics::Statistics::population_covariance (line 373) ... ok [INFO] [stdout] test src/statistics.rs - statistics::Statistics::population_variance (line 276) ... ok [INFO] [stdout] [INFO] [stdout] failures: [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' (142) 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: 0x5ff3aa5ba5a2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ff3aa5ba5a2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ff3aa5ba5a2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ff3aa5ba5a2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ff3aa5ca3cf - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5ff3aa5ca3cf - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5ff3aa5981f1 - std::io::default_write_fmt::h1ecb8c7cfa7da481 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ff3aa5981f1 - std::io::Write::write_fmt::h051fe4a9e4fdbf48 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5ff3aa59d6f2 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5ff3aa59f02c - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5ff3aa59ee86 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5ff3aa59f6b5 - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5ff3aa59f54a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5ff3aa59d829 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5ff3aa58cd1d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5ff3aa5d1c20 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5ff3aa5d1a23 - core::panicking::assert_failed_inner::h448e1d534f4c3d4b [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:439:17 [INFO] [stdout] 17: 0x5ff3aa57bc8d - core::panicking::assert_failed::h06e4999c0a987420 [INFO] [stdout] 18: 0x5ff3aa57d1be - rust_out::main::h909c389308a13d94 [INFO] [stdout] 19: 0x5ff3aa57b783 - core::ops::function::FnOnce::call_once::he80aaf16098e337a [INFO] [stdout] 20: 0x5ff3aa57b226 - std::sys::backtrace::__rust_begin_short_backtrace::hd4f5856814720a68 [INFO] [stdout] 21: 0x5ff3aa57b209 - std::rt::lang_start::{{closure}}::hdd522a24cafb4b4b [INFO] [stdout] 22: 0x5ff3aa599770 - core::ops::function::impls:: for &F>::call_once::h4967fb77e0dfb65c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5ff3aa599770 - std::panicking::catch_unwind::do_call::hf7e87675c3e14c23 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5ff3aa599770 - std::panicking::catch_unwind::h26f0e342004b5114 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5ff3aa599770 - std::panic::catch_unwind::h9ee33ca17775d897 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5ff3aa599770 - std::rt::lang_start_internal::{{closure}}::h243ba3495fa13cf8 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5ff3aa599770 - std::panicking::catch_unwind::do_call::h819db0a7788e7259 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5ff3aa599770 - std::panicking::catch_unwind::h23e08fb4a7b9f405 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5ff3aa599770 - std::panic::catch_unwind::h7ca3d9eabb6135ff [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5ff3aa599770 - std::rt::lang_start_internal::h06ad7395f4fda8d7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5ff3aa57b1f1 - std::rt::lang_start::h5d51bffdfd88737a [INFO] [stdout] 32: 0x5ff3aa57d9a5 - main [INFO] [stdout] 33: 0x78419fb751ca - [INFO] [stdout] 34: 0x78419fb7528b - __libc_start_main [INFO] [stdout] 35: 0x5ff3aa57b105 - _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' (175) panicked at src/statistics.rs:12:1: [INFO] [stdout] assertion failed: y.abs_min().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5d2b2cac2f02 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5d2b2cac2f02 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5d2b2cac2f02 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5d2b2cac2f02 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5d2b2cad26df - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5d2b2cad26df - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5d2b2caa17b1 - std::io::default_write_fmt::h1ecb8c7cfa7da481 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5d2b2caa17b1 - std::io::Write::write_fmt::h051fe4a9e4fdbf48 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5d2b2caa6842 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5d2b2caa809c - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5d2b2caa7ef6 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5d2b2caa8725 - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5d2b2caa8586 - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x5d2b2caa6979 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5d2b2ca962dd - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5d2b2cad96d0 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5d2b2cad96ac - core::panicking::panic::h355c5fec13755e30 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x5d2b2ca956e9 - rust_out::main::_doctest_main_src_statistics_rs_65_0::h811dfafbb929e600 [INFO] [stdout] 18: 0x5d2b2ca95676 - rust_out::main::h909c389308a13d94 [INFO] [stdout] 19: 0x5d2b2ca95623 - core::ops::function::FnOnce::call_once::he80aaf16098e337a [INFO] [stdout] 20: 0x5d2b2ca955a6 - std::sys::backtrace::__rust_begin_short_backtrace::hd4f5856814720a68 [INFO] [stdout] 21: 0x5d2b2ca95589 - std::rt::lang_start::{{closure}}::hdd522a24cafb4b4b [INFO] [stdout] 22: 0x5d2b2caa28c0 - core::ops::function::impls:: for &F>::call_once::h4967fb77e0dfb65c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5d2b2caa28c0 - std::panicking::catch_unwind::do_call::hf7e87675c3e14c23 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5d2b2caa28c0 - std::panicking::catch_unwind::h26f0e342004b5114 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5d2b2caa28c0 - std::panic::catch_unwind::h9ee33ca17775d897 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5d2b2caa28c0 - std::rt::lang_start_internal::{{closure}}::h243ba3495fa13cf8 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5d2b2caa28c0 - std::panicking::catch_unwind::do_call::h819db0a7788e7259 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5d2b2caa28c0 - std::panicking::catch_unwind::h23e08fb4a7b9f405 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5d2b2caa28c0 - std::panic::catch_unwind::h7ca3d9eabb6135ff [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5d2b2caa28c0 - std::rt::lang_start_internal::h06ad7395f4fda8d7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5d2b2ca95571 - std::rt::lang_start::h5d51bffdfd88737a [INFO] [stdout] 32: 0x5d2b2ca95755 - main [INFO] [stdout] 33: 0x7bd58765f1ca - [INFO] [stdout] 34: 0x7bd58765f28b - __libc_start_main [INFO] [stdout] 35: 0x5d2b2ca95485 - _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/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' (218) panicked at src/statistics.rs:12:1: [INFO] [stdout] assertion failed: y.abs_max().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b4f4d4def12 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b4f4d4def12 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b4f4d4def12 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b4f4d4def12 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b4f4d4ee6ef - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b4f4d4ee6ef - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b4f4d4bd7c1 - std::io::default_write_fmt::h1ecb8c7cfa7da481 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b4f4d4bd7c1 - std::io::Write::write_fmt::h051fe4a9e4fdbf48 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b4f4d4c2852 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b4f4d4c40ac - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5b4f4d4c3f06 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5b4f4d4c4735 - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5b4f4d4c4596 - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x5b4f4d4c2989 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5b4f4d4b22ed - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5b4f4d4f56e0 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5b4f4d4f56bc - core::panicking::panic::h355c5fec13755e30 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x5b4f4d4b16f9 - rust_out::main::_doctest_main_src_statistics_rs_88_0::h8efe4b9eb8471804 [INFO] [stdout] 18: 0x5b4f4d4b1686 - rust_out::main::h909c389308a13d94 [INFO] [stdout] 19: 0x5b4f4d4b1633 - core::ops::function::FnOnce::call_once::he80aaf16098e337a [INFO] [stdout] 20: 0x5b4f4d4b15b6 - std::sys::backtrace::__rust_begin_short_backtrace::hd4f5856814720a68 [INFO] [stdout] 21: 0x5b4f4d4b1599 - std::rt::lang_start::{{closure}}::hdd522a24cafb4b4b [INFO] [stdout] 22: 0x5b4f4d4be8d0 - core::ops::function::impls:: for &F>::call_once::h4967fb77e0dfb65c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5b4f4d4be8d0 - std::panicking::catch_unwind::do_call::hf7e87675c3e14c23 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5b4f4d4be8d0 - std::panicking::catch_unwind::h26f0e342004b5114 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5b4f4d4be8d0 - std::panic::catch_unwind::h9ee33ca17775d897 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5b4f4d4be8d0 - std::rt::lang_start_internal::{{closure}}::h243ba3495fa13cf8 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5b4f4d4be8d0 - std::panicking::catch_unwind::do_call::h819db0a7788e7259 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5b4f4d4be8d0 - std::panicking::catch_unwind::h23e08fb4a7b9f405 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5b4f4d4be8d0 - std::panic::catch_unwind::h7ca3d9eabb6135ff [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5b4f4d4be8d0 - std::rt::lang_start_internal::h06ad7395f4fda8d7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5b4f4d4b1581 - std::rt::lang_start::h5d51bffdfd88737a [INFO] [stdout] 32: 0x5b4f4d4b1765 - main [INFO] [stdout] 33: 0x7f2519b741ca - [INFO] [stdout] 34: 0x7f2519b7428b - __libc_start_main [INFO] [stdout] 35: 0x5b4f4d4b1495 - _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' (198) 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: 0x5bf0b6e5e592 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5bf0b6e5e592 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5bf0b6e5e592 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5bf0b6e5e592 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5bf0b6e6e3bf - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5bf0b6e6e3bf - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5bf0b6e3c1e1 - std::io::default_write_fmt::h1ecb8c7cfa7da481 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5bf0b6e3c1e1 - std::io::Write::write_fmt::h051fe4a9e4fdbf48 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5bf0b6e416e2 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5bf0b6e4301c - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5bf0b6e42e76 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5bf0b6e436a5 - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5bf0b6e4353a - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5bf0b6e41819 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5bf0b6e30d0d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5bf0b6e75c10 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5bf0b6e75a13 - core::panicking::assert_failed_inner::h448e1d534f4c3d4b [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:439:17 [INFO] [stdout] 17: 0x5bf0b6e1fc7d - core::panicking::assert_failed::h06e4999c0a987420 [INFO] [stdout] 18: 0x5bf0b6e211ae - rust_out::main::h909c389308a13d94 [INFO] [stdout] 19: 0x5bf0b6e1f773 - core::ops::function::FnOnce::call_once::he80aaf16098e337a [INFO] [stdout] 20: 0x5bf0b6e1f216 - std::sys::backtrace::__rust_begin_short_backtrace::hd4f5856814720a68 [INFO] [stdout] 21: 0x5bf0b6e1f1f9 - std::rt::lang_start::{{closure}}::hdd522a24cafb4b4b [INFO] [stdout] 22: 0x5bf0b6e3d760 - core::ops::function::impls:: for &F>::call_once::h4967fb77e0dfb65c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5bf0b6e3d760 - std::panicking::catch_unwind::do_call::hf7e87675c3e14c23 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5bf0b6e3d760 - std::panicking::catch_unwind::h26f0e342004b5114 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5bf0b6e3d760 - std::panic::catch_unwind::h9ee33ca17775d897 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5bf0b6e3d760 - std::rt::lang_start_internal::{{closure}}::h243ba3495fa13cf8 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5bf0b6e3d760 - std::panicking::catch_unwind::do_call::h819db0a7788e7259 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5bf0b6e3d760 - std::panicking::catch_unwind::h23e08fb4a7b9f405 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5bf0b6e3d760 - std::panic::catch_unwind::h7ca3d9eabb6135ff [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5bf0b6e3d760 - std::rt::lang_start_internal::h06ad7395f4fda8d7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5bf0b6e1f1e1 - std::rt::lang_start::h5d51bffdfd88737a [INFO] [stdout] 32: 0x5bf0b6e21995 - main [INFO] [stdout] 33: 0x72975aba01ca - [INFO] [stdout] 34: 0x72975aba028b - __libc_start_main [INFO] [stdout] 35: 0x5bf0b6e1f0f5 - _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' (290) panicked at src/statistics.rs:9:1: [INFO] [stdout] assertion failed: x.variance().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x605319779df2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x605319779df2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x605319779df2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x605319779df2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x6053197895cf - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x6053197895cf - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x6053197586a1 - std::io::default_write_fmt::h1ecb8c7cfa7da481 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x6053197586a1 - std::io::Write::write_fmt::h051fe4a9e4fdbf48 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x60531975d732 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x60531975ef8c - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x60531975ede6 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x60531975f615 - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x60531975f476 - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x60531975d869 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x60531974d1cd - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x605319790600 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x6053197905dc - core::panicking::panic::h355c5fec13755e30 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x60531974c6c5 - rust_out::main::_doctest_main_src_statistics_rs_222_0::h6d79ae7196e58db1 [INFO] [stdout] 18: 0x60531974c686 - rust_out::main::h909c389308a13d94 [INFO] [stdout] 19: 0x60531974c633 - core::ops::function::FnOnce::call_once::he80aaf16098e337a [INFO] [stdout] 20: 0x60531974c5b6 - std::sys::backtrace::__rust_begin_short_backtrace::hd4f5856814720a68 [INFO] [stdout] 21: 0x60531974c599 - std::rt::lang_start::{{closure}}::hdd522a24cafb4b4b [INFO] [stdout] 22: 0x6053197597b0 - core::ops::function::impls:: for &F>::call_once::h4967fb77e0dfb65c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x6053197597b0 - std::panicking::catch_unwind::do_call::hf7e87675c3e14c23 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x6053197597b0 - std::panicking::catch_unwind::h26f0e342004b5114 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x6053197597b0 - std::panic::catch_unwind::h9ee33ca17775d897 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x6053197597b0 - std::rt::lang_start_internal::{{closure}}::h243ba3495fa13cf8 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x6053197597b0 - std::panicking::catch_unwind::do_call::h819db0a7788e7259 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x6053197597b0 - std::panicking::catch_unwind::h23e08fb4a7b9f405 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x6053197597b0 - std::panic::catch_unwind::h7ca3d9eabb6135ff [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x6053197597b0 - std::rt::lang_start_internal::h06ad7395f4fda8d7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x60531974c581 - std::rt::lang_start::h5d51bffdfd88737a [INFO] [stdout] 32: 0x60531974c765 - main [INFO] [stdout] 33: 0x727b5be071ca - [INFO] [stdout] 34: 0x727b5be0728b - __libc_start_main [INFO] [stdout] 35: 0x60531974c495 - _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' (275) panicked at src/statistics.rs:9:1: [INFO] [stdout] assertion failed: x.std_dev().is_nan() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5df9ebaecef2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5df9ebaecef2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5df9ebaecef2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5df9ebaecef2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5df9ebafc6cf - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5df9ebafc6cf - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5df9ebacb7a1 - std::io::default_write_fmt::h1ecb8c7cfa7da481 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5df9ebacb7a1 - std::io::Write::write_fmt::h051fe4a9e4fdbf48 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5df9ebad0832 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5df9ebad208c - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5df9ebad1ee6 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5df9ebad2715 - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5df9ebad2576 - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:700:13 [INFO] [stdout] 13: 0x5df9ebad0969 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5df9ebac02cd - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5df9ebb03700 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 16: 0x5df9ebb036dc - core::panicking::panic::h355c5fec13755e30 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x5df9ebabf765 - rust_out::main::_doctest_main_src_statistics_rs_250_0::he819ebdb50880d9e [INFO] [stdout] 18: 0x5df9ebabf726 - rust_out::main::h909c389308a13d94 [INFO] [stdout] 19: 0x5df9ebabf6d3 - core::ops::function::FnOnce::call_once::he80aaf16098e337a [INFO] [stdout] 20: 0x5df9ebabf656 - std::sys::backtrace::__rust_begin_short_backtrace::hd4f5856814720a68 [INFO] [stdout] 21: 0x5df9ebabf619 - std::rt::lang_start::{{closure}}::hdd522a24cafb4b4b [INFO] [stdout] 22: 0x5df9ebacc8b0 - core::ops::function::impls:: for &F>::call_once::h4967fb77e0dfb65c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5df9ebacc8b0 - std::panicking::catch_unwind::do_call::hf7e87675c3e14c23 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5df9ebacc8b0 - std::panicking::catch_unwind::h26f0e342004b5114 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5df9ebacc8b0 - std::panic::catch_unwind::h9ee33ca17775d897 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5df9ebacc8b0 - std::rt::lang_start_internal::{{closure}}::h243ba3495fa13cf8 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5df9ebacc8b0 - std::panicking::catch_unwind::do_call::h819db0a7788e7259 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5df9ebacc8b0 - std::panicking::catch_unwind::h23e08fb4a7b9f405 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5df9ebacc8b0 - std::panic::catch_unwind::h7ca3d9eabb6135ff [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5df9ebacc8b0 - std::rt::lang_start_internal::h06ad7395f4fda8d7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5df9ebabf601 - std::rt::lang_start::h5d51bffdfd88737a [INFO] [stdout] 32: 0x5df9ebabf825 - main [INFO] [stdout] 33: 0x799c084ae1ca - [INFO] [stdout] 34: 0x799c084ae28b - __libc_start_main [INFO] [stdout] 35: 0x5df9ebabf515 - _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.60s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.76s; merged doctests compilation took 0.15s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "31a889b127402342d9ac399bedbcd4b5dd4867f18cbbd62e01164af368223c47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31a889b127402342d9ac399bedbcd4b5dd4867f18cbbd62e01164af368223c47", kill_on_drop: false }` [INFO] [stdout] 31a889b127402342d9ac399bedbcd4b5dd4867f18cbbd62e01164af368223c47