[INFO] cloning repository https://github.com/Maxeonyx/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/Maxeonyx/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxeonyx%2Fray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxeonyx%2Fray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34799ac164ad778c74809def9dbcb8d0c58da392 [INFO] testing Maxeonyx/ray-tracer 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%2FMaxeonyx%2Fray-tracer" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Maxeonyx/ray-tracer 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/Maxeonyx/ray-tracer [INFO] finished tweaking git repo https://github.com/Maxeonyx/ray-tracer [INFO] tweaked toml for git repo https://github.com/Maxeonyx/ray-tracer written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Maxeonyx/ray-tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10b12f4a38bacc4c1df0e98147304c25aa2947a2af1cc735185901f833551510 [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" "10b12f4a38bacc4c1df0e98147304c25aa2947a2af1cc735185901f833551510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10b12f4a38bacc4c1df0e98147304c25aa2947a2af1cc735185901f833551510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b12f4a38bacc4c1df0e98147304c25aa2947a2af1cc735185901f833551510", kill_on_drop: false }` [INFO] [stdout] 10b12f4a38bacc4c1df0e98147304c25aa2947a2af1cc735185901f833551510 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d8eaa1227a8a59efad487cd0a79fa7d352797b240210047ea852acf0ad09d26 [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" "8d8eaa1227a8a59efad487cd0a79fa7d352797b240210047ea852acf0ad09d26", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling cc v1.0.15 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling token_store v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.8 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling smallvec v0.6.1 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling shared_library v0.1.8 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling x11-dl v2.17.5 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.22 [INFO] [stderr] Compiling tempfile v3.0.2 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling wayland-sys v0.12.5 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling backtrace v0.3.8 [INFO] [stderr] Compiling glutin v0.14.0 [INFO] [stderr] Compiling glium v0.21.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.14 [INFO] [stderr] Compiling wayland-kbd v0.13.1 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling wayland-window v0.13.3 [INFO] [stderr] Compiling winit v0.12.0 [INFO] [stderr] Compiling pstet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `load_from_memory` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use image::{load_from_memory, DynamicImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load_from_memory` [INFO] [stdout] --> src/scene.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{load_from_memory, DynamicImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scene.rs:511:30 [INFO] [stdout] | [INFO] [stdout] 511 | let flip_normal = if (i == 2 || i == 9) { true } else { false }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 511 - let flip_normal = if (i == 2 || i == 9) { true } else { false }; [INFO] [stdout] 511 + let flip_normal = if i == 2 || i == 9 { true } else { false }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/util.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn reflect(self, V3) -> V3; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: V3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_rotation` [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let y_rotation = cgmath::Quaternion::from_arc( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_rotation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/shapes/mod.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | Shape::Sphere(ref sphere) => V2 { x: 0.0, y: 0.0 }, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let mut lights = vec![ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "8d8eaa1227a8a59efad487cd0a79fa7d352797b240210047ea852acf0ad09d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d8eaa1227a8a59efad487cd0a79fa7d352797b240210047ea852acf0ad09d26", kill_on_drop: false }` [INFO] [stdout] 8d8eaa1227a8a59efad487cd0a79fa7d352797b240210047ea852acf0ad09d26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 43cc40cf8fb11ff6fe413e5d84611b501a26966b4f5e5f5a54ba152499cfca7d [INFO] running `Command { std: "docker" "start" "-a" "43cc40cf8fb11ff6fe413e5d84611b501a26966b4f5e5f5a54ba152499cfca7d", kill_on_drop: false }` [INFO] [stderr] Compiling pstet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `load_from_memory` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use image::{load_from_memory, DynamicImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `load_from_memory` [INFO] [stdout] --> src/scene.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{load_from_memory, DynamicImage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/scene.rs:511:30 [INFO] [stdout] | [INFO] [stdout] 511 | let flip_normal = if (i == 2 || i == 9) { true } else { false }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 511 - let flip_normal = if (i == 2 || i == 9) { true } else { false }; [INFO] [stdout] 511 + let flip_normal = if i == 2 || i == 9 { true } else { false }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/util.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | fn reflect(self, V3) -> V3; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: V3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_rotation` [INFO] [stdout] --> src/main.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | let y_rotation = cgmath::Quaternion::from_arc( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_rotation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sphere` [INFO] [stdout] --> src/shapes/mod.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | Shape::Sphere(ref sphere) => V2 { x: 0.0, y: 0.0 }, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene.rs:410:13 [INFO] [stdout] | [INFO] [stdout] 410 | let mut lights = vec![ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.33s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/pstet-24037850d3b8661e) [INFO] running `Command { std: "docker" "inspect" "43cc40cf8fb11ff6fe413e5d84611b501a26966b4f5e5f5a54ba152499cfca7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43cc40cf8fb11ff6fe413e5d84611b501a26966b4f5e5f5a54ba152499cfca7d", kill_on_drop: false }` [INFO] [stdout] 43cc40cf8fb11ff6fe413e5d84611b501a26966b4f5e5f5a54ba152499cfca7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fa88a2a6946e9a8981ff7582e87c56cc14f81eb13d06b66ded6765c7c154e72f [INFO] running `Command { std: "docker" "start" "-a" "fa88a2a6946e9a8981ff7582e87c56cc14f81eb13d06b66ded6765c7c154e72f", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `load_from_memory` [INFO] [stderr] --> src/main.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use image::{load_from_memory, DynamicImage}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::*` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use rand::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `load_from_memory` [INFO] [stderr] --> src/scene.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use image::{load_from_memory, DynamicImage}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/scene.rs:511:30 [INFO] [stderr] | [INFO] [stderr] 511 | let flip_normal = if (i == 2 || i == 9) { true } else { false }; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 511 - let flip_normal = if (i == 2 || i == 9) { true } else { false }; [INFO] [stderr] 511 + let flip_normal = if i == 2 || i == 9 { true } else { false }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/util.rs:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | fn reflect(self, V3) -> V3; [INFO] [stderr] | ^^ help: try naming the parameter or explicitly ignoring it: `_: V3` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/main.rs:261:9 [INFO] [stderr] | [INFO] [stderr] 261 | implement_vertex!(Vertex, position); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y_rotation` [INFO] [stderr] --> src/main.rs:177:9 [INFO] [stderr] | [INFO] [stderr] 177 | let y_rotation = cgmath::Quaternion::from_arc( [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_rotation` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sphere` [INFO] [stderr] --> src/shapes/mod.rs:57:22 [INFO] [stderr] | [INFO] [stderr] 57 | Shape::Sphere(ref sphere) => V2 { x: 0.0, y: 0.0 }, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sphere` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/scene.rs:410:13 [INFO] [stderr] | [INFO] [stderr] 410 | let mut lights = vec![ [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `pstet` (bin "pstet" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pstet-24037850d3b8661e) [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" "fa88a2a6946e9a8981ff7582e87c56cc14f81eb13d06b66ded6765c7c154e72f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa88a2a6946e9a8981ff7582e87c56cc14f81eb13d06b66ded6765c7c154e72f", kill_on_drop: false }` [INFO] [stdout] fa88a2a6946e9a8981ff7582e87c56cc14f81eb13d06b66ded6765c7c154e72f