[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 try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fponzu840w%2Fcalctus-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ponzu840w/calctus-rs on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b774ad55fb1fd41c6dacdfe6c1a511af732510171f42e990ffb7204a38479eb9 [INFO] running `Command { std: "docker" "start" "-a" "b774ad55fb1fd41c6dacdfe6c1a511af732510171f42e990ffb7204a38479eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b774ad55fb1fd41c6dacdfe6c1a511af732510171f42e990ffb7204a38479eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b774ad55fb1fd41c6dacdfe6c1a511af732510171f42e990ffb7204a38479eb9", kill_on_drop: false }` [INFO] [stdout] b774ad55fb1fd41c6dacdfe6c1a511af732510171f42e990ffb7204a38479eb9 [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34d6de9501133f5c6e7a81d28f5b4fb6898d2d5095878703c659e9db0429f30b [INFO] running `Command { std: "docker" "start" "-a" "34d6de9501133f5c6e7a81d28f5b4fb6898d2d5095878703c659e9db0429f30b", 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: 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: 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: 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.18s [INFO] running `Command { std: "docker" "inspect" "34d6de9501133f5c6e7a81d28f5b4fb6898d2d5095878703c659e9db0429f30b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34d6de9501133f5c6e7a81d28f5b4fb6898d2d5095878703c659e9db0429f30b", kill_on_drop: false }` [INFO] [stdout] 34d6de9501133f5c6e7a81d28f5b4fb6898d2d5095878703c659e9db0429f30b