[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprocedural-rust%2Fline-algorithms" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/procedural-rust/line-algorithms on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-12/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff517a4e056b5460fefd04ade72633130a6e27a41c74b66b8eee7a8d60c5ab99 [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" "ff517a4e056b5460fefd04ade72633130a6e27a41c74b66b8eee7a8d60c5ab99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff517a4e056b5460fefd04ade72633130a6e27a41c74b66b8eee7a8d60c5ab99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff517a4e056b5460fefd04ade72633130a6e27a41c74b66b8eee7a8d60c5ab99", kill_on_drop: false }` [INFO] [stdout] ff517a4e056b5460fefd04ade72633130a6e27a41c74b66b8eee7a8d60c5ab99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 640bbd126591d7e74cab0c37beab1d44ff8ea0b64c7595146e5b1fa3a862573b [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" "640bbd126591d7e74cab0c37beab1d44ff8ea0b64c7595146e5b1fa3a862573b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RationalPoint2D` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] note: `RationalPoint2D` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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] [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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.30s [INFO] running `Command { std: "docker" "inspect" "640bbd126591d7e74cab0c37beab1d44ff8ea0b64c7595146e5b1fa3a862573b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "640bbd126591d7e74cab0c37beab1d44ff8ea0b64c7595146e5b1fa3a862573b", kill_on_drop: false }` [INFO] [stdout] 640bbd126591d7e74cab0c37beab1d44ff8ea0b64c7595146e5b1fa3a862573b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] 6f5a6603f91128dc6be9ef1c8b6908ffcf20354d29a79097736c45aded25242e [INFO] running `Command { std: "docker" "start" "-a" "6f5a6603f91128dc6be9ef1c8b6908ffcf20354d29a79097736c45aded25242e", 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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: `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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.37s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/line_algorithms-595407bab7eb9a54) [INFO] running `Command { std: "docker" "inspect" "6f5a6603f91128dc6be9ef1c8b6908ffcf20354d29a79097736c45aded25242e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5a6603f91128dc6be9ef1c8b6908ffcf20354d29a79097736c45aded25242e", kill_on_drop: false }` [INFO] [stdout] 6f5a6603f91128dc6be9ef1c8b6908ffcf20354d29a79097736c45aded25242e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 297fc7a59295e754b0e6e4223cf0209abf2d50f37c64ac885f46683f6f1d6d1e [INFO] running `Command { std: "docker" "start" "-a" "297fc7a59295e754b0e6e4223cf0209abf2d50f37c64ac885f46683f6f1d6d1e", 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: 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] = note: `#[warn(dead_code)]` on by default [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: 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] 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: `line_algorithms` (bin "line_algorithms" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/line_algorithms-595407bab7eb9a54) [INFO] [stdout] running 27 tests [INFO] [stdout] test rational::tests::sub_isize_from_rational ... ok [INFO] [stdout] test rational::tests::sub_rational_from_rational ... ok [INFO] [stdout] test rational::tests::floor_and_ceiling ... ok [INFO] [stdout] test rational::tests::sub_usize_from_rational ... ok [INFO] [stdout] test rational::tests::operation_neg ... ok [INFO] [stdout] test rational::tests::mul_usize_to_rational ... ok [INFO] [stdout] test rational::tests::mul_rational_to_rational ... ok [INFO] [stdout] test rational::tests::add_isize_to_rational ... ok [INFO] [stdout] test rational::tests::mul_isize_to_rational ... ok [INFO] [stdout] test tests::l_infinity_line_2d_order ... ok [INFO] [stdout] test tests::line_2d_correct_points ... ok [INFO] [stdout] test tests::points_in_sphere ... ignored [INFO] [stdout] test tests::line_3d_endpoints_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 rational::tests::floor_and_ceiling_rational ... ok [INFO] [stdout] test tests::l_infinity_line_rational_2d_points ... ok [INFO] [stdout] test tests::line_3d_correct_points ... ok [INFO] [stdout] test rational::tests::compare_rationals ... ok [INFO] [stdout] test rational::tests::equal_rationals ... ok [INFO] [stdout] test rational::tests::add_usize_to_rational ... ok [INFO] [stdout] test rational::tests::add_rational_to_rational ... ok [INFO] [stdout] test tests::l_infinity_line_2d_points ... ok [INFO] [stdout] test tests::l_infinity_line_rational_2d_order ... ok [INFO] [stdout] test rational::tests::div_rational_into_rational ... 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.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "297fc7a59295e754b0e6e4223cf0209abf2d50f37c64ac885f46683f6f1d6d1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "297fc7a59295e754b0e6e4223cf0209abf2d50f37c64ac885f46683f6f1d6d1e", kill_on_drop: false }` [INFO] [stdout] 297fc7a59295e754b0e6e4223cf0209abf2d50f37c64ac885f46683f6f1d6d1e