[INFO] fetching crate spc-rs 0.3.1... [INFO] testing spc-rs-0.3.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate spc-rs 0.3.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate spc-rs 0.3.1 [INFO] finished tweaking crates.io crate spc-rs 0.3.1 [INFO] tweaked toml for crates.io crate spc-rs 0.3.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spc-rs 0.3.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded borsh v1.5.3 [INFO] [stderr] Downloaded borsh-derive v1.5.3 [INFO] [stderr] Downloaded rust_decimal v1.36.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a56737f5e67f678c1abbfe119ac4200147a2dfa68c8a5cb13593d72ec4f03e9 [INFO] running `Command { std: "docker" "start" "-a" "3a56737f5e67f678c1abbfe119ac4200147a2dfa68c8a5cb13593d72ec4f03e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a56737f5e67f678c1abbfe119ac4200147a2dfa68c8a5cb13593d72ec4f03e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a56737f5e67f678c1abbfe119ac4200147a2dfa68c8a5cb13593d72ec4f03e9", kill_on_drop: false }` [INFO] [stdout] 3a56737f5e67f678c1abbfe119ac4200147a2dfa68c8a5cb13593d72ec4f03e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1b6425ac024a0e285a7003948cbb39b1f87393772e473aaf54d0d067b17f0db8 [INFO] running `Command { std: "docker" "start" "-a" "1b6425ac024a0e285a7003948cbb39b1f87393772e473aaf54d0d067b17f0db8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [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 num-traits v0.2.19 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling spc-rs v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Pow` [INFO] [stdout] --> src/statistics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::statistics::Statistics` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::statistics::Statistics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Float` [INFO] [stdout] --> src/attribute_stats.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::float::FloatCore` [INFO] [stdout] --> src/statistics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::float::FloatCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/statistics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/group_stats.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | ... for (offset, &value) in window.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A2` is never used [INFO] [stdout] --> src/moving_stats.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const A2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cl`, `ucl`, `lcl`, `sub_group_size`, and `all_data` are never read [INFO] [stdout] --> src/moving_stats.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MovingStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 29 | cl: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | ucl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | lcl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | sub_group_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | range_span_size: usize, [INFO] [stdout] 37 | all_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovingStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const d2: [f64; 26] = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case: `D2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^ help: convert the identifier to upper case (notice the capitalization): `C4` [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] | ^^ help: convert the identifier to upper case: `D2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:487:28 [INFO] [stdout] | [INFO] [stdout] 487 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:522:26 [INFO] [stdout] | [INFO] [stdout] 522 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:529:28 [INFO] [stdout] | [INFO] [stdout] 529 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:552:30 [INFO] [stdout] | [INFO] [stdout] 552 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:582:30 [INFO] [stdout] | [INFO] [stdout] 582 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:600:28 [INFO] [stdout] | [INFO] [stdout] 600 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:678:31 [INFO] [stdout] | [INFO] [stdout] 678 | let x_f64 = *x_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:679:31 [INFO] [stdout] | [INFO] [stdout] 679 | let y_f64 = *y_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:688:55 [INFO] [stdout] | [INFO] [stdout] 688 | let y_sum: f64 = iter_y.map(|y_val| *y_val.borrow()).sum(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.70s [INFO] running `Command { std: "docker" "inspect" "1b6425ac024a0e285a7003948cbb39b1f87393772e473aaf54d0d067b17f0db8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b6425ac024a0e285a7003948cbb39b1f87393772e473aaf54d0d067b17f0db8", kill_on_drop: false }` [INFO] [stdout] 1b6425ac024a0e285a7003948cbb39b1f87393772e473aaf54d0d067b17f0db8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5d0bd74f2737e473b6bfb20587add610ac8fcbdb15ed10944f54b5d9abf90924 [INFO] running `Command { std: "docker" "start" "-a" "5d0bd74f2737e473b6bfb20587add610ac8fcbdb15ed10944f54b5d9abf90924", kill_on_drop: false }` [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Pow` [INFO] [stdout] --> src/statistics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::statistics::Statistics` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::statistics::Statistics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Float` [INFO] [stdout] --> src/attribute_stats.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::float::FloatCore` [INFO] [stdout] --> src/statistics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::float::FloatCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/statistics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/group_stats.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | ... for (offset, &value) in window.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A2` is never used [INFO] [stdout] --> src/moving_stats.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const A2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cl`, `ucl`, `lcl`, `sub_group_size`, and `all_data` are never read [INFO] [stdout] --> src/moving_stats.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MovingStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 29 | cl: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | ucl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | lcl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | sub_group_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | range_span_size: usize, [INFO] [stdout] 37 | all_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovingStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const d2: [f64; 26] = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case: `D2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^ help: convert the identifier to upper case (notice the capitalization): `C4` [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] | ^^ help: convert the identifier to upper case: `D2` [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] [stderr] Compiling spc-rs v0.3.1 (/opt/rustwide/workdir) [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Pow` [INFO] [stdout] --> src/statistics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::statistics::Statistics` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::statistics::Statistics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Float` [INFO] [stdout] --> src/attribute_stats.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::Float; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::float::FloatCore` [INFO] [stdout] --> src/statistics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_traits::float::FloatCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::real::Real` [INFO] [stdout] --> src/statistics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_traits::real::Real; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/group_stats.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | ... for (offset, &value) in window.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A2` is never used [INFO] [stdout] --> src/moving_stats.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const A2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cl`, `ucl`, `lcl`, `sub_group_size`, and `all_data` are never read [INFO] [stdout] --> src/moving_stats.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MovingStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 29 | cl: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | ucl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | lcl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | sub_group_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | range_span_size: usize, [INFO] [stdout] 37 | all_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovingStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const d2: [f64; 26] = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case: `D2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^ help: convert the identifier to upper case (notice the capitalization): `C4` [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] | ^^ help: convert the identifier to upper case: `D2` [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.90s [INFO] running `Command { std: "docker" "inspect" "5d0bd74f2737e473b6bfb20587add610ac8fcbdb15ed10944f54b5d9abf90924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d0bd74f2737e473b6bfb20587add610ac8fcbdb15ed10944f54b5d9abf90924", kill_on_drop: false }` [INFO] [stdout] 5d0bd74f2737e473b6bfb20587add610ac8fcbdb15ed10944f54b5d9abf90924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3342fcd224e9f926582aa4e9d77d46fccfeaae087e06a27f70eeb94451fa6bd0 [INFO] running `Command { std: "docker" "start" "-a" "3342fcd224e9f926582aa4e9d77d46fccfeaae087e06a27f70eeb94451fa6bd0", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_traits::Pow` [INFO] [stderr] --> src/statistics.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use num_traits::Pow; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::statistics::Statistics` [INFO] [stderr] --> src/lib.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::statistics::Statistics; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_traits::Float` [INFO] [stderr] --> src/attribute_stats.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use num_traits::Float; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_traits::float::FloatCore` [INFO] [stderr] --> src/statistics.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use num_traits::float::FloatCore; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `num_traits::real::Real` [INFO] [stderr] --> src/statistics.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use num_traits::real::Real; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/group_stats.rs:179:47 [INFO] [stderr] | [INFO] [stderr] 179 | ... for (offset, &value) in window.iter().enumerate() { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `A2` is never used [INFO] [stderr] --> src/moving_stats.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const A2: [f64; 11] = [ [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `cl`, `ucl`, `lcl`, `sub_group_size`, and `all_data` are never read [INFO] [stderr] --> src/moving_stats.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub struct MovingStats { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 29 | cl: f64, [INFO] [stderr] | ^^ [INFO] [stderr] 30 | ucl: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] 31 | lcl: f64, [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | sub_group_size: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 36 | range_span_size: usize, [INFO] [stderr] 37 | all_data: Vec, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MovingStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `d2` should have an upper case name [INFO] [stderr] --> src/group_stats.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const d2: [f64; 26] = [ [INFO] [stderr] | ^^ help: convert the identifier to upper case: `D2` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^ help: convert the identifier to upper case (notice the capitalization): `C4` [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] | ^^ help: convert the identifier to upper case: `D2` [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 13 suggestions) [INFO] [stderr] warning: `spc-rs` (lib test) generated 23 warnings (23 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/spc_rs-245df5030f9e0637) [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] running `Command { std: "docker" "inspect" "3342fcd224e9f926582aa4e9d77d46fccfeaae087e06a27f70eeb94451fa6bd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3342fcd224e9f926582aa4e9d77d46fccfeaae087e06a27f70eeb94451fa6bd0", kill_on_drop: false }` [INFO] [stdout] 3342fcd224e9f926582aa4e9d77d46fccfeaae087e06a27f70eeb94451fa6bd0