[INFO] cloning repository https://github.com/kofls/kf_challenge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kofls/kf_challenge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkofls%2Fkf_challenge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkofls%2Fkf_challenge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4593895fab7293841fde5db31b07668f7cbb8e9 [INFO] testing kofls/kf_challenge 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%2Fkofls%2Fkf_challenge" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kofls/kf_challenge 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/kofls/kf_challenge [INFO] finished tweaking git repo https://github.com/kofls/kf_challenge [INFO] tweaked toml for git repo https://github.com/kofls/kf_challenge written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/kofls/kf_challenge 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] [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-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f234e95e8b2be3f013d68c65191f147c948b14f0b0a9b09c851de082b0bff6b1 [INFO] running `Command { std: "docker" "start" "-a" "f234e95e8b2be3f013d68c65191f147c948b14f0b0a9b09c851de082b0bff6b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f234e95e8b2be3f013d68c65191f147c948b14f0b0a9b09c851de082b0bff6b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f234e95e8b2be3f013d68c65191f147c948b14f0b0a9b09c851de082b0bff6b1", kill_on_drop: false }` [INFO] [stdout] f234e95e8b2be3f013d68c65191f147c948b14f0b0a9b09c851de082b0bff6b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13c41ab1d1337cd8f0e2cfe7bf92eaa3fa7baafb268bab45f2829affcf68d93e [INFO] running `Command { std: "docker" "start" "-a" "13c41ab1d1337cd8f0e2cfe7bf92eaa3fa7baafb268bab45f2829affcf68d93e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling approx v0.3.1 [INFO] [stderr] Compiling vecmat v0.4.0 [INFO] [stderr] Compiling kf_challenge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `vec::Vec2`, `vec::Vec3` [INFO] [stdout] --> src/lib.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use vecmat::{vec::Vec2, vec::Vec3}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `approx::abs_diff_eq` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use approx::abs_diff_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `affine` [INFO] [stdout] --> src/geometry.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | affine: Affine3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PlaneSurface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/geometry.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [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: `affine_inverse` [INFO] [stdout] --> src/geometry.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | affine_inverse: Affine3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PlaneSurface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/geometry.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [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: associated function is never used: `new` [INFO] [stdout] --> src/geometry.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(center: Vec3, normal: Vec3, bounds: Option) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_point_on_surface` [INFO] [stdout] --> src/geometry.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn is_point_on_surface(&self, point: &Vec3) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_point_on_plane` [INFO] [stdout] --> src/geometry.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn is_point_on_plane(&self, point: &Vec3) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_point_in_bounds` [INFO] [stdout] --> src/geometry.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn is_point_in_bounds(&self, point: &Vec3) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `global_to_local_2d` [INFO] [stdout] --> src/geometry.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn global_to_local_2d(&self, global_point: &Vec3) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local_2d_to_global` [INFO] [stdout] --> src/geometry.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn local_2d_to_global(&self, local_point: &Vec2) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local_to_global` [INFO] [stdout] --> src/geometry.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn local_to_global(&self, local_point: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `global_to_local` [INFO] [stdout] --> src/geometry.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn global_to_local(&self, global_point: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rectangle` [INFO] [stdout] --> src/bound.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Rectangle(RectangleBound), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bound.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: variant is never constructed: `Other` [INFO] [stdout] --> src/bound.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Other, // Can be extended to use other types of bounds [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bound.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: associated function is never used: `new` [INFO] [stdout] --> src/bound.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(x_half_bound: f64, y_half_bound: f64) -> Bound{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `translate` [INFO] [stdout] --> src/linalg.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn translate(x: Vec3, trans: Vec3) -> Vec3{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_about_x_axis` [INFO] [stdout] --> src/linalg.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rotate_about_x_axis(v: Vec3, angle: f64) -> Vec3{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_about_y_axis` [INFO] [stdout] --> src/linalg.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn rotate_about_y_axis(v: Vec3, angle: f64) -> Vec3{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_about_z_axis` [INFO] [stdout] --> src/linalg.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn rotate_about_z_axis(v: Vec3, angle: f64) -> Vec3{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/bound.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Other, // Can be extended to use other types of bounds [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bound.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.82s [INFO] running `Command { std: "docker" "inspect" "13c41ab1d1337cd8f0e2cfe7bf92eaa3fa7baafb268bab45f2829affcf68d93e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c41ab1d1337cd8f0e2cfe7bf92eaa3fa7baafb268bab45f2829affcf68d93e", kill_on_drop: false }` [INFO] [stdout] 13c41ab1d1337cd8f0e2cfe7bf92eaa3fa7baafb268bab45f2829affcf68d93e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ac769a6d895a095e6d3a74654fc7e662895db42793e70aea8fbba21ec41b277 [INFO] running `Command { std: "docker" "start" "-a" "8ac769a6d895a095e6d3a74654fc7e662895db42793e70aea8fbba21ec41b277", kill_on_drop: false }` [INFO] [stderr] Compiling kf_challenge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `vec::Vec2`, `vec::Vec3` [INFO] [stdout] --> src/lib.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use vecmat::{vec::Vec2, vec::Vec3}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `approx::abs_diff_eq` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use approx::abs_diff_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `affine` [INFO] [stdout] --> src/geometry.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | affine: Affine3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `PlaneSurface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/geometry.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [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: `affine_inverse` [INFO] [stdout] --> src/geometry.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | affine_inverse: Affine3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PlaneSurface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/geometry.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [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: associated function is never used: `new` [INFO] [stdout] --> src/geometry.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(center: Vec3, normal: Vec3, bounds: Option) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_point_on_surface` [INFO] [stdout] --> src/geometry.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn is_point_on_surface(&self, point: &Vec3) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_point_on_plane` [INFO] [stdout] --> src/geometry.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | fn is_point_on_plane(&self, point: &Vec3) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_point_in_bounds` [INFO] [stdout] --> src/geometry.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | fn is_point_in_bounds(&self, point: &Vec3) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `global_to_local_2d` [INFO] [stdout] --> src/geometry.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn global_to_local_2d(&self, global_point: &Vec3) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local_2d_to_global` [INFO] [stdout] --> src/geometry.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn local_2d_to_global(&self, local_point: &Vec2) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `local_to_global` [INFO] [stdout] --> src/geometry.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn local_to_global(&self, local_point: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `global_to_local` [INFO] [stdout] --> src/geometry.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn global_to_local(&self, global_point: &Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rectangle` [INFO] [stdout] --> src/bound.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Rectangle(RectangleBound), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bound.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: variant is never constructed: `Other` [INFO] [stdout] --> src/bound.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Other, // Can be extended to use other types of bounds [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Bound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bound.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: associated function is never used: `new` [INFO] [stdout] --> src/bound.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(x_half_bound: f64, y_half_bound: f64) -> Bound{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `translate` [INFO] [stdout] --> src/linalg.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn translate(x: Vec3, trans: Vec3) -> Vec3{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_about_x_axis` [INFO] [stdout] --> src/linalg.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rotate_about_x_axis(v: Vec3, angle: f64) -> Vec3{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_about_y_axis` [INFO] [stdout] --> src/linalg.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn rotate_about_y_axis(v: Vec3, angle: f64) -> Vec3{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_about_z_axis` [INFO] [stdout] --> src/linalg.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn rotate_about_z_axis(v: Vec3, angle: f64) -> Vec3{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Other` [INFO] [stdout] --> src/bound.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Other, // Can be extended to use other types of bounds [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bound.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: variant is never constructed: `Other` [INFO] [stdout] --> src/bound.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Other, // Can be extended to use other types of bounds [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Bound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bound.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/kf_challenge-22373fe14d9253c7) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/kf_challenge-e668e3c20a3a0fab) [INFO] running `Command { std: "docker" "inspect" "8ac769a6d895a095e6d3a74654fc7e662895db42793e70aea8fbba21ec41b277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ac769a6d895a095e6d3a74654fc7e662895db42793e70aea8fbba21ec41b277", kill_on_drop: false }` [INFO] [stdout] 8ac769a6d895a095e6d3a74654fc7e662895db42793e70aea8fbba21ec41b277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6ecaf1cbefc6e762cfd9c2ce5545ed8dc0529fee75b04ab3a5c8b4f4006fff47 [INFO] running `Command { std: "docker" "start" "-a" "6ecaf1cbefc6e762cfd9c2ce5545ed8dc0529fee75b04ab3a5c8b4f4006fff47", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `vec::Vec2`, `vec::Vec3` [INFO] [stderr] --> src/lib.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use vecmat::{vec::Vec2, vec::Vec3}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `approx::abs_diff_eq` [INFO] [stderr] --> src/lib.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use approx::abs_diff_eq; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::f64` [INFO] [stderr] --> src/lib.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::f64; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `affine` [INFO] [stderr] --> src/geometry.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | affine: Affine3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `PlaneSurface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/geometry.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `affine_inverse` [INFO] [stderr] --> src/geometry.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | affine_inverse: Affine3, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PlaneSurface` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/geometry.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/geometry.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn new(center: Vec3, normal: Vec3, bounds: Option) -> Self{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_point_on_surface` [INFO] [stderr] --> src/geometry.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn is_point_on_surface(&self, point: &Vec3) -> bool{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_point_on_plane` [INFO] [stderr] --> src/geometry.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | fn is_point_on_plane(&self, point: &Vec3) -> bool{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_point_in_bounds` [INFO] [stderr] --> src/geometry.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | fn is_point_in_bounds(&self, point: &Vec3) -> bool{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `global_to_local_2d` [INFO] [stderr] --> src/geometry.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn global_to_local_2d(&self, global_point: &Vec3) -> Vec2 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `local_2d_to_global` [INFO] [stderr] --> src/geometry.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn local_2d_to_global(&self, local_point: &Vec2) -> Vec3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `local_to_global` [INFO] [stderr] --> src/geometry.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn local_to_global(&self, local_point: &Vec3) -> Vec3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `global_to_local` [INFO] [stderr] --> src/geometry.rs:96:12 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn global_to_local(&self, global_point: &Vec3) -> Vec3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Rectangle` [INFO] [stderr] --> src/bound.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | Rectangle(RectangleBound), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bound.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Other` [INFO] [stderr] --> src/bound.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | Other, // Can be extended to use other types of bounds [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Bound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bound.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/bound.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn new(x_half_bound: f64, y_half_bound: f64) -> Bound{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `translate` [INFO] [stderr] --> src/linalg.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn translate(x: Vec3, trans: Vec3) -> Vec3{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rotate_about_x_axis` [INFO] [stderr] --> src/linalg.rs:9:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn rotate_about_x_axis(v: Vec3, angle: f64) -> Vec3{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rotate_about_y_axis` [INFO] [stderr] --> src/linalg.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn rotate_about_y_axis(v: Vec3, angle: f64) -> Vec3{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rotate_about_z_axis` [INFO] [stderr] --> src/linalg.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn rotate_about_z_axis(v: Vec3, angle: f64) -> Vec3{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Other` [INFO] [stderr] --> src/bound.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | Other, // Can be extended to use other types of bounds [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Bound` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/bound.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `kf_challenge` (lib) generated 20 warnings [INFO] [stderr] warning: `kf_challenge` (lib test) generated 1 warning [INFO] [stderr] warning: `kf_challenge` (bin "kf_challenge" test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kf_challenge-22373fe14d9253c7) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::test_global_to_local ... ok [INFO] [stdout] test tests::test_global_to_local_2d ... ok [INFO] [stdout] test tests::test_is_point_on_surface_false ... ok [INFO] [stdout] test tests::test_is_point_on_surface_true ... ok [INFO] [stdout] test tests::test_local_2d_to_global ... ok [INFO] [stdout] test tests::test_local_to_global ... ok [INFO] [stdout] test tests::test_translate ... ok [INFO] [stdout] test tests::test_rotate_about_y_axis ... ok [INFO] [stdout] test tests::test_rotate_about_x_axis ... ok [INFO] [stdout] test tests::test_rotate_about_z_axis ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/kf_challenge-e668e3c20a3a0fab) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests kf_challenge [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6ecaf1cbefc6e762cfd9c2ce5545ed8dc0529fee75b04ab3a5c8b4f4006fff47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ecaf1cbefc6e762cfd9c2ce5545ed8dc0529fee75b04ab3a5c8b4f4006fff47", kill_on_drop: false }` [INFO] [stdout] 6ecaf1cbefc6e762cfd9c2ce5545ed8dc0529fee75b04ab3a5c8b4f4006fff47