[INFO] cloning repository https://github.com/procedural-rust/line-algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/procedural-rust/line-algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprocedural-rust%2Fline-algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprocedural-rust%2Fline-algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bf1290d244d25d0c21e33726d43f6a553cbef576 [INFO] checking procedural-rust/line-algorithms against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprocedural-rust%2Fline-algorithms" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/procedural-rust/line-algorithms on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/procedural-rust/line-algorithms [INFO] finished tweaking git repo https://github.com/procedural-rust/line-algorithms [INFO] tweaked toml for git repo https://github.com/procedural-rust/line-algorithms written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/procedural-rust/line-algorithms already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0d715a960d54ddbbbd5440513173b6867d8458bb882c30b4873a609b5b3e4a13 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0d715a960d54ddbbbd5440513173b6867d8458bb882c30b4873a609b5b3e4a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0d715a960d54ddbbbd5440513173b6867d8458bb882c30b4873a609b5b3e4a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d715a960d54ddbbbd5440513173b6867d8458bb882c30b4873a609b5b3e4a13", kill_on_drop: false }` [INFO] [stdout] 0d715a960d54ddbbbd5440513173b6867d8458bb882c30b4873a609b5b3e4a13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3b27d85a2cb96b9debfdfa7dd4c513c8449bab4dbe5f9746035b2848e6752f7d [INFO] running `Command { std: "docker" "start" "-a" "3b27d85a2cb96b9debfdfa7dd4c513c8449bab4dbe5f9746035b2848e6752f7d", kill_on_drop: false }` [INFO] [stderr] Checking line_algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/rational.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/rational.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_rational_from_unsigned_integers` [INFO] [stdout] --> src/rational.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn new_rational_from_unsigned_integers(numerator: usize, denominator: usize) -> Rational{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `numerator` [INFO] [stdout] --> src/rational.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn numerator(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_neg` [INFO] [stdout] --> src/rational.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn is_neg(&self) -> bool{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rational_floor` [INFO] [stdout] --> src/rational.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | pub fn rational_floor(&self,denom: usize) -> Rational{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `abs` [INFO] [stdout] --> src/rational.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn abs(&self) -> Rational{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_cells_on_line_segment_2d_rational_scale` [INFO] [stdout] --> src/main.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn integer_cells_on_line_segment_2d_rational_scale(point1: Point2D, point2: Point2D, radius: Rational) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_on_line_segment_2d` [INFO] [stdout] --> src/main.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn integer_points_on_line_segment_2d(point1: Point2D, point2: Point2D) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `l_infinity_line_rational_endpoints` [INFO] [stdout] --> src/main.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | fn l_infinity_line_rational_endpoints(point1: RationalPoint2D, point2: RationalPoint2D) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_cells_on_line_segment_3d` [INFO] [stdout] --> src/main.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | fn integer_cells_on_line_segment_3d(point1: Point3D, point2: Point3D) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_on_line_segment_3d` [INFO] [stdout] --> src/main.rs:411:4 [INFO] [stdout] | [INFO] [stdout] 411 | fn integer_points_on_line_segment_3d(point1: Point3D, point2: Point3D) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_circle_slow` [INFO] [stdout] --> src/main.rs:464:4 [INFO] [stdout] | [INFO] [stdout] 464 | fn integer_points_inside_circle_slow(center: Point2D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_circle` [INFO] [stdout] --> src/main.rs:483:4 [INFO] [stdout] | [INFO] [stdout] 483 | fn integer_points_inside_circle(center: Point2D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_dimond_2d` [INFO] [stdout] --> src/main.rs:520:4 [INFO] [stdout] | [INFO] [stdout] 520 | fn integer_points_inside_dimond_2d(center: Point2D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_square` [INFO] [stdout] --> src/main.rs:538:4 [INFO] [stdout] | [INFO] [stdout] 538 | fn integer_points_inside_square(center: Point2D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_sphere_slow` [INFO] [stdout] --> src/main.rs:556:4 [INFO] [stdout] | [INFO] [stdout] 556 | fn integer_points_inside_sphere_slow(center: Point3D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_sphere_helper` [INFO] [stdout] --> src/main.rs:577:4 [INFO] [stdout] | [INFO] [stdout] 577 | fn integer_points_inside_sphere_helper(center: Point2D, radius_squared: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_sphere` [INFO] [stdout] --> src/main.rs:612:4 [INFO] [stdout] | [INFO] [stdout] 612 | fn integer_points_inside_sphere(center: Point3D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_dimond_3d` [INFO] [stdout] --> src/main.rs:637:4 [INFO] [stdout] | [INFO] [stdout] 637 | fn integer_points_inside_dimond_3d(center: Point3D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_l_infinity_sphere` [INFO] [stdout] --> src/main.rs:657:4 [INFO] [stdout] | [INFO] [stdout] 657 | fn integer_points_inside_l_infinity_sphere(center: Point3D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sort` [INFO] [stdout] --> src/main.rs:677:4 [INFO] [stdout] | [INFO] [stdout] 677 | fn sort(mut array: A) -> A [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `numerator` [INFO] [stdout] --> src/rational.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn numerator(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_neg` [INFO] [stdout] --> src/rational.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn is_neg(&self) -> bool{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `abs` [INFO] [stdout] --> src/rational.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn abs(&self) -> Rational{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_cells_on_line_segment_3d` [INFO] [stdout] --> src/main.rs:346:4 [INFO] [stdout] | [INFO] [stdout] 346 | fn integer_cells_on_line_segment_3d(point1: Point3D, point2: Point3D) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_dimond_2d` [INFO] [stdout] --> src/main.rs:520:4 [INFO] [stdout] | [INFO] [stdout] 520 | fn integer_points_inside_dimond_2d(center: Point2D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_square` [INFO] [stdout] --> src/main.rs:538:4 [INFO] [stdout] | [INFO] [stdout] 538 | fn integer_points_inside_square(center: Point2D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_dimond_3d` [INFO] [stdout] --> src/main.rs:637:4 [INFO] [stdout] | [INFO] [stdout] 637 | fn integer_points_inside_dimond_3d(center: Point3D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `integer_points_inside_l_infinity_sphere` [INFO] [stdout] --> src/main.rs:657:4 [INFO] [stdout] | [INFO] [stdout] 657 | fn integer_points_inside_l_infinity_sphere(center: Point3D, radius: isize) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.30s [INFO] running `Command { std: "docker" "inspect" "3b27d85a2cb96b9debfdfa7dd4c513c8449bab4dbe5f9746035b2848e6752f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b27d85a2cb96b9debfdfa7dd4c513c8449bab4dbe5f9746035b2848e6752f7d", kill_on_drop: false }` [INFO] [stdout] 3b27d85a2cb96b9debfdfa7dd4c513c8449bab4dbe5f9746035b2848e6752f7d