[INFO] cloning repository https://github.com/jhourigan8/algobound
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jhourigan8/algobound" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhourigan8%2Falgobound", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhourigan8%2Falgobound'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 296e7a1232959f4cfdd47ce38d8260499983b585
[INFO] testing jhourigan8/algobound against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhourigan8%2Falgobound" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jhourigan8/algobound
[INFO] finished tweaking git repo https://github.com/jhourigan8/algobound
[INFO] tweaked toml for git repo https://github.com/jhourigan8/algobound written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jhourigan8/algobound on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jhourigan8/algobound 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7d90059a6056be41b54e77a2a0b635e5865fd36fb0d4fc24f69303bdbfabf636
[INFO] running `Command { std: "docker" "start" "-a" "7d90059a6056be41b54e77a2a0b635e5865fd36fb0d4fc24f69303bdbfabf636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d90059a6056be41b54e77a2a0b635e5865fd36fb0d4fc24f69303bdbfabf636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d90059a6056be41b54e77a2a0b635e5865fd36fb0d4fc24f69303bdbfabf636", kill_on_drop: false }`
[INFO] [stdout] 7d90059a6056be41b54e77a2a0b635e5865fd36fb0d4fc24f69303bdbfabf636
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c8274437ad45b6c2902acbb14be560c576558cf0ab0132ca29676a6794a4db71
[INFO] running `Command { std: "docker" "start" "-a" "c8274437ad45b6c2902acbb14be560c576558cf0ab0132ca29676a6794a4db71", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling pin-project-lite v0.2.12
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling syn v2.0.28
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rayon v1.8.1
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling algobound v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::SeedableRng`
[INFO] [stdout]  --> src/precomp.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::SeedableRng;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/precomp.rs:166:23
[INFO] [stdout]     |
[INFO] [stdout] 166 |             let val = (min + i as f64 * self.f.error);
[INFO] [stdout]     |                       ^                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 166 -             let val = (min + i as f64 * self.f.error);
[INFO] [stdout] 166 +             let val = min + i as f64 * self.f.error ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::array`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::array;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]   --> src/main.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::time::{Instant, SystemTime};
[INFO] [stdout]    |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opposite`
[INFO] [stdout]    --> src/main.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 |             let opposite = &!rounding.clone();
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eta`
[INFO] [stdout]    --> src/main.rs:214:19
[INFO] [stdout]     |
[INFO] [stdout] 214 |     adv_cdf: Cdf, eta: f64, beta: f64, rounding: Rounding
[INFO] [stdout]     |                   ^^^ help: if this is intentional, prefix it with an underscore: `_eta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rounding`
[INFO] [stdout]    --> src/main.rs:214:40
[INFO] [stdout]     |
[INFO] [stdout] 214 |     adv_cdf: Cdf, eta: f64, beta: f64, rounding: Rounding
[INFO] [stdout]     |                                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:281:10
[INFO] [stdout]     |
[INFO] [stdout] 281 |     for (i, handle) in handles.into_iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `samp_scale`
[INFO] [stdout]    --> src/main.rs:439:72
[INFO] [stdout]     |
[INFO] [stdout] 439 |     alpha: f64, beta: f64, chernoff_error: f64, mut target_width: f64, samp_scale: f64, rounding: Rounding
[INFO] [stdout]     |                                                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samp_scale`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `alpha` and `beta` are never read
[INFO] [stdout]    --> src/main.rs:378:5
[INFO] [stdout]     |
[INFO] [stdout] 377 | struct SimResult {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] 378 |     alpha: f64,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 379 |     beta: f64,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SimResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_idx` is never used
[INFO] [stdout]   --> src/precomp.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<T: std::fmt::Debug> ApproxFunc<T> {
[INFO] [stdout]    | -------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn set_idx(&mut self, i: usize, y: T) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `mul_const` and `add` are never used
[INFO] [stdout]   --> src/precomp.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl ApproxFunc<f64> {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] 74 |     /// Scale the outputs of `self` by `c`.
[INFO] [stdout] 75 |     pub fn mul_const(&mut self, c: f64) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn add(&mut self, other: &ApproxFunc<f64>) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `moment` is never used
[INFO] [stdout]    --> src/precomp.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl Cdf {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn moment(&self, k: i32) -> f64 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_table` and `to_table_helper` are never used
[INFO] [stdout]    --> src/precomp.rs:241:18
[INFO] [stdout]     |
[INFO] [stdout] 219 | impl Emax {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 241 |     pub async fn to_table(self, error: f64, beta: f64, rounding: Rounding) -> Table {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     async fn to_table_helper(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Table` is never constructed
[INFO] [stdout]    --> src/precomp.rs:302:12
[INFO] [stdout]     |
[INFO] [stdout] 302 | pub struct Table {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]    --> src/precomp.rs:308:12
[INFO] [stdout]     |
[INFO] [stdout] 306 | impl Table {
[INFO] [stdout]     | ---------- method in this implementation
[INFO] [stdout] 307 |     /// Get a reference to the value (`theta`, `gamma`) is mapped to.
[INFO] [stdout] 308 |     pub fn get(&self, theta: f64, gamma: f64, rounding_theta: &Rounding, rounding_gamma: &Rounding) -> &f64 {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DELTA` is never used
[INFO] [stdout]    --> src/main.rs:630:11
[INFO] [stdout]     |
[INFO] [stdout] 630 |     const DELTA: f64 = 0.000001;
[INFO] [stdout]     |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assert_approx_eq` is never used
[INFO] [stdout]    --> src/main.rs:632:8
[INFO] [stdout]     |
[INFO] [stdout] 632 |     fn assert_approx_eq(a: &f64, b: &f64) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `uniform_dist` is never used
[INFO] [stdout]    --> src/main.rs:638:14
[INFO] [stdout]     |
[INFO] [stdout] 638 |     async fn uniform_dist() -> Pdf {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.17s
[INFO] running `Command { std: "docker" "inspect" "c8274437ad45b6c2902acbb14be560c576558cf0ab0132ca29676a6794a4db71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8274437ad45b6c2902acbb14be560c576558cf0ab0132ca29676a6794a4db71", kill_on_drop: false }`
[INFO] [stdout] c8274437ad45b6c2902acbb14be560c576558cf0ab0132ca29676a6794a4db71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a7c4c6f77c97640acf1f654b96cbc5bd6bfd61509ba3ad9b3b6c94c5dc3c4cda
[INFO] running `Command { std: "docker" "start" "-a" "a7c4c6f77c97640acf1f654b96cbc5bd6bfd61509ba3ad9b3b6c94c5dc3c4cda", kill_on_drop: false }`
[INFO] [stderr]    Compiling algobound v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/precomp.rs:166:23
[INFO] [stdout]     |
[INFO] [stdout] 166 |             let val = (min + i as f64 * self.f.error);
[INFO] [stdout]     |                       ^                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 166 -             let val = (min + i as f64 * self.f.error);
[INFO] [stdout] 166 +             let val = min + i as f64 * self.f.error ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::array`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::array;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemTime`
[INFO] [stdout]   --> src/main.rs:10:26
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::time::{Instant, SystemTime};
[INFO] [stdout]    |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `opposite`
[INFO] [stdout]    --> src/main.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 |             let opposite = &!rounding.clone();
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eta`
[INFO] [stdout]    --> src/main.rs:214:19
[INFO] [stdout]     |
[INFO] [stdout] 214 |     adv_cdf: Cdf, eta: f64, beta: f64, rounding: Rounding
[INFO] [stdout]     |                   ^^^ help: if this is intentional, prefix it with an underscore: `_eta`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rounding`
[INFO] [stdout]    --> src/main.rs:214:40
[INFO] [stdout]     |
[INFO] [stdout] 214 |     adv_cdf: Cdf, eta: f64, beta: f64, rounding: Rounding
[INFO] [stdout]     |                                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:281:10
[INFO] [stdout]     |
[INFO] [stdout] 281 |     for (i, handle) in handles.into_iter().enumerate() {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `samp_scale`
[INFO] [stdout]    --> src/main.rs:439:72
[INFO] [stdout]     |
[INFO] [stdout] 439 |     alpha: f64, beta: f64, chernoff_error: f64, mut target_width: f64, samp_scale: f64, rounding: Rounding
[INFO] [stdout]     |                                                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samp_scale`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:805:13
[INFO] [stdout]     |
[INFO] [stdout] 805 |         for i in 0..10 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `alpha` and `beta` are never read
[INFO] [stdout]    --> src/main.rs:378:5
[INFO] [stdout]     |
[INFO] [stdout] 377 | struct SimResult {
[INFO] [stdout]     |        --------- fields in this struct
[INFO] [stdout] 378 |     alpha: f64,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 379 |     beta: f64,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SimResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_idx` is never used
[INFO] [stdout]   --> src/precomp.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<T: std::fmt::Debug> ApproxFunc<T> {
[INFO] [stdout]    | -------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn set_idx(&mut self, i: usize, y: T) -> Option<T> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `mul_const` and `add` are never used
[INFO] [stdout]   --> src/precomp.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl ApproxFunc<f64> {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] 74 |     /// Scale the outputs of `self` by `c`.
[INFO] [stdout] 75 |     pub fn mul_const(&mut self, c: f64) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     pub fn add(&mut self, other: &ApproxFunc<f64>) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `moment` is never used
[INFO] [stdout]    --> src/precomp.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl Cdf {
[INFO] [stdout]     | -------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn moment(&self, k: i32) -> f64 {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s
[INFO] running `Command { std: "docker" "inspect" "a7c4c6f77c97640acf1f654b96cbc5bd6bfd61509ba3ad9b3b6c94c5dc3c4cda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7c4c6f77c97640acf1f654b96cbc5bd6bfd61509ba3ad9b3b6c94c5dc3c4cda", kill_on_drop: false }`
[INFO] [stdout] a7c4c6f77c97640acf1f654b96cbc5bd6bfd61509ba3ad9b3b6c94c5dc3c4cda
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5ae6969207b99f1525bdf0d17199439fdf3d9909792e2f8a97d2f09705b4d12e
[INFO] running `Command { std: "docker" "start" "-a" "5ae6969207b99f1525bdf0d17199439fdf3d9909792e2f8a97d2f09705b4d12e", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> src/precomp.rs:166:23
[INFO] [stderr]     |
[INFO] [stderr] 166 |             let val = (min + i as f64 * self.f.error);
[INFO] [stderr]     |                       ^                             ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 166 -             let val = (min + i as f64 * self.f.error);
[INFO] [stderr] 166 +             let val = min + i as f64 * self.f.error ;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::array`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use core::array;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SystemTime`
[INFO] [stderr]   --> src/main.rs:10:26
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::time::{Instant, SystemTime};
[INFO] [stderr]    |                          ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs::File`
[INFO] [stderr]   --> src/main.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use std::fs::File;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `opposite`
[INFO] [stderr]    --> src/main.rs:158:17
[INFO] [stderr]     |
[INFO] [stderr] 158 |             let opposite = &!rounding.clone();
[INFO] [stderr]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `eta`
[INFO] [stderr]    --> src/main.rs:214:19
[INFO] [stderr]     |
[INFO] [stderr] 214 |     adv_cdf: Cdf, eta: f64, beta: f64, rounding: Rounding
[INFO] [stderr]     |                   ^^^ help: if this is intentional, prefix it with an underscore: `_eta`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rounding`
[INFO] [stderr]    --> src/main.rs:214:40
[INFO] [stderr]     |
[INFO] [stderr] 214 |     adv_cdf: Cdf, eta: f64, beta: f64, rounding: Rounding
[INFO] [stderr]     |                                        ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rounding`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/main.rs:281:10
[INFO] [stderr]     |
[INFO] [stderr] 281 |     for (i, handle) in handles.into_iter().enumerate() {
[INFO] [stderr]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `samp_scale`
[INFO] [stderr]    --> src/main.rs:439:72
[INFO] [stderr]     |
[INFO] [stderr] 439 |     alpha: f64, beta: f64, chernoff_error: f64, mut target_width: f64, samp_scale: f64, rounding: Rounding
[INFO] [stderr]     |                                                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_samp_scale`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/main.rs:805:13
[INFO] [stderr]     |
[INFO] [stderr] 805 |         for i in 0..10 {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `alpha` and `beta` are never read
[INFO] [stderr]    --> src/main.rs:378:5
[INFO] [stderr]     |
[INFO] [stderr] 377 | struct SimResult {
[INFO] [stderr]     |        --------- fields in this struct
[INFO] [stderr] 378 |     alpha: f64,
[INFO] [stderr]     |     ^^^^^
[INFO] [stderr] 379 |     beta: f64,
[INFO] [stderr]     |     ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `SimResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `set_idx` is never used
[INFO] [stderr]   --> src/precomp.rs:57:12
[INFO] [stderr]    |
[INFO] [stderr] 37 | impl<T: std::fmt::Debug> ApproxFunc<T> {
[INFO] [stderr]    | -------------------------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 57 |     pub fn set_idx(&mut self, i: usize, y: T) -> Option<T> {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `mul_const` and `add` are never used
[INFO] [stderr]   --> src/precomp.rs:75:12
[INFO] [stderr]    |
[INFO] [stderr] 73 | impl ApproxFunc<f64> {
[INFO] [stderr]    | -------------------- methods in this implementation
[INFO] [stderr] 74 |     /// Scale the outputs of `self` by `c`.
[INFO] [stderr] 75 |     pub fn mul_const(&mut self, c: f64) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 82 |     pub fn add(&mut self, other: &ApproxFunc<f64>) {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `moment` is never used
[INFO] [stderr]    --> src/precomp.rs:160:12
[INFO] [stderr]     |
[INFO] [stderr] 146 | impl Cdf {
[INFO] [stderr]     | -------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 160 |     pub fn moment(&self, k: i32) -> f64 {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `algobound` (bin "algobound" test) generated 14 warnings (run `cargo fix --bin "algobound" -p algobound --tests` to apply 10 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/algobound-714934e691d299d2)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test tests::flate ... ok
[INFO] [stdout] test precomp::tests::approx_func ... ok
[INFO] [stdout] test precomp::tests::samples ... ok
[INFO] [stdout] test precomp::tests::pdf ... ok
[INFO] [stdout] test tests::expo_dist ... ok
[INFO] [stdout] test precomp::tests::emax ... ok
[INFO] [stdout] test precomp::tests::cdf ... ok
[INFO] [stdout] test tests::adv_draw ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "5ae6969207b99f1525bdf0d17199439fdf3d9909792e2f8a97d2f09705b4d12e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ae6969207b99f1525bdf0d17199439fdf3d9909792e2f8a97d2f09705b4d12e", kill_on_drop: false }`
[INFO] [stdout] 5ae6969207b99f1525bdf0d17199439fdf3d9909792e2f8a97d2f09705b4d12e
