[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkofls%2Fkf_challenge" "/workspace/builds/worker-92/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-92/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kofls/kf_challenge on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-92/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16055d26171c6be88eaab00dc74822c977820c050f70abb82f6afd170b9b5353 [INFO] running `Command { std: "docker" "start" "-a" "16055d26171c6be88eaab00dc74822c977820c050f70abb82f6afd170b9b5353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16055d26171c6be88eaab00dc74822c977820c050f70abb82f6afd170b9b5353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16055d26171c6be88eaab00dc74822c977820c050f70abb82f6afd170b9b5353", kill_on_drop: false }` [INFO] [stdout] 16055d26171c6be88eaab00dc74822c977820c050f70abb82f6afd170b9b5353 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 788c945a1b961f254e64cbf9f01456b54736393968728843fd030a5168428732 [INFO] running `Command { std: "docker" "start" "-a" "788c945a1b961f254e64cbf9f01456b54736393968728843fd030a5168428732", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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] Fixed src/lib.rs (3 fixes) [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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 18.84s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking kf_challenge v0.1.0 (/tmp/fixit) [INFO] [stdout] error: cannot find macro `abs_diff_eq` in this scope [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | abs_diff_eq!(b[0], c[0], epsilon = f64::EPSILON); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] approx::abs_diff_eq [INFO] [stdout] crate::geometry::abs_diff_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `abs_diff_eq` in this scope [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | abs_diff_eq!(b[1], c[1], epsilon = f64::EPSILON); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] approx::abs_diff_eq [INFO] [stdout] crate::geometry::abs_diff_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `abs_diff_eq` in this scope [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | abs_diff_eq!(b[2], c[2], epsilon = f64::EPSILON); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] approx::abs_diff_eq [INFO] [stdout] crate::geometry::abs_diff_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `abs_diff_eq` in this scope [INFO] [stdout] --> src/lib.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | abs_diff_eq!(b[0], c[0], epsilon = f64::EPSILON); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] approx::abs_diff_eq [INFO] [stdout] crate::geometry::abs_diff_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `abs_diff_eq` in this scope [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | abs_diff_eq!(b[1], c[1], epsilon = f64::EPSILON); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] approx::abs_diff_eq [INFO] [stdout] crate::geometry::abs_diff_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `abs_diff_eq` in this scope [INFO] [stdout] --> src/lib.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | abs_diff_eq!(b[2], c[2], epsilon = f64::EPSILON); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] approx::abs_diff_eq [INFO] [stdout] crate::geometry::abs_diff_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `abs_diff_eq` in this scope [INFO] [stdout] --> src/lib.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | abs_diff_eq!(b[0], c[0], epsilon = f64::EPSILON); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] approx::abs_diff_eq [INFO] [stdout] crate::geometry::abs_diff_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `abs_diff_eq` in this scope [INFO] [stdout] --> src/lib.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | abs_diff_eq!(b[1], c[1], epsilon = f64::EPSILON); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] approx::abs_diff_eq [INFO] [stdout] crate::geometry::abs_diff_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `abs_diff_eq` in this scope [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | abs_diff_eq!(b[2], c[2], epsilon = f64::EPSILON); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] approx::abs_diff_eq [INFO] [stdout] crate::geometry::abs_diff_eq [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let a = Vec3::::from(1.0, 2.0, 4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 14 | let a = Vec::::from(1.0, 2.0, 4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let b = Vec3::::from(-2.0, 6.0, -1.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 15 | let b = Vec::::from(-2.0, 6.0, -1.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let c = Vec3::::from(-1.0, 8.0, 3.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 16 | let c = Vec::::from(-1.0, 8.0, 3.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let a = Vec3::::from(1.0, 2.0, 4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 23 | let a = Vec::::from(1.0, 2.0, 4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let c = Vec3::::from(1.0, -2.0, -4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 26 | let c = Vec::::from(1.0, -2.0, -4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let a = Vec3::::from(1.0, 2.0, 4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 37 | let a = Vec::::from(1.0, 2.0, 4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let c = Vec3::::from(-1.0, 2.0, -4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 | let c = Vec::::from(-1.0, 2.0, -4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let a = Vec3::::from(1.0, 2.0, 4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 49 | let a = Vec::::from(1.0, 2.0, 4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let c = Vec3::::from(-1.0, -2.0, 4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 52 | let c = Vec::::from(-1.0, -2.0, 4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | let origin = Vec3::::from(0.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 61 | let origin = Vec::::from(0.0, 0.0, 0.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | let normal = Vec3::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 62 | let normal = Vec::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let m = Vec3::::from(0.0, 2.0, 4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 65 | let m = Vec::::from(0.0, 2.0, 4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let origin = Vec3::::from(2.0, 6.0, 1.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 72 | let origin = Vec::::from(2.0, 6.0, 1.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | let normal = Vec3::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 73 | let normal = Vec::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | let m = Vec3::::from(0.0, 2.0, 4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 | let m = Vec::::from(0.0, 2.0, 4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let origin = Vec3::::from(2.0, 6.0, 1.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 83 | let origin = Vec::::from(2.0, 6.0, 1.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | let normal = Vec3::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 84 | let normal = Vec::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | let gpoint = Vec3::::from(2.0, 7.0, 4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 88 | let gpoint = Vec::::from(2.0, 7.0, 4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/lib.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | let lpoint_expected = Vec2::::from(1.0, 3.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 90 | let lpoint_expected = Vec::::from(1.0, 3.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::geometry::Vec2; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let origin = Vec3::::from(2.0, 6.0, 1.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 97 | let origin = Vec::::from(2.0, 6.0, 1.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | let normal = Vec3::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 98 | let normal = Vec::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec2` [INFO] [stdout] --> src/lib.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | let lpoint = Vec2::::from(1.0, 3.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 102 | let lpoint = Vec::::from(1.0, 3.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::geometry::Vec2; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | let gpoint_expected = Vec3::::from(2.0, 7.0, 4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 103 | let gpoint_expected = Vec::::from(2.0, 7.0, 4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let origin = Vec3::::from(2.0, 6.0, 1.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 111 | let origin = Vec::::from(2.0, 6.0, 1.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | let normal = Vec3::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 112 | let normal = Vec::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | let gpoint = Vec3::::from(5.0, 7.0, 4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 116 | let gpoint = Vec::::from(5.0, 7.0, 4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | let lpoint_expected = Vec3::::from(3.0, 1.0, 3.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 118 | let lpoint_expected = Vec::::from(3.0, 1.0, 3.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | let origin = Vec3::::from(2.0, 6.0, 1.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 125 | let origin = Vec::::from(2.0, 6.0, 1.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | let normal = Vec3::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 126 | let normal = Vec::::from(1.0, 0.0, 0.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | let lpoint = Vec3::::from(3.0, 1.0, 3.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 130 | let lpoint = Vec::::from(3.0, 1.0, 3.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec3` [INFO] [stdout] --> src/lib.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | let gpoint_expected = Vec3::::from(5.0, 7.0, 4.0); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 131 | let gpoint_expected = Vec::::from(5.0, 7.0, 4.0); [INFO] [stdout] | ~~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use crate::linalg::Vec3; [INFO] [stdout] | [INFO] [stdout] 10 | use vecmat::vec::Vec3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/lib.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | let angle = f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you are looking for the module in `std`, not the primitive type [INFO] [stdout] | [INFO] [stdout] 24 | let angle = std::f64::consts::PI; [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/lib.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let angle = f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you are looking for the module in `std`, not the primitive type [INFO] [stdout] | [INFO] [stdout] 38 | let angle = std::f64::consts::PI; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0223]: ambiguous associated type [INFO] [stdout] --> src/lib.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let angle = f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you are looking for the module in `std`, not the primitive type [INFO] [stdout] | [INFO] [stdout] 50 | let angle = std::f64::consts::PI; [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0223, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0223`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kf_challenge` due to 44 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "788c945a1b961f254e64cbf9f01456b54736393968728843fd030a5168428732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "788c945a1b961f254e64cbf9f01456b54736393968728843fd030a5168428732", kill_on_drop: false }` [INFO] [stdout] 788c945a1b961f254e64cbf9f01456b54736393968728843fd030a5168428732