[INFO] cloning repository https://github.com/yuri-you/raytrace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuri-you/raytrace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-you%2Fraytrace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-you%2Fraytrace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98860fc269c7f84f0cfb1cdd79c566e948f0416c [INFO] checking yuri-you/raytrace against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuri-you%2Fraytrace" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuri-you/raytrace on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yuri-you/raytrace [INFO] finished tweaking git repo https://github.com/yuri-you/raytrace [INFO] tweaked toml for git repo https://github.com/yuri-you/raytrace written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/yuri-you/raytrace already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", 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] 475c435ff36f93f33f67df0c60878d0a9fdf45ca984ee35b4e89a5a38ece085f [INFO] running `Command { std: "docker" "start" "-a" "475c435ff36f93f33f67df0c60878d0a9fdf45ca984ee35b4e89a5a38ece085f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "475c435ff36f93f33f67df0c60878d0a9fdf45ca984ee35b4e89a5a38ece085f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "475c435ff36f93f33f67df0c60878d0a9fdf45ca984ee35b4e89a5a38ece085f", kill_on_drop: false }` [INFO] [stdout] 475c435ff36f93f33f67df0c60878d0a9fdf45ca984ee35b4e89a5a38ece085f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6e6ba80712f144baeb9f9a576eb0eb03be9c16d0401f900f74b04b0a7f2a858 [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" "b6e6ba80712f144baeb9f9a576eb0eb03be9c16d0401f900f74b04b0a7f2a858", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking png v0.16.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.7 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::vec3::random_in_unit_sphere` [INFO] [stdout] --> src/color.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::vec3::random_in_unit_sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::random_in_hemisphere` [INFO] [stdout] --> src/color.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vec3::random_in_hemisphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sphere::Sphere` [INFO] [stdout] --> src/hittable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::sphere::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Moving_Sphere` should have an upper camel case name [INFO] [stdout] --> src/moving_sphere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Moving_Sphere{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MovingSphere` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lambertian` should have an upper camel case name [INFO] [stdout] --> src/material.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct lambertian{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Lambertian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `metal` should have an upper camel case name [INFO] [stdout] --> src/material.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct metal{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Metal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dielectric` should have an upper camel case name [INFO] [stdout] --> src/material.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct dielectric{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Dielectric` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Bvh_node` should have an upper camel case name [INFO] [stdout] --> src/bvh.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Bvh_node{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `BvhNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `texture` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait texture { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `noise_texture` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct noise_texture{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoiseTexture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `solid_color` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct solid_color{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SolidColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `checker_texture` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct checker_texture{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CheckerTexture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::random_in_unit_sphere` [INFO] [stdout] --> src/color.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::vec3::random_in_unit_sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec3::random_in_hemisphere` [INFO] [stdout] --> src/color.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vec3::random_in_hemisphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sphere::Sphere` [INFO] [stdout] --> src/hittable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::sphere::Sphere; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Moving_Sphere` should have an upper camel case name [INFO] [stdout] --> src/moving_sphere.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Moving_Sphere{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MovingSphere` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `lambertian` should have an upper camel case name [INFO] [stdout] --> src/material.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct lambertian{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Lambertian` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `metal` should have an upper camel case name [INFO] [stdout] --> src/material.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct metal{ [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Metal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dielectric` should have an upper camel case name [INFO] [stdout] --> src/material.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct dielectric{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Dielectric` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Bvh_node` should have an upper camel case name [INFO] [stdout] --> src/bvh.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct Bvh_node{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `BvhNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `texture` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait texture { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `noise_texture` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct noise_texture{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoiseTexture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `solid_color` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct solid_color{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SolidColor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `checker_texture` should have an upper camel case name [INFO] [stdout] --> src/texture.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct checker_texture{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CheckerTexture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut b=-11; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/sphere.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | fn bounding_box(&self,t0:f64, t1:f64,output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/sphere.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | fn bounding_box(&self,t0:f64, t1:f64,output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/bvh.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn bounding_box(&self,t0:f64, t1:f64, output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/bvh.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | fn bounding_box(&self,t0:f64, t1:f64, output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn value(&self,u: f64, v: f64, p: &Vec3)->Vec3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | fn value(&self,u: f64, v: f64, p: &Vec3)->Vec3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn value(&self,u:f64, v:f64,p:&Vec3)->Vec3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | fn value(&self,u:f64, v:f64,p:&Vec3)->Vec3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | fn value(&self,u:f64, v:f64,p:&Vec3)->Vec3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut world:HitList; [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/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut lookfrom:Vec3; [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/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut lookat:Vec3; [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/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut vfov:f64; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `b` is never read [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut b=-11; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/sphere.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 66 | fn bounding_box(&self,t0:f64, t1:f64,output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/sphere.rs:66:35 [INFO] [stdout] | [INFO] [stdout] 66 | fn bounding_box(&self,t0:f64, t1:f64,output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/bvh.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | fn bounding_box(&self,t0:f64, t1:f64, output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/bvh.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | fn bounding_box(&self,t0:f64, t1:f64, output_box:&mut AABB) ->bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | fn value(&self,u: f64, v: f64, p: &Vec3)->Vec3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | fn value(&self,u: f64, v: f64, p: &Vec3)->Vec3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn value(&self,u:f64, v:f64,p:&Vec3)->Vec3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | fn value(&self,u:f64, v:f64,p:&Vec3)->Vec3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | fn value(&self,u:f64, v:f64,p:&Vec3)->Vec3{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut world:HitList; [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/main.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let mut lookfrom:Vec3; [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/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut lookat:Vec3; [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/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut vfov:f64; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_in_hemisphere` [INFO] [stdout] --> src/vec3.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn random_in_hemisphere(normal:&Vec3)->Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_compare` [INFO] [stdout] --> src/bvh.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn box_compare(a:Option>, b:Option>,axis:i32)->bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sort` [INFO] [stdout] --> src/bvh.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn sort(a:&mut Vec>>,start:i32,end:i32,axis:i32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_x_compare` [INFO] [stdout] --> src/bvh.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn box_x_compare(a:Option>, b:Option>) ->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_y_compare` [INFO] [stdout] --> src/bvh.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn box_y_compare(a:Option>, b:Option>)->bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_z_compare` [INFO] [stdout] --> src/bvh.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn box_z_compare(a:Option>, b:Option>)->bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> src/bvh.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new1()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> src/bvh.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new2(&self,list:&HitList, time0:f64, time1:f64)->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bvh.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new(objects:&mut Vec>>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> src/texture.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new1()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> src/texture.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new2(red:f64,green:f64,blue:f64)->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Infinity` should have an upper case name [INFO] [stdout] --> src/data.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub static Infinity:f64 = 0xfffffff as f64; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `INFINITY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/aabb.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let invD = 1.0/ r.direction.in_at(a); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `point_count` should have an upper case name [INFO] [stdout] --> src/perlin.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static point_count:i32=256; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `POINT_COUNT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_in_hemisphere` [INFO] [stdout] --> src/vec3.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn random_in_hemisphere(normal:&Vec3)->Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_compare` [INFO] [stdout] --> src/bvh.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn box_compare(a:Option>, b:Option>,axis:i32)->bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sort` [INFO] [stdout] --> src/bvh.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn sort(a:&mut Vec>>,start:i32,end:i32,axis:i32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_x_compare` [INFO] [stdout] --> src/bvh.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn box_x_compare(a:Option>, b:Option>) ->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_y_compare` [INFO] [stdout] --> src/bvh.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn box_y_compare(a:Option>, b:Option>)->bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_z_compare` [INFO] [stdout] --> src/bvh.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn box_z_compare(a:Option>, b:Option>)->bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> src/bvh.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn new1()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> src/bvh.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn new2(&self,list:&HitList, time0:f64, time1:f64)->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bvh.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn new(objects:&mut Vec>>, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> src/texture.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new1()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> src/texture.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn new2(red:f64,green:f64,blue:f64)->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Infinity` should have an upper case name [INFO] [stdout] --> src/data.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub static Infinity:f64 = 0xfffffff as f64; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `INFINITY` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `invD` should have a snake case name [INFO] [stdout] --> src/aabb.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let invD = 1.0/ r.direction.in_at(a); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `inv_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `point_count` should have an upper case name [INFO] [stdout] --> src/perlin.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | static point_count:i32=256; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `POINT_COUNT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.97s [INFO] running `Command { std: "docker" "inspect" "b6e6ba80712f144baeb9f9a576eb0eb03be9c16d0401f900f74b04b0a7f2a858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e6ba80712f144baeb9f9a576eb0eb03be9c16d0401f900f74b04b0a7f2a858", kill_on_drop: false }` [INFO] [stdout] b6e6ba80712f144baeb9f9a576eb0eb03be9c16d0401f900f74b04b0a7f2a858