[INFO] cloning repository https://github.com/bgamari/fcs-sim-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bgamari/fcs-sim-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgamari%2Ffcs-sim-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgamari%2Ffcs-sim-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 17ece60d16801058ecfd87e778db3de1731cbbe9
[INFO] checking bgamari/fcs-sim-rs against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgamari%2Ffcs-sim-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bgamari/fcs-sim-rs on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/bgamari/fcs-sim-rs
[INFO] finished tweaking git repo https://github.com/bgamari/fcs-sim-rs
[INFO] tweaked toml for git repo https://github.com/bgamari/fcs-sim-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/bgamari/fcs-sim-rs 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.91
[INFO] [stderr]   Downloaded num-complex v0.2.1
[INFO] [stderr]   Downloaded rayon v1.0.3
[INFO] [stderr]   Downloaded serde v1.0.91
[INFO] [stderr]   Downloaded libm v0.1.2
[INFO] [stderr]   Downloaded rayon-core v1.4.1
[INFO] [stderr]   Downloaded libc v0.2.54
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3d1e3ade89b87a64ef0e40a60bde622d59c2fbec8669854a3b1534e40ffd5a13
[INFO] running `Command { std: "docker" "start" "-a" "3d1e3ade89b87a64ef0e40a60bde622d59c2fbec8669854a3b1534e40ffd5a13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3d1e3ade89b87a64ef0e40a60bde622d59c2fbec8669854a3b1534e40ffd5a13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d1e3ade89b87a64ef0e40a60bde622d59c2fbec8669854a3b1534e40ffd5a13", kill_on_drop: false }`
[INFO] [stdout] 3d1e3ade89b87a64ef0e40a60bde622d59c2fbec8669854a3b1534e40ffd5a13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e265be3faa411fbc54c3b97ce62338f2851cb1112e9f4b610648c05e8a00032
[INFO] running `Command { std: "docker" "start" "-a" "9e265be3faa411fbc54c3b97ce62338f2851cb1112e9f4b610648c05e8a00032", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.54
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]     Checking cfg-if v0.1.7
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]    Compiling typenum v1.10.0
[INFO] [stderr]    Compiling syn v0.15.34
[INFO] [stderr]    Compiling serde v1.0.91
[INFO] [stderr]    Compiling ryu v0.2.8
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]     Checking libm v0.1.2
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking matrixmultiply v0.2.2
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking num_cpus v1.10.0
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking csv-core v0.1.5
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking generic-array v0.12.0
[INFO] [stderr]     Checking alga v0.9.1
[INFO] [stderr]     Checking nalgebra v0.18.0
[INFO] [stderr]    Compiling serde_derive v1.0.91
[INFO] [stderr]     Checking csv v1.0.7
[INFO] [stderr]     Checking rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> main.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |     use std::vec::Vec;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/5518eaa946291f00471af8b254b2a1715f234882/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `Vec` is already defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]    --> main.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 |     use std::convert::From;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/5518eaa946291f00471af8b254b2a1715f234882/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> main.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |     use std::vec::Vec;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/5518eaa946291f00471af8b254b2a1715f234882/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `Vec` is already defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]    --> main.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 |     use std::convert::From;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/5518eaa946291f00471af8b254b2a1715f234882/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Float`
[INFO] [stdout]  --> v3.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_traits::{Num, Float};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Float`
[INFO] [stdout]  --> v3.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_traits::{Num, Float};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]    --> main.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let results: Vec<Vec<LogFloat<f64>>> = sample_idxs.par_iter().map(|i| {
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]    --> main.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let results: Vec<Vec<LogFloat<f64>>> = sample_idxs.par_iter().map(|i| {
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `norm_corr` is never used
[INFO] [stdout]    --> main.rs:191:4
[INFO] [stdout]     |
[INFO] [stdout] 191 | fn norm_corr(corr: &Vec<LogFloat<f64>>) -> Vec<f64>
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mean` is never used
[INFO] [stdout]    --> main.rs:206:4
[INFO] [stdout]     |
[INFO] [stdout] 206 | fn mean<N, T>(iter: T) -> N where
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `correlate` is never used
[INFO] [stdout]    --> main.rs:215:4
[INFO] [stdout]     |
[INFO] [stdout] 215 | fn correlate(max_tau: usize, tau: usize, vec: &Vec<f64>) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `quadrance`, `norm`, and `normalise` are never used
[INFO] [stdout]   --> v3.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> V3<T> {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn quadrance(&self) -> T where
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn norm(&self) -> T where
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn normalise(&self) -> Self where
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `zero`, `exp`, and `to_value` are never used
[INFO] [stdout]   --> log_float.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl<T: Copy + num_traits::Float> LogFloat<T> {
[INFO] [stdout]    | --------------------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn zero() -> LogFloat<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn exp(&self) -> T {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn to_value(&self) -> T {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `norm_corr` is never used
[INFO] [stdout]    --> main.rs:191:4
[INFO] [stdout]     |
[INFO] [stdout] 191 | fn norm_corr(corr: &Vec<LogFloat<f64>>) -> Vec<f64>
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mean` is never used
[INFO] [stdout]    --> main.rs:206:4
[INFO] [stdout]     |
[INFO] [stdout] 206 | fn mean<N, T>(iter: T) -> N where
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `correlate` is never used
[INFO] [stdout]    --> main.rs:215:4
[INFO] [stdout]     |
[INFO] [stdout] 215 | fn correlate(max_tau: usize, tau: usize, vec: &Vec<f64>) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `quadrance`, `norm`, and `normalise` are never used
[INFO] [stdout]   --> v3.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> V3<T> {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn quadrance(&self) -> T where
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn norm(&self) -> T where
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn normalise(&self) -> Self where
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `zero`, `exp`, and `to_value` are never used
[INFO] [stdout]   --> log_float.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl<T: Copy + num_traits::Float> LogFloat<T> {
[INFO] [stdout]    | --------------------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn zero() -> LogFloat<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn exp(&self) -> T {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn to_value(&self) -> T {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> main.rs:186:11
[INFO] [stdout]     |
[INFO] [stdout] 186 |           write_vec(path, tau_ts.iter().zip(&corrs));
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 186 |           let _ = write_vec(path, tau_ts.iter().zip(&corrs));
[INFO] [stdout]     |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> main.rs:186:11
[INFO] [stdout]     |
[INFO] [stdout] 186 |           write_vec(path, tau_ts.iter().zip(&corrs));
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 186 |           let _ = write_vec(path, tau_ts.iter().zip(&corrs));
[INFO] [stdout]     |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 5.70s
[INFO] running `Command { std: "docker" "inspect" "9e265be3faa411fbc54c3b97ce62338f2851cb1112e9f4b610648c05e8a00032", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e265be3faa411fbc54c3b97ce62338f2851cb1112e9f4b610648c05e8a00032", kill_on_drop: false }`
[INFO] [stdout] 9e265be3faa411fbc54c3b97ce62338f2851cb1112e9f4b610648c05e8a00032
[INFO] checking bgamari/fcs-sim-rs against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbgamari%2Ffcs-sim-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bgamari/fcs-sim-rs on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/bgamari/fcs-sim-rs
[INFO] finished tweaking git repo https://github.com/bgamari/fcs-sim-rs
[INFO] tweaked toml for git repo https://github.com/bgamari/fcs-sim-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/bgamari/fcs-sim-rs 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 94bddb92353b3aafb8f412a0dec87abe5cbabc4275b110121210140498d3b66a
[INFO] running `Command { std: "docker" "start" "-a" "94bddb92353b3aafb8f412a0dec87abe5cbabc4275b110121210140498d3b66a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94bddb92353b3aafb8f412a0dec87abe5cbabc4275b110121210140498d3b66a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94bddb92353b3aafb8f412a0dec87abe5cbabc4275b110121210140498d3b66a", kill_on_drop: false }`
[INFO] [stdout] 94bddb92353b3aafb8f412a0dec87abe5cbabc4275b110121210140498d3b66a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f7d66d288e7d2dc748e58089e7ec64e6e16ca9f7870a7cec9bc760949576698a
[INFO] running `Command { std: "docker" "start" "-a" "f7d66d288e7d2dc748e58089e7ec64e6e16ca9f7870a7cec9bc760949576698a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.54
[INFO] [stderr]    Compiling autocfg v0.1.2
[INFO] [stderr]     Checking rand_core v0.4.0
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]     Checking cfg-if v0.1.7
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]    Compiling typenum v1.10.0
[INFO] [stderr]    Compiling syn v0.15.34
[INFO] [stderr]    Compiling serde v1.0.91
[INFO] [stderr]    Compiling ryu v0.2.8
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking libm v0.1.2
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking matrixmultiply v0.2.2
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking num_cpus v1.10.0
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking csv-core v0.1.5
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking generic-array v0.12.0
[INFO] [stderr]     Checking alga v0.9.1
[INFO] [stderr]     Checking nalgebra v0.18.0
[INFO] [stderr]    Compiling serde_derive v1.0.91
[INFO] [stderr]     Checking csv v1.0.7
[INFO] [stderr]     Checking rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> main.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |     use std::vec::Vec;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/7622c0f807a4e13c4db886a1681bf343795692df/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `Vec` is already defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]    --> main.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 |     use std::convert::From;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/7622c0f807a4e13c4db886a1681bf343795692df/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `Vec` is imported redundantly
[INFO] [stdout]    --> main.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |     use std::vec::Vec;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/7622c0f807a4e13c4db886a1681bf343795692df/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `Vec` is already defined here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]    --> main.rs:210:9
[INFO] [stdout]     |
[INFO] [stdout] 210 |     use std::convert::From;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    --> /rustc/7622c0f807a4e13c4db886a1681bf343795692df/library/std/src/prelude/mod.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout]     = note: the item `From` is already defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Float`
[INFO] [stdout]  --> v3.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_traits::{Num, Float};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Float`
[INFO] [stdout]  --> v3.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use num_traits::{Num, Float};
[INFO] [stdout]   |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]    --> main.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let results: Vec<Vec<LogFloat<f64>>> = sample_idxs.par_iter().map(|i| {
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]    --> main.rs:160:9
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let results: Vec<Vec<LogFloat<f64>>> = sample_idxs.par_iter().map(|i| {
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `norm_corr` is never used
[INFO] [stdout]    --> main.rs:191:4
[INFO] [stdout]     |
[INFO] [stdout] 191 | fn norm_corr(corr: &Vec<LogFloat<f64>>) -> Vec<f64>
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mean` is never used
[INFO] [stdout]    --> main.rs:206:4
[INFO] [stdout]     |
[INFO] [stdout] 206 | fn mean<N, T>(iter: T) -> N where
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `correlate` is never used
[INFO] [stdout]    --> main.rs:215:4
[INFO] [stdout]     |
[INFO] [stdout] 215 | fn correlate(max_tau: usize, tau: usize, vec: &Vec<f64>) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `quadrance`, `norm`, and `normalise` are never used
[INFO] [stdout]   --> v3.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> V3<T> {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn quadrance(&self) -> T where
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn norm(&self) -> T where
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn normalise(&self) -> Self where
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `zero`, `exp`, and `to_value` are never used
[INFO] [stdout]   --> log_float.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl<T: Copy + num_traits::Float> LogFloat<T> {
[INFO] [stdout]    | --------------------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn zero() -> LogFloat<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn exp(&self) -> T {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn to_value(&self) -> T {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `norm_corr` is never used
[INFO] [stdout]    --> main.rs:191:4
[INFO] [stdout]     |
[INFO] [stdout] 191 | fn norm_corr(corr: &Vec<LogFloat<f64>>) -> Vec<f64>
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mean` is never used
[INFO] [stdout]    --> main.rs:206:4
[INFO] [stdout]     |
[INFO] [stdout] 206 | fn mean<N, T>(iter: T) -> N where
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `correlate` is never used
[INFO] [stdout]    --> main.rs:215:4
[INFO] [stdout]     |
[INFO] [stdout] 215 | fn correlate(max_tau: usize, tau: usize, vec: &Vec<f64>) -> f64 {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `quadrance`, `norm`, and `normalise` are never used
[INFO] [stdout]   --> v3.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl<T> V3<T> {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn quadrance(&self) -> T where
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn norm(&self) -> T where
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn normalise(&self) -> Self where
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `zero`, `exp`, and `to_value` are never used
[INFO] [stdout]   --> log_float.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl<T: Copy + num_traits::Float> LogFloat<T> {
[INFO] [stdout]    | --------------------------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn zero() -> LogFloat<T> {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn exp(&self) -> T {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn to_value(&self) -> T {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> main.rs:186:11
[INFO] [stdout]     |
[INFO] [stdout] 186 |           write_vec(path, tau_ts.iter().zip(&corrs));
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 186 |           let _ = write_vec(path, tau_ts.iter().zip(&corrs));
[INFO] [stdout]     |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> main.rs:186:11
[INFO] [stdout]     |
[INFO] [stdout] 186 |           write_vec(path, tau_ts.iter().zip(&corrs));
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 186 |           let _ = write_vec(path, tau_ts.iter().zip(&corrs));
[INFO] [stdout]     |           +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> v3.rs:8:41
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Clone, Copy, PartialEq, Serialize)]
[INFO] [stdout]   |                                         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_V3`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> v3.rs:8:41
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Debug, Clone, Copy, PartialEq, Serialize)]
[INFO] [stdout]   |                                         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_V3`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> log_float.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Clone, Copy, PartialEq, Serialize)]
[INFO] [stdout]   |                                         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_LogFloat`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> log_float.rs:4:41
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Clone, Copy, PartialEq, Serialize)]
[INFO] [stdout]   |                                         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_LogFloat`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust` (bin "rust" test) due to 3 previous errors; 10 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust` (bin "rust") due to 3 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f7d66d288e7d2dc748e58089e7ec64e6e16ca9f7870a7cec9bc760949576698a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7d66d288e7d2dc748e58089e7ec64e6e16ca9f7870a7cec9bc760949576698a", kill_on_drop: false }`
[INFO] [stdout] f7d66d288e7d2dc748e58089e7ec64e6e16ca9f7870a7cec9bc760949576698a
