[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [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 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded either v1.10.0 [INFO] [stderr] Downloaded rayon v1.8.1 [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8486b03d91baccf3e23a23fd6d40a617b54c2ec89f16a76c6935f6c6a3497fb3 [INFO] running `Command { std: "docker" "start" "-a" "8486b03d91baccf3e23a23fd6d40a617b54c2ec89f16a76c6935f6c6a3497fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8486b03d91baccf3e23a23fd6d40a617b54c2ec89f16a76c6935f6c6a3497fb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8486b03d91baccf3e23a23fd6d40a617b54c2ec89f16a76c6935f6c6a3497fb3", kill_on_drop: false }` [INFO] [stdout] 8486b03d91baccf3e23a23fd6d40a617b54c2ec89f16a76c6935f6c6a3497fb3 [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 527142ddcaa7313dae8ef69868d29ae6265fa69ec663ac457cacf0852d8f1480 [INFO] running `Command { std: "docker" "start" "-a" "527142ddcaa7313dae8ef69868d29ae6265fa69ec663ac457cacf0852d8f1480", kill_on_drop: false }` [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 crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking rand v0.8.5 [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: `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: `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.69s [INFO] running `Command { std: "docker" "inspect" "527142ddcaa7313dae8ef69868d29ae6265fa69ec663ac457cacf0852d8f1480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "527142ddcaa7313dae8ef69868d29ae6265fa69ec663ac457cacf0852d8f1480", kill_on_drop: false }` [INFO] [stdout] 527142ddcaa7313dae8ef69868d29ae6265fa69ec663ac457cacf0852d8f1480 [INFO] checking jhourigan8/algobound against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [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 f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 866e9005195623bdafc5a70771c0041c6c2d45aa3b31b85ccbea55d4c2a284e5 [INFO] running `Command { std: "docker" "start" "-a" "866e9005195623bdafc5a70771c0041c6c2d45aa3b31b85ccbea55d4c2a284e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "866e9005195623bdafc5a70771c0041c6c2d45aa3b31b85ccbea55d4c2a284e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "866e9005195623bdafc5a70771c0041c6c2d45aa3b31b85ccbea55d4c2a284e5", kill_on_drop: false }` [INFO] [stdout] 866e9005195623bdafc5a70771c0041c6c2d45aa3b31b85ccbea55d4c2a284e5 [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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e9255a81236e1dc26a18b6079ba436f77f10b08fa73c252868fe1e53a196e45 [INFO] running `Command { std: "docker" "start" "-a" "6e9255a81236e1dc26a18b6079ba436f77f10b08fa73c252868fe1e53a196e45", kill_on_drop: false }` [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] Compiling quote v1.0.32 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand v0.8.5 [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: 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/precomp.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn set_idx(&mut self, i: usize, y: T) -> Option { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | Some(mem::replace(&mut self.vals[i], y)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `algobound` (bin "algobound") due to 2 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/precomp.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn set_idx(&mut self, i: usize, y: T) -> Option { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | Some(mem::replace(&mut self.vals[i], y)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `algobound` (bin "algobound" test) due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6e9255a81236e1dc26a18b6079ba436f77f10b08fa73c252868fe1e53a196e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e9255a81236e1dc26a18b6079ba436f77f10b08fa73c252868fe1e53a196e45", kill_on_drop: false }` [INFO] [stdout] 6e9255a81236e1dc26a18b6079ba436f77f10b08fa73c252868fe1e53a196e45