[INFO] cloning repository https://github.com/josiahrosmarin/gear-design-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/josiahrosmarin/gear-design-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosiahrosmarin%2Fgear-design-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosiahrosmarin%2Fgear-design-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 96b9787ce60e70ec1af6e418c3cf32627bdb99cf [INFO] checking josiahrosmarin/gear-design-rs against try#c8085cfed34c45021fc8f66d073f6394b3e35431 for pr-148939 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjosiahrosmarin%2Fgear-design-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/josiahrosmarin/gear-design-rs [INFO] finished tweaking git repo https://github.com/josiahrosmarin/gear-design-rs [INFO] tweaked toml for git repo https://github.com/josiahrosmarin/gear-design-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/josiahrosmarin/gear-design-rs on toolchain c8085cfed34c45021fc8f66d073f6394b3e35431 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/josiahrosmarin/gear-design-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" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_approx_eq v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c884277b5691fdc2bc98385583e771e848398569dd27cd3be60d67ed1d8500fb [INFO] running `Command { std: "docker" "start" "-a" "c884277b5691fdc2bc98385583e771e848398569dd27cd3be60d67ed1d8500fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c884277b5691fdc2bc98385583e771e848398569dd27cd3be60d67ed1d8500fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c884277b5691fdc2bc98385583e771e848398569dd27cd3be60d67ed1d8500fb", kill_on_drop: false }` [INFO] [stdout] c884277b5691fdc2bc98385583e771e848398569dd27cd3be60d67ed1d8500fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c8085cfed34c45021fc8f66d073f6394b3e35431" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 489e8900a75da430b079862e3646813c9aa1c31f509886e5b89bcc3246312c37 [INFO] running `Command { std: "docker" "start" "-a" "489e8900a75da430b079862e3646813c9aa1c31f509886e5b89bcc3246312c37", kill_on_drop: false }` [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking gear-design-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/gear_profile.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | Ok((root_arc)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 363 - Ok((root_arc)) [INFO] [stdout] 363 + Ok(root_arc ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngleSpan` and `SpurGearProfileError` [INFO] [stdout] --> src/spur_gear.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | error::{GearDesignError, GearProfileError, SpurGearProfileError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | gear_profile::{approximate_involute, GearProfile}, [INFO] [stdout] 6 | geometry::{AngleSpan, CircularArc, CircularArcSvgParams, Point}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/gear_profile.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | Ok((root_arc)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 363 - Ok((root_arc)) [INFO] [stdout] 363 + Ok(root_arc ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AngleSpan` and `SpurGearProfileError` [INFO] [stdout] --> src/spur_gear.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | error::{GearDesignError, GearProfileError, SpurGearProfileError}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | gear_profile::{approximate_involute, GearProfile}, [INFO] [stdout] 6 | geometry::{AngleSpan, CircularArc, CircularArcSvgParams, Point}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_distance` [INFO] [stdout] --> src/gear_mesh.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn backlash(&self, center_distance: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_distance` [INFO] [stdout] --> src/gear_mesh.rs:154:38 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn check_interference(&self, center_distance: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `large_arc_flag` [INFO] [stdout] --> src/geometry/circular_arc.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let large_arc_flag = (end_angle - start_angle).rem_euclid(2.0 * PI) > std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_large_arc_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/spur_gear.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | let [start, end] = final_involute_arc [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/spur_gear.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | let [start, end] = arc.end_points().ok_or(GearProfileError::InvalidTipRadius)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_distance` [INFO] [stdout] --> src/gear_mesh.rs:136:28 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn backlash(&self, center_distance: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_distance` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_distance` [INFO] [stdout] --> src/gear_mesh.rs:154:38 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn check_interference(&self, center_distance: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `large_arc_flag` [INFO] [stdout] --> src/geometry/circular_arc.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let large_arc_flag = (end_angle - start_angle).rem_euclid(2.0 * PI) > std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_large_arc_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/spur_gear.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | let [start, end] = final_involute_arc [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/spur_gear.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 243 | let [start, end] = arc.end_points().ok_or(GearProfileError::InvalidTipRadius)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.81s [INFO] running `Command { std: "docker" "inspect" "489e8900a75da430b079862e3646813c9aa1c31f509886e5b89bcc3246312c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "489e8900a75da430b079862e3646813c9aa1c31f509886e5b89bcc3246312c37", kill_on_drop: false }` [INFO] [stdout] 489e8900a75da430b079862e3646813c9aa1c31f509886e5b89bcc3246312c37