[INFO] cloning repository https://github.com/MemeSlayer27/raytracer_project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MemeSlayer27/raytracer_project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMemeSlayer27%2Fraytracer_project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMemeSlayer27%2Fraytracer_project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ebfeb88d9ef6f12cea446b3b77dbd6286fa36c7 [INFO] building MemeSlayer27/raytracer_project against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMemeSlayer27%2Fraytracer_project" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MemeSlayer27/raytracer_project on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MemeSlayer27/raytracer_project [INFO] finished tweaking git repo https://github.com/MemeSlayer27/raytracer_project [INFO] tweaked toml for git repo https://github.com/MemeSlayer27/raytracer_project written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MemeSlayer27/raytracer_project 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e929f0a3fc6bd6b49c75804f23bb7bcf91071a19943ab0fc91aa201f022cc7a [INFO] running `Command { std: "docker" "start" "-a" "2e929f0a3fc6bd6b49c75804f23bb7bcf91071a19943ab0fc91aa201f022cc7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e929f0a3fc6bd6b49c75804f23bb7bcf91071a19943ab0fc91aa201f022cc7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e929f0a3fc6bd6b49c75804f23bb7bcf91071a19943ab0fc91aa201f022cc7a", kill_on_drop: false }` [INFO] [stdout] 2e929f0a3fc6bd6b49c75804f23bb7bcf91071a19943ab0fc91aa201f022cc7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3176c5979a81c51bfa4dd940c8e5016b7f5549a85549a875f1ea3c2da528114 [INFO] running `Command { std: "docker" "start" "-a" "e3176c5979a81c51bfa4dd940c8e5016b7f5549a85549a875f1ea3c2da528114", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `format`, `i64::MIN`, `min_by_key`, `min_by`, and `process::Output` [INFO] [stdout] --> src/vec3.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops, process::Output, fmt::{format, Debug}, i64::MIN, cmp::{min_by, min_by_key}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/ray.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vec3::{self, Point3, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, `clone`, and `ops::Deref` [INFO] [stdout] --> src/sphere.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{rc::Rc, clone, cell::RefCell, ops::Deref, borrow::BorrowMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec3`, `ray`, and `self` [INFO] [stdout] --> src/sphere.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{vec3::{Point3, Vec3, dot}, ray, material::{Material, self}}; [INFO] [stdout] | ^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `RefMut`, and `str::MatchIndices` [INFO] [stdout] --> src/hittable.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{str::MatchIndices, rc::Rc, cell::{RefCell, RefMut},}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Material` [INFO] [stdout] --> src/hittable_list.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::material::{Material, Lambertian}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/material.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random` [INFO] [stdout] --> src/material.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{random, Rng}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color` [INFO] [stdout] --> src/material.rs:5:58 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{hittable::HitRecord, ray::Ray, vec3::{Color, color, Vec3, reflect, dot, refract}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sphere.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64, mut rec: &mut HitRecord) -> bool { [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: variable does not need to be mutable [INFO] [stdout] --> src/hittable_list.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64, mut rec: &mut HitRecord) -> bool { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 54 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool{ [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:54:81 [INFO] [stdout] | [INFO] [stdout] 54 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool{ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:83:52 [INFO] [stdout] | [INFO] [stdout] 83 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:83:81 [INFO] [stdout] | [INFO] [stdout] 83 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_format` is never used [INFO] [stdout] --> src/vec3.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Vec3 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | fn print_format(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cross` is never used [INFO] [stdout] --> src/vec3.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 174 | impl Vec3 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | fn cross(&self, v: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "e3176c5979a81c51bfa4dd940c8e5016b7f5549a85549a875f1ea3c2da528114", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3176c5979a81c51bfa4dd940c8e5016b7f5549a85549a875f1ea3c2da528114", kill_on_drop: false }` [INFO] [stdout] e3176c5979a81c51bfa4dd940c8e5016b7f5549a85549a875f1ea3c2da528114 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1254a63e632e117df4326969cf52084e912039a28cf87600aaa9bc8d43be13c0 [INFO] running `Command { std: "docker" "start" "-a" "1254a63e632e117df4326969cf52084e912039a28cf87600aaa9bc8d43be13c0", kill_on_drop: false }` [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `format`, `i64::MIN`, `min_by_key`, `min_by`, and `process::Output` [INFO] [stdout] --> src/vec3.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ops, process::Output, fmt::{format, Debug}, i64::MIN, cmp::{min_by, min_by_key}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/ray.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vec3::{self, Point3, Vec3}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, `clone`, and `ops::Deref` [INFO] [stdout] --> src/sphere.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{rc::Rc, clone, cell::RefCell, ops::Deref, borrow::BorrowMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec3`, `ray`, and `self` [INFO] [stdout] --> src/sphere.rs:3:28 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{vec3::{Point3, Vec3, dot}, ray, material::{Material, self}}; [INFO] [stdout] | ^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `RefMut`, and `str::MatchIndices` [INFO] [stdout] --> src/hittable.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{str::MatchIndices, rc::Rc, cell::{RefCell, RefMut},}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Material` [INFO] [stdout] --> src/hittable_list.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::material::{Material, Lambertian}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/material.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `random` [INFO] [stdout] --> src/material.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::{random, Rng}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color` [INFO] [stdout] --> src/material.rs:5:58 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{hittable::HitRecord, ray::Ray, vec3::{Color, color, Vec3, reflect, dot, refract}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sphere.rs:15:52 [INFO] [stdout] | [INFO] [stdout] 15 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64, mut rec: &mut HitRecord) -> bool { [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: variable does not need to be mutable [INFO] [stdout] --> src/hittable_list.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | fn hit(&self, r: &Ray, t_min: f64, t_max: f64, mut rec: &mut HitRecord) -> bool { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> src/material.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:19:52 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 54 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool{ [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:54:81 [INFO] [stdout] | [INFO] [stdout] 54 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool{ [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:83:52 [INFO] [stdout] | [INFO] [stdout] 83 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/material.rs:83:81 [INFO] [stdout] | [INFO] [stdout] 83 | fn scatter(&self, r_in: &Ray, rec: &HitRecord, mut attenuation: &mut Color, mut scattered: &mut Ray) -> bool { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_format` is never used [INFO] [stdout] --> src/vec3.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Vec3 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | fn print_format(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cross` is never used [INFO] [stdout] --> src/vec3.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 174 | impl Vec3 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | fn cross(&self, v: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "1254a63e632e117df4326969cf52084e912039a28cf87600aaa9bc8d43be13c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1254a63e632e117df4326969cf52084e912039a28cf87600aaa9bc8d43be13c0", kill_on_drop: false }` [INFO] [stdout] 1254a63e632e117df4326969cf52084e912039a28cf87600aaa9bc8d43be13c0