[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] testing procedural-rust/line-algorithms against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprocedural-rust%2Fline-algorithms" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/procedural-rust/line-algorithms on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-8/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", 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] 659eff68e2b0d9280ec96935d0dc7d398a95e5bd1a3ff7ef9a7234ad100e0954 [INFO] running `Command { std: "docker" "start" "-a" "659eff68e2b0d9280ec96935d0dc7d398a95e5bd1a3ff7ef9a7234ad100e0954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "659eff68e2b0d9280ec96935d0dc7d398a95e5bd1a3ff7ef9a7234ad100e0954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659eff68e2b0d9280ec96935d0dc7d398a95e5bd1a3ff7ef9a7234ad100e0954", kill_on_drop: false }` [INFO] [stdout] 659eff68e2b0d9280ec96935d0dc7d398a95e5bd1a3ff7ef9a7234ad100e0954 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--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] c324547da7207569558d008c6e17f07853bada64826bbe0555b7753e0bc60b57 [INFO] running `Command { std: "docker" "start" "-a" "c324547da7207569558d008c6e17f07853bada64826bbe0555b7753e0bc60b57", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: field is never read: `x` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | x: Rational, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | y: 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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.26s [INFO] running `Command { std: "docker" "inspect" "c324547da7207569558d008c6e17f07853bada64826bbe0555b7753e0bc60b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c324547da7207569558d008c6e17f07853bada64826bbe0555b7753e0bc60b57", kill_on_drop: false }` [INFO] [stdout] c324547da7207569558d008c6e17f07853bada64826bbe0555b7753e0bc60b57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d0957087747ba345f22894e226ec5c6a3cbf5198b1ee87647845461eee4d0b7 [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" "9d0957087747ba345f22894e226ec5c6a3cbf5198b1ee87647845461eee4d0b7", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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 test [unoptimized + debuginfo] target(s) in 2.49s [INFO] running `Command { std: "docker" "inspect" "9d0957087747ba345f22894e226ec5c6a3cbf5198b1ee87647845461eee4d0b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d0957087747ba345f22894e226ec5c6a3cbf5198b1ee87647845461eee4d0b7", kill_on_drop: false }` [INFO] [stdout] 9d0957087747ba345f22894e226ec5c6a3cbf5198b1ee87647845461eee4d0b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", 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] 93bd69ae7040bde79d64e1dd75b5ae1fd3d6c2a137d4b29247e19bd6bfa71375 [INFO] running `Command { std: "docker" "start" "-a" "93bd69ae7040bde79d64e1dd75b5ae1fd3d6c2a137d4b29247e19bd6bfa71375", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::cmp` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::cmp; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp` [INFO] [stderr] --> src/rational.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::cmp; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `numerator` [INFO] [stderr] --> src/rational.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn numerator(&self) -> usize{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_neg` [INFO] [stderr] --> src/rational.rs:174:12 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn is_neg(&self) -> bool{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `abs` [INFO] [stderr] --> src/rational.rs:245:12 [INFO] [stderr] | [INFO] [stderr] 245 | pub fn abs(&self) -> Rational{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `integer_cells_on_line_segment_3d` [INFO] [stderr] --> src/main.rs:346:4 [INFO] [stderr] | [INFO] [stderr] 346 | fn integer_cells_on_line_segment_3d(point1: Point3D, point2: Point3D) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `integer_points_inside_dimond_2d` [INFO] [stderr] --> src/main.rs:520:4 [INFO] [stderr] | [INFO] [stderr] 520 | fn integer_points_inside_dimond_2d(center: Point2D, radius: isize) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `integer_points_inside_square` [INFO] [stderr] --> src/main.rs:538:4 [INFO] [stderr] | [INFO] [stderr] 538 | fn integer_points_inside_square(center: Point2D, radius: isize) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `integer_points_inside_dimond_3d` [INFO] [stderr] --> src/main.rs:637:4 [INFO] [stderr] | [INFO] [stderr] 637 | fn integer_points_inside_dimond_3d(center: Point3D, radius: isize) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `integer_points_inside_l_infinity_sphere` [INFO] [stderr] --> src/main.rs:657:4 [INFO] [stderr] | [INFO] [stderr] 657 | fn integer_points_inside_l_infinity_sphere(center: Point3D, radius: isize) -> Vec{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `line_algorithms` (bin "line_algorithms" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/line_algorithms-9a9c22b05e8b3f15) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test rational::tests::add_isize_to_rational ... ok [INFO] [stdout] test rational::tests::mul_usize_to_rational ... ok [INFO] [stdout] test rational::tests::sub_usize_from_rational ... ok [INFO] [stdout] test tests::l_infinity_line_2d_order ... ok [INFO] [stdout] test rational::tests::operation_neg ... ok [INFO] [stdout] test rational::tests::floor_and_ceiling_rational ... ok [INFO] [stdout] test rational::tests::add_usize_to_rational ... ok [INFO] [stdout] test rational::tests::add_rational_to_rational ... ok [INFO] [stdout] test rational::tests::mul_isize_to_rational ... ok [INFO] [stdout] test rational::tests::sub_rational_from_rational ... ok [INFO] [stdout] test rational::tests::compare_rationals ... ok [INFO] [stdout] test rational::tests::equal_rationals ... ok [INFO] [stdout] test rational::tests::floor_and_ceiling ... ok [INFO] [stdout] test rational::tests::sub_isize_from_rational ... ok [INFO] [stdout] test rational::tests::div_rational_into_rational ... ok [INFO] [stdout] test tests::points_in_sphere ... ignored [INFO] [stdout] test rational::tests::mul_rational_to_rational ... ok [INFO] [stdout] test tests::l_infinity_line_2d_points ... ok [INFO] [stdout] test tests::l_infinity_line_rational_2d_points ... ok [INFO] [stdout] test tests::l_infinity_line_rational_2d_order ... ok [INFO] [stdout] test tests::line_2d_endpoints_order ... ok [INFO] [stdout] test tests::l_infinity_line_rational_endpoints_integer_check ... ok [INFO] [stdout] test tests::line_2d_correct_points ... ok [INFO] [stdout] test tests::line_3d_correct_points ... ok [INFO] [stdout] test tests::line_3d_endpoints_order ... ok [INFO] [stdout] test rational::tests::reject_zero_denominator - should panic ... ok [INFO] [stdout] test tests::points_in_circle ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 26 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "93bd69ae7040bde79d64e1dd75b5ae1fd3d6c2a137d4b29247e19bd6bfa71375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93bd69ae7040bde79d64e1dd75b5ae1fd3d6c2a137d4b29247e19bd6bfa71375", kill_on_drop: false }` [INFO] [stdout] 93bd69ae7040bde79d64e1dd75b5ae1fd3d6c2a137d4b29247e19bd6bfa71375