[INFO] fetching crate spc-rs 0.3.1... [INFO] checking spc-rs-0.3.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate spc-rs 0.3.1 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spc-rs 0.3.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9efe4a7d0c970ef3dfbaa99ca941bc88dc396a88babca6c5de9cf844290e5197 [INFO] running `Command { std: "docker" "start" "-a" "9efe4a7d0c970ef3dfbaa99ca941bc88dc396a88babca6c5de9cf844290e5197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9efe4a7d0c970ef3dfbaa99ca941bc88dc396a88babca6c5de9cf844290e5197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9efe4a7d0c970ef3dfbaa99ca941bc88dc396a88babca6c5de9cf844290e5197", kill_on_drop: false }` [INFO] [stdout] 9efe4a7d0c970ef3dfbaa99ca941bc88dc396a88babca6c5de9cf844290e5197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03a399fecb3a87234b3bcab7eb20f625b51d05ec25916af48e6ae5d183eb6a2d [INFO] running `Command { std: "docker" "start" "-a" "03a399fecb3a87234b3bcab7eb20f625b51d05ec25916af48e6ae5d183eb6a2d", 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] Checking arrayvec v0.7.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking 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 `#[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 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: unused variable: `value` [INFO] [stdout] --> src/group_stats.rs:179:47 [INFO] [stdout] | [INFO] [stdout] 179 | ... for (offset, &value) in window.iter().enumerate() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A2` is never used [INFO] [stdout] --> src/moving_stats.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const A2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cl`, `ucl`, `lcl`, `sub_group_size`, and `all_data` are never read [INFO] [stdout] --> src/moving_stats.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MovingStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 29 | cl: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | ucl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | lcl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | sub_group_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | range_span_size: usize, [INFO] [stdout] 37 | all_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovingStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const d2: [f64; 26] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 8 - const d2: [f64; 26] = [ [INFO] [stdout] 8 + const D2: [f64; 26] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `c4` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const c4: [f64; 26] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 26 - const c4: [f64; 26] = [ [INFO] [stdout] 26 + const C4: [f64; 26] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/moving_stats.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const d2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 10 - const d2: [f64; 11] = [ [INFO] [stdout] 10 + const D2: [f64; 11] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:487:28 [INFO] [stdout] | [INFO] [stdout] 487 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:522:26 [INFO] [stdout] | [INFO] [stdout] 522 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:529:28 [INFO] [stdout] | [INFO] [stdout] 529 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:552:30 [INFO] [stdout] | [INFO] [stdout] 552 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:582:30 [INFO] [stdout] | [INFO] [stdout] 582 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:600:28 [INFO] [stdout] | [INFO] [stdout] 600 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:678:31 [INFO] [stdout] | [INFO] [stdout] 678 | let x_f64 = *x_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:679:31 [INFO] [stdout] | [INFO] [stdout] 679 | let y_f64 = *y_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:688:55 [INFO] [stdout] | [INFO] [stdout] 688 | let y_sum: f64 = iter_y.map(|y_val| *y_val.borrow()).sum(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `A2` is never used [INFO] [stdout] --> src/moving_stats.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const A2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cl`, `ucl`, `lcl`, `sub_group_size`, and `all_data` are never read [INFO] [stdout] --> src/moving_stats.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MovingStats { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 29 | cl: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 30 | ucl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | lcl: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | sub_group_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 36 | range_span_size: usize, [INFO] [stdout] 37 | all_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MovingStats` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const d2: [f64; 26] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 8 - const d2: [f64; 26] = [ [INFO] [stdout] 8 + const D2: [f64; 26] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `c4` should have an upper case name [INFO] [stdout] --> src/group_stats.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const c4: [f64; 26] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 26 - const c4: [f64; 26] = [ [INFO] [stdout] 26 + const C4: [f64; 26] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `d2` should have an upper case name [INFO] [stdout] --> src/moving_stats.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const d2: [f64; 11] = [ [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 10 - const d2: [f64; 11] = [ [INFO] [stdout] 10 + const D2: [f64; 11] = [ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:487:28 [INFO] [stdout] | [INFO] [stdout] 487 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:522:26 [INFO] [stdout] | [INFO] [stdout] 522 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:529:28 [INFO] [stdout] | [INFO] [stdout] 529 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:549:28 [INFO] [stdout] | [INFO] [stdout] 549 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:552:30 [INFO] [stdout] | [INFO] [stdout] 552 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:579:28 [INFO] [stdout] | [INFO] [stdout] 579 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:582:30 [INFO] [stdout] | [INFO] [stdout] 582 | Some(x) => *x.borrow(), [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:600:28 [INFO] [stdout] | [INFO] [stdout] 600 | let borrow = *x.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:678:31 [INFO] [stdout] | [INFO] [stdout] 678 | let x_f64 = *x_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:679:31 [INFO] [stdout] | [INFO] [stdout] 679 | let y_f64 = *y_val.borrow(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/statistics.rs:688:55 [INFO] [stdout] | [INFO] [stdout] 688 | let y_sum: f64 = iter_y.map(|y_val| *y_val.borrow()).sum(); [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `f64` does not implement `Borrow`, so calling `borrow` on `&f64` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.32s [INFO] running `Command { std: "docker" "inspect" "03a399fecb3a87234b3bcab7eb20f625b51d05ec25916af48e6ae5d183eb6a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a399fecb3a87234b3bcab7eb20f625b51d05ec25916af48e6ae5d183eb6a2d", kill_on_drop: false }` [INFO] [stdout] 03a399fecb3a87234b3bcab7eb20f625b51d05ec25916af48e6ae5d183eb6a2d