[INFO] cloning repository https://github.com/adrianisuru/ray-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrianisuru/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianisuru%2Fray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianisuru%2Fray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5aa699775a3bffb333eeb3cf8d9c1726a238c007 [INFO] checking adrianisuru/ray-tracer against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadrianisuru%2Fray-tracer" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/adrianisuru/ray-tracer [INFO] finished tweaking git repo https://github.com/adrianisuru/ray-tracer [INFO] tweaked toml for git repo https://github.com/adrianisuru/ray-tracer written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adrianisuru/ray-tracer on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adrianisuru/ray-tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8f2ef5f2a93d66866b40bed51da3a95076dee701ac1f81a44b21237c73cc33b8 [INFO] running `Command { std: "docker" "start" "8f2ef5f2a93d66866b40bed51da3a95076dee701ac1f81a44b21237c73cc33b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f2ef5f2a93d66866b40bed51da3a95076dee701ac1f81a44b21237c73cc33b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8f2ef5f2a93d66866b40bed51da3a95076dee701ac1f81a44b21237c73cc33b8" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f2ef5f2a93d66866b40bed51da3a95076dee701ac1f81a44b21237c73cc33b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8f2ef5f2a93d66866b40bed51da3a95076dee701ac1f81a44b21237c73cc33b8" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking bytemuck v1.5.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking triangle v0.1.351 [INFO] [stderr] Checking tobj v2.0.4 [INFO] [stderr] Checking glam v0.13.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Mat4`, `Vec4`, and `vec3` [INFO] [stdout] --> src/camera.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use glam::f32::{vec2, vec3, Mat3, Mat4, Vec2, Vec3, Vec4}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | if (nodes.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 355 - if (nodes.len() == 1) { [INFO] [stdout] 355 + if nodes.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mat4`, `Vec4`, and `vec3` [INFO] [stdout] --> src/camera.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use glam::f32::{vec2, vec3, Mat3, Mat4, Vec2, Vec3, Vec4}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | if (nodes.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 355 - if (nodes.len() == 1) { [INFO] [stdout] 355 + if nodes.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/camera.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let i = vec2(c as f32, vres - (r as f32)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/camera.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let res = vec2(hres, vres); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/camera.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let p = vec2(px, py); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv` [INFO] [stdout] --> src/lib.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let inv = d.inverse(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_inv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mid` [INFO] [stdout] --> src/lib.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | let mid = min.lerp(max, 0.5); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `m` is never read [INFO] [stdout] --> src/lib.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | m = spread.z.abs(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/lib.rs:516:24 [INFO] [stdout] | [INFO] [stdout] 516 | pub fn refl(&self, normal: Vec3) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_tri_intersect` is never used [INFO] [stdout] --> src/lib.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn ray_tri_intersect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AffineTransformation` is never constructed [INFO] [stdout] --> src/lib.rs:475:8 [INFO] [stdout] | [INFO] [stdout] 475 | struct AffineTransformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `IDENTITY`, `tran`, `scale`, `rot`, and `refl` are never used [INFO] [stdout] --> src/lib.rs:483:11 [INFO] [stdout] | [INFO] [stdout] 482 | impl AffineTransformation { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 483 | const IDENTITY: AffineTransformation = Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub fn tran(&self, new_origin: Vec3) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn scale(&self, scale: Vec3) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | pub fn rot(&self, roll: f32, pitch: f32, yaw: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn refl(&self, normal: Vec3) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec3` [INFO] [stdout] --> src/lib.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 183 | ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 183 - ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] 183 + ray_tri_intersect_mt(o, d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 183 - ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] 183 + ray_tri_intersect_mt(>::into(o), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec3` [INFO] [stdout] --> src/lib.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 183 - ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] 183 + ray_tri_intersect_mt(o.into(), d, p0, p1, p2).map(|t| { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 183 - ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] 183 + ray_tri_intersect_mt(o.into(), >::into(d), p0, p1, p2).map(|t| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec3` [INFO] [stdout] --> src/lib.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 273 | let d = Mat3::from_diagonal(ray.direction().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 273 - let d = Mat3::from_diagonal(ray.direction().into()); [INFO] [stdout] 273 + let d = Mat3::from_diagonal(ray.direction()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 273 - let d = Mat3::from_diagonal(ray.direction().into()); [INFO] [stdout] 273 + let d = Mat3::from_diagonal(>::into(ray.direction())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracer` (lib) due to 3 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/camera.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let i = vec2(c as f32, vres - (r as f32)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/camera.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let res = vec2(hres, vres); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/camera.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let p = vec2(px, py); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inv` [INFO] [stdout] --> src/lib.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let inv = d.inverse(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_inv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mid` [INFO] [stdout] --> src/lib.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | let mid = min.lerp(max, 0.5); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_mid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `m` is never read [INFO] [stdout] --> src/lib.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | m = spread.z.abs(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/lib.rs:516:24 [INFO] [stdout] | [INFO] [stdout] 516 | pub fn refl(&self, normal: Vec3) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ray_tri_intersect` is never used [INFO] [stdout] --> src/lib.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn ray_tri_intersect( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AffineTransformation` is never constructed [INFO] [stdout] --> src/lib.rs:475:8 [INFO] [stdout] | [INFO] [stdout] 475 | struct AffineTransformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `IDENTITY`, `tran`, `scale`, `rot`, and `refl` are never used [INFO] [stdout] --> src/lib.rs:483:11 [INFO] [stdout] | [INFO] [stdout] 482 | impl AffineTransformation { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 483 | const IDENTITY: AffineTransformation = Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | pub fn tran(&self, new_origin: Vec3) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn scale(&self, scale: Vec3) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | pub fn rot(&self, roll: f32, pitch: f32, yaw: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn refl(&self, normal: Vec3) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec3` [INFO] [stdout] --> src/lib.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 183 | ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 183 - ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] 183 + ray_tri_intersect_mt(o, d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 183 - ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] 183 + ray_tri_intersect_mt(>::into(o), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec3` [INFO] [stdout] --> src/lib.rs:183:40 [INFO] [stdout] | [INFO] [stdout] 183 | ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 183 - ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] 183 + ray_tri_intersect_mt(o.into(), d, p0, p1, p2).map(|t| { [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 183 - ray_tri_intersect_mt(o.into(), d.into(), p0, p1, p2).map(|t| { [INFO] [stdout] 183 + ray_tri_intersect_mt(o.into(), >::into(d), p0, p1, p2).map(|t| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Vec3` [INFO] [stdout] --> src/lib.rs:273:37 [INFO] [stdout] | [INFO] [stdout] 273 | let d = Mat3::from_diagonal(ray.direction().into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 273 - let d = Mat3::from_diagonal(ray.direction().into()); [INFO] [stdout] 273 + let d = Mat3::from_diagonal(ray.direction()); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 273 - let d = Mat3::from_diagonal(ray.direction().into()); [INFO] [stdout] 273 + let d = Mat3::from_diagonal(>::into(ray.direction())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracer` (lib test) due to 3 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f2ef5f2a93d66866b40bed51da3a95076dee701ac1f81a44b21237c73cc33b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f2ef5f2a93d66866b40bed51da3a95076dee701ac1f81a44b21237c73cc33b8", kill_on_drop: false }` [INFO] [stdout] 8f2ef5f2a93d66866b40bed51da3a95076dee701ac1f81a44b21237c73cc33b8