[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#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhourigan8%2Falgobound" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jhourigan8/algobound on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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-0-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43e2e09c7e9731a3be9ab33a0823ed85bab970393e87cfde6994e3fee0f8b4fe [INFO] running `Command { std: "docker" "start" "-a" "43e2e09c7e9731a3be9ab33a0823ed85bab970393e87cfde6994e3fee0f8b4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43e2e09c7e9731a3be9ab33a0823ed85bab970393e87cfde6994e3fee0f8b4fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43e2e09c7e9731a3be9ab33a0823ed85bab970393e87cfde6994e3fee0f8b4fe", kill_on_drop: false }` [INFO] [stdout] 43e2e09c7e9731a3be9ab33a0823ed85bab970393e87cfde6994e3fee0f8b4fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e55e547fd8eb83990f4288440eddb0114e362fb3ca3809b09694f98295a0d38 [INFO] running `Command { std: "docker" "start" "-a" "6e55e547fd8eb83990f4288440eddb0114e362fb3ca3809b09694f98295a0d38", kill_on_drop: false }` [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] Checking either v1.10.0 [INFO] [stderr] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand v0.8.5 [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 6.89s [INFO] running `Command { std: "docker" "inspect" "6e55e547fd8eb83990f4288440eddb0114e362fb3ca3809b09694f98295a0d38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e55e547fd8eb83990f4288440eddb0114e362fb3ca3809b09694f98295a0d38", kill_on_drop: false }` [INFO] [stdout] 6e55e547fd8eb83990f4288440eddb0114e362fb3ca3809b09694f98295a0d38 [INFO] checking jhourigan8/algobound against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjhourigan8%2Falgobound" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jhourigan8/algobound on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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-0-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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e80aacdc1e8ee2f2ea07ea18426ead8fbbb4deada461280bcb2a92bdac85d84 [INFO] running `Command { std: "docker" "start" "-a" "8e80aacdc1e8ee2f2ea07ea18426ead8fbbb4deada461280bcb2a92bdac85d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e80aacdc1e8ee2f2ea07ea18426ead8fbbb4deada461280bcb2a92bdac85d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e80aacdc1e8ee2f2ea07ea18426ead8fbbb4deada461280bcb2a92bdac85d84", kill_on_drop: false }` [INFO] [stdout] 8e80aacdc1e8ee2f2ea07ea18426ead8fbbb4deada461280bcb2a92bdac85d84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 825c7c2421ce0072f07626ab3363a705184a5d7f58d96fe387e007afc1412d7c [INFO] running `Command { std: "docker" "start" "-a" "825c7c2421ce0072f07626ab3363a705184a5d7f58d96fe387e007afc1412d7c", kill_on_drop: false }` [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] Checking pin-project-lite v0.2.12 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [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: 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 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: 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: `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: `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: `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: 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.42s [INFO] running `Command { std: "docker" "inspect" "825c7c2421ce0072f07626ab3363a705184a5d7f58d96fe387e007afc1412d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "825c7c2421ce0072f07626ab3363a705184a5d7f58d96fe387e007afc1412d7c", kill_on_drop: false }` [INFO] [stdout] 825c7c2421ce0072f07626ab3363a705184a5d7f58d96fe387e007afc1412d7c