[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] checking jhourigan8/algobound against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhourigan8%2Falgobound" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jhourigan8/algobound on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c034482f08e17c1127ecdd4a0ccb7d976381d379b9f81e0a29f4ad3b68ffef47 [INFO] running `Command { std: "docker" "start" "-a" "c034482f08e17c1127ecdd4a0ccb7d976381d379b9f81e0a29f4ad3b68ffef47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c034482f08e17c1127ecdd4a0ccb7d976381d379b9f81e0a29f4ad3b68ffef47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c034482f08e17c1127ecdd4a0ccb7d976381d379b9f81e0a29f4ad3b68ffef47", kill_on_drop: false }` [INFO] [stdout] c034482f08e17c1127ecdd4a0ccb7d976381d379b9f81e0a29f4ad3b68ffef47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1abe8f2fb941b8f804686a940fe152185d6b974a6f657dc3924bc40e4246a120 [INFO] running `Command { std: "docker" "start" "-a" "1abe8f2fb941b8f804686a940fe152185d6b974a6f657dc3924bc40e4246a120", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking 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)]` 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)]` 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: 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)]` 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)]` 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: `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] = note: `#[warn(unused_variables)]` on by default [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: `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] = note: `#[warn(unused_variables)]` on by default [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: `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: `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] [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)]` 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 ApproxFunc { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn set_idx(&mut self, i: usize, y: T) -> Option { [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 { [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) { [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: field `f` is never read [INFO] [stdout] --> src/precomp.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 302 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 303 | f: ApproxFunc> [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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] [stdout] warning: 20 warnings emitted [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] [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)]` 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 ApproxFunc { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn set_idx(&mut self, i: usize, y: T) -> Option { [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 { [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) { [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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `Command { std: "docker" "inspect" "1abe8f2fb941b8f804686a940fe152185d6b974a6f657dc3924bc40e4246a120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1abe8f2fb941b8f804686a940fe152185d6b974a6f657dc3924bc40e4246a120", kill_on_drop: false }` [INFO] [stdout] 1abe8f2fb941b8f804686a940fe152185d6b974a6f657dc3924bc40e4246a120 [INFO] checking jhourigan8/algobound against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [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] validating manifest of git repo https://github.com/jhourigan8/algobound on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b00a3dd6deea3c4685a8824463f5df577054f09d29b01f60c259ae2579901ad [INFO] running `Command { std: "docker" "start" "-a" "5b00a3dd6deea3c4685a8824463f5df577054f09d29b01f60c259ae2579901ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b00a3dd6deea3c4685a8824463f5df577054f09d29b01f60c259ae2579901ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b00a3dd6deea3c4685a8824463f5df577054f09d29b01f60c259ae2579901ad", kill_on_drop: false }` [INFO] [stdout] 5b00a3dd6deea3c4685a8824463f5df577054f09d29b01f60c259ae2579901ad [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f6018634369577773855373294d70076618cb3b304ea403977fcbdc92eb8ef6 [INFO] running `Command { std: "docker" "start" "-a" "6f6018634369577773855373294d70076618cb3b304ea403977fcbdc92eb8ef6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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] Checking either v1.10.0 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking algobound v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/precomp.rs (1 fix) [INFO] [stderr] Fixed src/main.rs (3 fixes) [INFO] [stdout] warning: unused variable: `eta` [INFO] [stdout] --> src/main.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/main.rs:212:40 [INFO] [stdout] | [INFO] [stdout] 212 | 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:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | 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: `opposite` [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let opposite = &!rounding.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samp_scale` [INFO] [stdout] --> src/main.rs:437:72 [INFO] [stdout] | [INFO] [stdout] 437 | 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:803:13 [INFO] [stdout] | [INFO] [stdout] 803 | 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:376:5 [INFO] [stdout] | [INFO] [stdout] 375 | struct SimResult { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 376 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 377 | 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)]` 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 ApproxFunc { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn set_idx(&mut self, i: usize, y: T) -> Option { [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 { [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) { [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/precomp.rs (1 fix) [INFO] [stdout] warning: unused variable: `eta` [INFO] [stdout] --> src/main.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/main.rs:212:40 [INFO] [stdout] | [INFO] [stdout] 212 | 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:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | 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: `opposite` [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let opposite = &!rounding.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samp_scale` [INFO] [stdout] --> src/main.rs:437:72 [INFO] [stdout] | [INFO] [stdout] 437 | 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:376:5 [INFO] [stdout] | [INFO] [stdout] 375 | struct SimResult { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 376 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 377 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_idx` is never used [INFO] [stdout] --> src/precomp.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl ApproxFunc { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_idx(&mut self, i: usize, y: T) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mul_const` and `add` are never used [INFO] [stdout] --> src/precomp.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl ApproxFunc { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 73 | /// Scale the outputs of `self` by `c`. [INFO] [stdout] 74 | pub fn mul_const(&mut self, c: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn add(&mut self, other: &ApproxFunc) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moment` is never used [INFO] [stdout] --> src/precomp.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl Cdf { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | 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:240:18 [INFO] [stdout] | [INFO] [stdout] 218 | impl Emax { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub async fn to_table(self, error: f64, beta: f64, rounding: Rounding) -> Table { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | async fn to_table_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `f` is never read [INFO] [stdout] --> src/precomp.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 302 | f: ApproxFunc> [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/precomp.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 305 | impl Table { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 306 | /// Get a reference to the value (`theta`, `gamma`) is mapped to. [INFO] [stdout] 307 | 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:628:11 [INFO] [stdout] | [INFO] [stdout] 628 | 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:630:8 [INFO] [stdout] | [INFO] [stdout] 630 | 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:636:14 [INFO] [stdout] | [INFO] [stdout] 636 | async fn uniform_dist() -> Pdf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.26s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking algobound v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused variable: `eta` [INFO] [stdout] --> src/main.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/main.rs:212:40 [INFO] [stdout] | [INFO] [stdout] 212 | 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: `eta` [INFO] [stdout] --> src/main.rs:212:19 [INFO] [stdout] | [INFO] [stdout] 212 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rounding` [INFO] [stdout] --> src/main.rs:212:40 [INFO] [stdout] | [INFO] [stdout] 212 | 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:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | 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: `i` [INFO] [stdout] --> src/main.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | 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: `opposite` [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let opposite = &!rounding.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samp_scale` [INFO] [stdout] --> src/main.rs:437:72 [INFO] [stdout] | [INFO] [stdout] 437 | 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] error[E0599]: no function or associated item named `from_entropy` found for struct `SmallRng` in the current scope [INFO] [stdout] --> src/precomp.rs:439:45 [INFO] [stdout] | [INFO] [stdout] 439 | let mut rng = rand::rngs::SmallRng::from_entropy(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `SmallRng` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is an associated function `from_rng` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rand_core-0.6.4/src/lib.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | fn from_rng(mut rng: R) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `SeedableRng` which provides `from_entropy` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 314 + use rand::SeedableRng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `alpha` and `beta` are never read [INFO] [stdout] --> src/main.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 375 | struct SimResult { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 376 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 377 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_idx` is never used [INFO] [stdout] --> src/precomp.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl ApproxFunc { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn set_idx(&mut self, i: usize, y: T) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `mul_const` and `add` are never used [INFO] [stdout] --> src/precomp.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl ApproxFunc { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 73 | /// Scale the outputs of `self` by `c`. [INFO] [stdout] 74 | pub fn mul_const(&mut self, c: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn add(&mut self, other: &ApproxFunc) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `moment` is never used [INFO] [stdout] --> src/precomp.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 145 | impl Cdf { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | 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:240:18 [INFO] [stdout] | [INFO] [stdout] 218 | impl Emax { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub async fn to_table(self, error: f64, beta: f64, rounding: Rounding) -> Table { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | async fn to_table_helper( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `f` is never read [INFO] [stdout] --> src/precomp.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct Table { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 302 | f: ApproxFunc> [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Table` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/precomp.rs:307:12 [INFO] [stdout] | [INFO] [stdout] 305 | impl Table { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 306 | /// Get a reference to the value (`theta`, `gamma`) is mapped to. [INFO] [stdout] 307 | 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:628:11 [INFO] [stdout] | [INFO] [stdout] 628 | 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:630:8 [INFO] [stdout] | [INFO] [stdout] 630 | 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:636:14 [INFO] [stdout] | [INFO] [stdout] 636 | async fn uniform_dist() -> Pdf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opposite` [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | let opposite = &!rounding.clone(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opposite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `samp_scale` [INFO] [stdout] --> src/main.rs:437:72 [INFO] [stdout] | [INFO] [stdout] 437 | 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:803:13 [INFO] [stdout] | [INFO] [stdout] 803 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `algobound` (bin "algobound" test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6f6018634369577773855373294d70076618cb3b304ea403977fcbdc92eb8ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f6018634369577773855373294d70076618cb3b304ea403977fcbdc92eb8ef6", kill_on_drop: false }` [INFO] [stdout] 6f6018634369577773855373294d70076618cb3b304ea403977fcbdc92eb8ef6