[INFO] cloning repository https://github.com/finn-rudolph/rhok [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/finn-rudolph/rhok" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinn-rudolph%2Frhok", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinn-rudolph%2Frhok'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b413650409ecc5bc33febafb6064e88d10a1cb8 [INFO] checking finn-rudolph/rhok against try#028201683a76a5cd349729c6819c46607119c4e8 for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffinn-rudolph%2Frhok" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/finn-rudolph/rhok [INFO] finished tweaking git repo https://github.com/finn-rudolph/rhok [INFO] tweaked toml for git repo https://github.com/finn-rudolph/rhok written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/finn-rudolph/rhok on toolchain 028201683a76a5cd349729c6819c46607119c4e8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/finn-rudolph/rhok 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" "+028201683a76a5cd349729c6819c46607119c4e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1129217bcaaa847b72cb53f265e6cdb6346ceab19c45a6a44f1e0cf49fccc52 [INFO] running `Command { std: "docker" "start" "-a" "e1129217bcaaa847b72cb53f265e6cdb6346ceab19c45a6a44f1e0cf49fccc52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1129217bcaaa847b72cb53f265e6cdb6346ceab19c45a6a44f1e0cf49fccc52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1129217bcaaa847b72cb53f265e6cdb6346ceab19c45a6a44f1e0cf49fccc52", kill_on_drop: false }` [INFO] [stdout] e1129217bcaaa847b72cb53f265e6cdb6346ceab19c45a6a44f1e0cf49fccc52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+028201683a76a5cd349729c6819c46607119c4e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7fd694dad40ef4b5bc8b58d91cb0b32526e99b23a162407123e4173d00be5f5 [INFO] running `Command { std: "docker" "start" "-a" "b7fd694dad40ef4b5bc8b58d91cb0b32526e99b23a162407123e4173d00be5f5", kill_on_drop: false }` [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling rug v1.24.0 [INFO] [stderr] Checking rhok v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/formula.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | x.iter().fold(1, |a, b| (a * (b / gcd(a, *b)))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - x.iter().fold(1, |a, b| (a * (b / gcd(a, *b)))) [INFO] [stdout] 96 + x.iter().fold(1, |a, b| a * (b / gcd(a, *b))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/formula.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | x.iter().fold(1, |a, b| (a * (b / gcd(a, *b)))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - x.iter().fold(1, |a, b| (a * (b / gcd(a, *b)))) [INFO] [stdout] 96 + x.iter().fold(1, |a, b| a * (b / gcd(a, *b))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `divisors` is never read [INFO] [stdout] --> src/formula.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Phi { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 8 | phi: Vec, [INFO] [stdout] 9 | divisors: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `divisors` is never read [INFO] [stdout] --> src/formula.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Phi { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 8 | phi: Vec, [INFO] [stdout] 9 | divisors: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `divisors` and `gcd_probability` are never used [INFO] [stdout] --> src/formula.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Phi { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | fn divisors(&self, n: u64) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn gcd_probability(&self, n: u64, d: u64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `divisors` and `gcd_probability` are never used [INFO] [stdout] --> src/formula.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Phi { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | fn divisors(&self, n: u64) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn gcd_probability(&self, n: u64, d: u64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 42s [INFO] running `Command { std: "docker" "inspect" "b7fd694dad40ef4b5bc8b58d91cb0b32526e99b23a162407123e4173d00be5f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7fd694dad40ef4b5bc8b58d91cb0b32526e99b23a162407123e4173d00be5f5", kill_on_drop: false }` [INFO] [stdout] b7fd694dad40ef4b5bc8b58d91cb0b32526e99b23a162407123e4173d00be5f5