[INFO] cloning repository https://github.com/ponzu840w/calctus-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ponzu840w/calctus-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponzu840w%2Fcalctus-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponzu840w%2Fcalctus-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b242625000fb60e0d75d7be0ccb7d1fc181e113 [INFO] checking ponzu840w/calctus-rs against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponzu840w%2Fcalctus-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ponzu840w/calctus-rs [INFO] finished tweaking git repo https://github.com/ponzu840w/calctus-rs [INFO] tweaked toml for git repo https://github.com/ponzu840w/calctus-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ponzu840w/calctus-rs on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ponzu840w/calctus-rs 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8256a3356f1d6849f68e7689463cf9a3478a44e3c9c96a514cf611ea7ae35a41 [INFO] running `Command { std: "docker" "start" "-a" "8256a3356f1d6849f68e7689463cf9a3478a44e3c9c96a514cf611ea7ae35a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8256a3356f1d6849f68e7689463cf9a3478a44e3c9c96a514cf611ea7ae35a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8256a3356f1d6849f68e7689463cf9a3478a44e3c9c96a514cf611ea7ae35a41", kill_on_drop: false }` [INFO] [stdout] 8256a3356f1d6849f68e7689463cf9a3478a44e3c9c96a514cf611ea7ae35a41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e1d3a1dfd4f73ad7d3d24638a74e6f09e94ed2bea0e785304d18f8660b0930d [INFO] running `Command { std: "docker" "start" "-a" "3e1d3a1dfd4f73ad7d3d24638a74e6f09e94ed2bea0e785304d18f8660b0930d", kill_on_drop: false }` [INFO] [stderr] Checking calctus-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ufixed113.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | let (mut dividend_aligned, dividend_shift) = self.align(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div1_q` [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | let (div1_q, div1_r) = val_1_5.checked_div_rem(val_0_5)?; // 1.5 / 0.5 = 3.0. Overflows Q1.112. Expected Q=1.0 (max for pos), Rem=1.0 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_div1_q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div1_r` [INFO] [stdout] --> src/main.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | let (div1_q, div1_r) = val_1_5.checked_div_rem(val_0_5)?; // 1.5 / 0.5 = 3.0. Overflows Q1.112. Expected Q=1.0 (max for pos), Rem=1.0 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_div1_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_1_0` [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let val_1_0 = Ufixed113::ONE; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_1_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_0_333_approx` [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let val_0_333_approx = Ufixed113::try_from(1.0/3.0)?; // Approximate 0.333... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_0_333_approx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div_0_5_by_0_25_q` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let div_0_5_by_0_25_q = val_0_5 / val_0_25; // 0.5 / 0.25 = 2.0. This should be ONE with carry if div produced it. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_div_0_5_by_0_25_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `truncated1` [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let truncated1 = val_1_5.truncate_right(1); // Clear LSB of fractional part (bit 111 of fraction) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncated1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_trunc3` [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let expected_trunc3 = Ufixed113::new(0,0,0,0,1); // Should be 1.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_trunc3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lower64_bits` is never used [INFO] [stdout] --> src/ufixed113.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Ufixed113 { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn lower64_bits(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ufixed113.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | let (mut dividend_aligned, dividend_shift) = self.align(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div1_q` [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | let (div1_q, div1_r) = val_1_5.checked_div_rem(val_0_5)?; // 1.5 / 0.5 = 3.0. Overflows Q1.112. Expected Q=1.0 (max for pos), Rem=1.0 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_div1_q` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div1_r` [INFO] [stdout] --> src/main.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | let (div1_q, div1_r) = val_1_5.checked_div_rem(val_0_5)?; // 1.5 / 0.5 = 3.0. Overflows Q1.112. Expected Q=1.0 (max for pos), Rem=1.0 [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_div1_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_1_0` [INFO] [stdout] --> src/main.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | let val_1_0 = Ufixed113::ONE; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_1_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val_0_333_approx` [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let val_0_333_approx = Ufixed113::try_from(1.0/3.0)?; // Approximate 0.333... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_val_0_333_approx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `div_0_5_by_0_25_q` [INFO] [stdout] --> src/main.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | let div_0_5_by_0_25_q = val_0_5 / val_0_25; // 0.5 / 0.25 = 2.0. This should be ONE with carry if div produced it. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_div_0_5_by_0_25_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `truncated1` [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let truncated1 = val_1_5.truncate_right(1); // Clear LSB of fractional part (bit 111 of fraction) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_truncated1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_trunc3` [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let expected_trunc3 = Ufixed113::new(0,0,0,0,1); // Should be 1.0 [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_trunc3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `lower64_bits` is never used [INFO] [stdout] --> src/ufixed113.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Ufixed113 { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn lower64_bits(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "3e1d3a1dfd4f73ad7d3d24638a74e6f09e94ed2bea0e785304d18f8660b0930d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1d3a1dfd4f73ad7d3d24638a74e6f09e94ed2bea0e785304d18f8660b0930d", kill_on_drop: false }` [INFO] [stdout] 3e1d3a1dfd4f73ad7d3d24638a74e6f09e94ed2bea0e785304d18f8660b0930d