[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] checking MemeSlayer27/raytracer_project against try#b4c55082edd8dec08ce8af276d7054d9c4db20c4 for pr-147984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMemeSlayer27%2Fraytracer_project" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MemeSlayer27/raytracer_project on toolchain b4c55082edd8dec08ce8af276d7054d9c4db20c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] deb7d89b39150506192718a5e1d886e443d4cf467fb6547b6aa195900c870a56 [INFO] running `Command { std: "docker" "start" "-a" "deb7d89b39150506192718a5e1d886e443d4cf467fb6547b6aa195900c870a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "deb7d89b39150506192718a5e1d886e443d4cf467fb6547b6aa195900c870a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deb7d89b39150506192718a5e1d886e443d4cf467fb6547b6aa195900c870a56", kill_on_drop: false }` [INFO] [stdout] deb7d89b39150506192718a5e1d886e443d4cf467fb6547b6aa195900c870a56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b4c55082edd8dec08ce8af276d7054d9c4db20c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0eed2dbe91f0d00c13877ec944232fe5bec90a47c1cd073561f7e256d3789d1c [INFO] running `Command { std: "docker" "start" "-a" "0eed2dbe91f0d00c13877ec944232fe5bec90a47c1cd073561f7e256d3789d1c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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: 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)]` (part of `#[warn(unused)]`) on by default [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: 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)]` (part of `#[warn(unused)]`) 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: 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: 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)]` (part of `#[warn(unused)]`) on by default [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: 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)]` (part of `#[warn(unused)]`) on by default [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: 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] [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)]` (part of `#[warn(unused)]`) 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.30s [INFO] running `Command { std: "docker" "inspect" "0eed2dbe91f0d00c13877ec944232fe5bec90a47c1cd073561f7e256d3789d1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eed2dbe91f0d00c13877ec944232fe5bec90a47c1cd073561f7e256d3789d1c", kill_on_drop: false }` [INFO] [stdout] 0eed2dbe91f0d00c13877ec944232fe5bec90a47c1cd073561f7e256d3789d1c