[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] checking kofls/kf_challenge against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkofls%2Fkf_challenge" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kofls/kf_challenge on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-7/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vecmat v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a805df04d276d014c8030386a448f8061ad6b8cedf96b156b9635414bdb1f80a [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" "a805df04d276d014c8030386a448f8061ad6b8cedf96b156b9635414bdb1f80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a805df04d276d014c8030386a448f8061ad6b8cedf96b156b9635414bdb1f80a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a805df04d276d014c8030386a448f8061ad6b8cedf96b156b9635414bdb1f80a", kill_on_drop: false }` [INFO] [stdout] a805df04d276d014c8030386a448f8061ad6b8cedf96b156b9635414bdb1f80a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 569bda9148b059f2205dcccd171983ac8c140c63a539addb1c2d58013d6e0800 [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" "569bda9148b059f2205dcccd171983ac8c140c63a539addb1c2d58013d6e0800", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Checking vecmat v0.4.0 [INFO] [stderr] Checking 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: 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] = note: `#[warn(dead_code)]` on by default [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] [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] [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: 18 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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.19s [INFO] running `Command { std: "docker" "inspect" "569bda9148b059f2205dcccd171983ac8c140c63a539addb1c2d58013d6e0800", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "569bda9148b059f2205dcccd171983ac8c140c63a539addb1c2d58013d6e0800", kill_on_drop: false }` [INFO] [stdout] 569bda9148b059f2205dcccd171983ac8c140c63a539addb1c2d58013d6e0800