[INFO] cloning repository https://github.com/zhhhhahahaha/PPCA-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhhhhahahaha/PPCA-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhhhhahahaha%2FPPCA-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhhhhahahaha%2FPPCA-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 786d306630871feaf4088b8849d27c85fd3e7658 [INFO] testing zhhhhahahaha/PPCA-raytracer against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhhhhahahaha%2FPPCA-raytracer" "/workspace/builds/worker-41/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-41/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zhhhhahahaha/PPCA-raytracer on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-41/source/rust-toolchain [INFO] started tweaking git repo https://github.com/zhhhhahahaha/PPCA-raytracer [INFO] finished tweaking git repo https://github.com/zhhhhahahaha/PPCA-raytracer [INFO] tweaked toml for git repo https://github.com/zhhhhahahaha/PPCA-raytracer written to /workspace/builds/worker-41/source/Cargo.toml [INFO] crate git repo https://github.com/zhhhhahahaha/PPCA-raytracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.7.0 [INFO] [stderr] Downloaded rusttype v0.9.2 [INFO] [stderr] Downloaded conv v0.3.3 [INFO] [stderr] Downloaded gif v0.11.2 [INFO] [stderr] Downloaded jpeg-decoder v0.1.22 [INFO] [stderr] Downloaded custom_derive v0.1.7 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded owned_ttf_parser v0.6.0 [INFO] [stderr] Downloaded ttf-parser v0.6.2 [INFO] [stderr] Downloaded rulinalg v0.4.2 [INFO] [stderr] Downloaded crossbeam-deque v0.8.0 [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded num-bigint v0.3.2 [INFO] [stderr] Downloaded rayon-core v1.9.1 [INFO] [stderr] Downloaded rand_distr v0.2.2 [INFO] [stderr] Downloaded num-complex v0.3.1 [INFO] [stderr] Downloaded rayon v1.5.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.1 [INFO] [stderr] Downloaded image v0.23.14 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded matrixmultiply v0.1.15 [INFO] [stderr] Downloaded tiff v0.6.1 [INFO] [stderr] Downloaded rawpointer v0.1.0 [INFO] [stderr] Downloaded imageproc v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f360f703a4426a599525d52ce094c6015fbf231774e3df2879d9f14c1a023077 [INFO] running `Command { std: "docker" "start" "-a" "f360f703a4426a599525d52ce094c6015fbf231774e3df2879d9f14c1a023077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f360f703a4426a599525d52ce094c6015fbf231774e3df2879d9f14c1a023077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f360f703a4426a599525d52ce094c6015fbf231774e3df2879d9f14c1a023077", kill_on_drop: false }` [INFO] [stdout] f360f703a4426a599525d52ce094c6015fbf231774e3df2879d9f14c1a023077 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c79b822779b5c2d74803c47db65be9f1666cabd5587c5ea554f08155a6de11f [INFO] running `Command { std: "docker" "start" "-a" "2c79b822779b5c2d74803c47db65be9f1666cabd5587c5ea554f08155a6de11f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling bytemuck v1.7.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling imageproc v0.21.0 [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir/raytracer) [INFO] [stdout] warning: unused import: `crate::Lambertian` [INFO] [stdout] --> raytracer/src/spherefile.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Lambertian; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> raytracer/src/hittablefile.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | fn pdf_value(&self, o: Vec3, v: Vec3) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> raytracer/src/hittablefile.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | fn pdf_value(&self, o: Vec3, v: Vec3) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> raytracer/src/hittablefile.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | fn random(&self, o: Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/hittablefile.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/hittablefile.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> raytracer/src/materialfile.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srec` [INFO] [stdout] --> raytracer/src/materialfile.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_srec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> raytracer/src/materialfile.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> raytracer/src/materialfile.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, 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] --> raytracer/src/materialfile.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, 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] --> raytracer/src/materialfile.rs:19:67 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, 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: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> raytracer/src/materialfile.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> raytracer/src/materialfile.rs:22:58 [INFO] [stdout] | [INFO] [stdout] 22 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> raytracer/src/materialfile.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srec` [INFO] [stdout] --> raytracer/src/materialfile.rs:149:51 [INFO] [stdout] | [INFO] [stdout] 149 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_srec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/boxfile.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut crate::aabb::AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/boxfile.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut crate::aabb::AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/spherefile.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/spherefile.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> raytracer/src/texture.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | 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] --> raytracer/src/texture.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | 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] --> raytracer/src/texture.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | 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: unused variable: `u` [INFO] [stdout] --> raytracer/src/texture.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | 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] --> raytracer/src/texture.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | 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] --> raytracer/src/texture.rs:107:45 [INFO] [stdout] | [INFO] [stdout] 107 | fn value(&self, mut u: f64, mut 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: unused variable: `i` [INFO] [stdout] --> raytracer/src/perlin.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | for i in 0..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/aarect.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/aarect.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/aarect.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/aarect.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/aarect.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/aarect.rs:178:40 [INFO] [stdout] | [INFO] [stdout] 178 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `left` is never read [INFO] [stdout] --> raytracer/src/bvh.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut left:Option> = None; [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: `time0` [INFO] [stdout] --> raytracer/src/bvh.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/bvh.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hit_left` is never read [INFO] [stdout] --> raytracer/src/bvh.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut hit_left: Option = None; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hit_right` is never read [INFO] [stdout] --> raytracer/src/bvh.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut hit_right: Option = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/materialfile.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new1(a: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> raytracer/src/materialfile.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(a: Vec3, f: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/materialfile.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new1(a: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> raytracer/src/materialfile.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn new2(a: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/materialfile.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn new1(c: Vec3) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> raytracer/src/moving_sphere.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(center0: Vec3, center1: Vec3, time0: f64, time1: f64, radius: f64, m: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> raytracer/src/texture.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new2(red: f64, green: f64, blue: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/texture.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new1(odd: T, even: U) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> raytracer/src/texture.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new2(c1: Vec3, c2: Vec3) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> raytracer/src/texture.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new(scale: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/texture.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new1() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> raytracer/src/texture.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new2(path: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ones` [INFO] [stdout] --> raytracer/src/vec3.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn ones() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `near_zero` [INFO] [stdout] --> raytracer/src/vec3.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn near_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_unit_vector` [INFO] [stdout] --> raytracer/src/vec3.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn random_unit_vector() -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_in_hemisphere` [INFO] [stdout] --> raytracer/src/vec3.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn random_in_hemisphere(normal: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `POINT_COUNT` [INFO] [stdout] --> raytracer/src/perlin.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const POINT_COUNT: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `permute` [INFO] [stdout] --> raytracer/src/perlin.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn permute(p: &mut Vec, n: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perlin_generate_perm` [INFO] [stdout] --> raytracer/src/perlin.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn perlin_generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> raytracer/src/perlin.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/constant_medium.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new1(b: T, d: f64, a: U) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> raytracer/src/bvh.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_compare` [INFO] [stdout] --> raytracer/src/bvh.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn box_compare(a: &Box, b: &Box, axis: i32) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_x_compare` [INFO] [stdout] --> raytracer/src/bvh.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_y_compare` [INFO] [stdout] --> raytracer/src/bvh.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_z_compare` [INFO] [stdout] --> raytracer/src/bvh.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `localbynum` [INFO] [stdout] --> raytracer/src/onb.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn localbynum(&self, a: f64, b: f64, c: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 29s [INFO] running `Command { std: "docker" "inspect" "2c79b822779b5c2d74803c47db65be9f1666cabd5587c5ea554f08155a6de11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c79b822779b5c2d74803c47db65be9f1666cabd5587c5ea554f08155a6de11f", kill_on_drop: false }` [INFO] [stdout] 2c79b822779b5c2d74803c47db65be9f1666cabd5587c5ea554f08155a6de11f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d4e52bebcc367c35d1656197da31fb99d544258974e1268677cd1048b8e18a6 [INFO] running `Command { std: "docker" "start" "-a" "9d4e52bebcc367c35d1656197da31fb99d544258974e1268677cd1048b8e18a6", kill_on_drop: false }` [INFO] [stderr] Compiling raytracer v0.1.0 (/opt/rustwide/workdir/raytracer) [INFO] [stdout] warning: unused import: `crate::Lambertian` [INFO] [stdout] --> raytracer/src/spherefile.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Lambertian; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> raytracer/src/hittablefile.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | fn pdf_value(&self, o: Vec3, v: Vec3) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> raytracer/src/hittablefile.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | fn pdf_value(&self, o: Vec3, v: Vec3) -> f64 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> raytracer/src/hittablefile.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | fn random(&self, o: Vec3) -> Vec3 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/hittablefile.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/hittablefile.rs:131:40 [INFO] [stdout] | [INFO] [stdout] 131 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> raytracer/src/materialfile.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srec` [INFO] [stdout] --> raytracer/src/materialfile.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_srec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> raytracer/src/materialfile.rs:19:34 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> raytracer/src/materialfile.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, 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] --> raytracer/src/materialfile.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, 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] --> raytracer/src/materialfile.rs:19:67 [INFO] [stdout] | [INFO] [stdout] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, 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: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> raytracer/src/materialfile.rs:22:41 [INFO] [stdout] | [INFO] [stdout] 22 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scattered` [INFO] [stdout] --> raytracer/src/materialfile.rs:22:58 [INFO] [stdout] | [INFO] [stdout] 22 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rec` [INFO] [stdout] --> raytracer/src/materialfile.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `srec` [INFO] [stdout] --> raytracer/src/materialfile.rs:149:51 [INFO] [stdout] | [INFO] [stdout] 149 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_srec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r_in` [INFO] [stdout] --> raytracer/src/materialfile.rs:152:23 [INFO] [stdout] | [INFO] [stdout] 152 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/boxfile.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut crate::aabb::AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/boxfile.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut crate::aabb::AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/spherefile.rs:79:28 [INFO] [stdout] | [INFO] [stdout] 79 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/spherefile.rs:79:40 [INFO] [stdout] | [INFO] [stdout] 79 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> raytracer/src/texture.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | 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] --> raytracer/src/texture.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | 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] --> raytracer/src/texture.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | 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: unused variable: `u` [INFO] [stdout] --> raytracer/src/texture.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | 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] --> raytracer/src/texture.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | 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] --> raytracer/src/texture.rs:107:45 [INFO] [stdout] | [INFO] [stdout] 107 | fn value(&self, mut u: f64, mut 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: unused variable: `i` [INFO] [stdout] --> raytracer/src/perlin.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | for i in 0..depth { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/aarect.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/aarect.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/aarect.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/aarect.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time0` [INFO] [stdout] --> raytracer/src/aarect.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/aarect.rs:178:40 [INFO] [stdout] | [INFO] [stdout] 178 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `left` is never read [INFO] [stdout] --> raytracer/src/bvh.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut left:Option> = None; [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: `time0` [INFO] [stdout] --> raytracer/src/bvh.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> raytracer/src/bvh.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hit_left` is never read [INFO] [stdout] --> raytracer/src/bvh.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let mut hit_left: Option = None; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hit_right` is never read [INFO] [stdout] --> raytracer/src/bvh.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let mut hit_right: Option = None; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/materialfile.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new1(a: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> raytracer/src/materialfile.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(a: Vec3, f: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/materialfile.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new1(a: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> raytracer/src/materialfile.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn new2(a: T) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/materialfile.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn new1(c: Vec3) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> raytracer/src/moving_sphere.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(center0: Vec3, center1: Vec3, time0: f64, time1: f64, radius: f64, m: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> raytracer/src/texture.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new2(red: f64, green: f64, blue: f64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/texture.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new1(odd: T, even: U) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> raytracer/src/texture.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn new2(c1: Vec3, c2: Vec3) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> raytracer/src/texture.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn new(scale: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/texture.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn new1() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new2` [INFO] [stdout] --> raytracer/src/texture.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new2(path: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ones` [INFO] [stdout] --> raytracer/src/vec3.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn ones() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `near_zero` [INFO] [stdout] --> raytracer/src/vec3.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn near_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_unit_vector` [INFO] [stdout] --> raytracer/src/vec3.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn random_unit_vector() -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `random_in_hemisphere` [INFO] [stdout] --> raytracer/src/vec3.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn random_in_hemisphere(normal: Vec3) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `POINT_COUNT` [INFO] [stdout] --> raytracer/src/perlin.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const POINT_COUNT: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `permute` [INFO] [stdout] --> raytracer/src/perlin.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn permute(p: &mut Vec, n: i32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `perlin_generate_perm` [INFO] [stdout] --> raytracer/src/perlin.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn perlin_generate_perm() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> raytracer/src/perlin.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new1` [INFO] [stdout] --> raytracer/src/constant_medium.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new1(b: T, d: f64, a: U) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> raytracer/src/bvh.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_compare` [INFO] [stdout] --> raytracer/src/bvh.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn box_compare(a: &Box, b: &Box, axis: i32) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_x_compare` [INFO] [stdout] --> raytracer/src/bvh.rs:107:8 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_y_compare` [INFO] [stdout] --> raytracer/src/bvh.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `box_z_compare` [INFO] [stdout] --> raytracer/src/bvh.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `localbynum` [INFO] [stdout] --> raytracer/src/onb.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn localbynum(&self, a: f64, b: f64, c: f64) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "9d4e52bebcc367c35d1656197da31fb99d544258974e1268677cd1048b8e18a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4e52bebcc367c35d1656197da31fb99d544258974e1268677cd1048b8e18a6", kill_on_drop: false }` [INFO] [stdout] 9d4e52bebcc367c35d1656197da31fb99d544258974e1268677cd1048b8e18a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-41/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2de69b2507a6014e60dab0f52a7dafb2e2d35a53ee7828a8b482b1a4d5ebc2d4 [INFO] running `Command { std: "docker" "start" "-a" "2de69b2507a6014e60dab0f52a7dafb2e2d35a53ee7828a8b482b1a4d5ebc2d4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::Lambertian` [INFO] [stderr] --> raytracer/src/spherefile.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::Lambertian; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `o` [INFO] [stderr] --> raytracer/src/hittablefile.rs:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | fn pdf_value(&self, o: Vec3, v: Vec3) -> f64 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> raytracer/src/hittablefile.rs:31:34 [INFO] [stderr] | [INFO] [stderr] 31 | fn pdf_value(&self, o: Vec3, v: Vec3) -> f64 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `o` [INFO] [stderr] --> raytracer/src/hittablefile.rs:34:22 [INFO] [stderr] | [INFO] [stderr] 34 | fn random(&self, o: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time0` [INFO] [stderr] --> raytracer/src/hittablefile.rs:131:28 [INFO] [stderr] | [INFO] [stderr] 131 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time1` [INFO] [stderr] --> raytracer/src/hittablefile.rs:131:40 [INFO] [stderr] | [INFO] [stderr] 131 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> raytracer/src/materialfile.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rec` [INFO] [stderr] --> raytracer/src/materialfile.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `srec` [INFO] [stderr] --> raytracer/src/materialfile.rs:16:51 [INFO] [stderr] | [INFO] [stderr] 16 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_srec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> raytracer/src/materialfile.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rec` [INFO] [stderr] --> raytracer/src/materialfile.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> raytracer/src/materialfile.rs:19:51 [INFO] [stderr] | [INFO] [stderr] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> raytracer/src/materialfile.rs:19:59 [INFO] [stderr] | [INFO] [stderr] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> raytracer/src/materialfile.rs:19:67 [INFO] [stderr] | [INFO] [stderr] 19 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> raytracer/src/materialfile.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rec` [INFO] [stderr] --> raytracer/src/materialfile.rs:22:41 [INFO] [stderr] | [INFO] [stderr] 22 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scattered` [INFO] [stderr] --> raytracer/src/materialfile.rs:22:58 [INFO] [stderr] | [INFO] [stderr] 22 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scattered` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> raytracer/src/materialfile.rs:44:23 [INFO] [stderr] | [INFO] [stderr] 44 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> raytracer/src/materialfile.rs:50:30 [INFO] [stderr] | [INFO] [stderr] 50 | fn scattering_pdf(&self, r_in: Ray, rec: &HitRecord, scattered: Ray) -> f64 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> raytracer/src/materialfile.rs:149:23 [INFO] [stderr] | [INFO] [stderr] 149 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rec` [INFO] [stderr] --> raytracer/src/materialfile.rs:149:34 [INFO] [stderr] | [INFO] [stderr] 149 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `srec` [INFO] [stderr] --> raytracer/src/materialfile.rs:149:51 [INFO] [stderr] | [INFO] [stderr] 149 | fn scatter(&self, r_in: Ray, rec: &HitRecord, srec: &mut ScatterRecord) -> bool { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_srec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> raytracer/src/materialfile.rs:152:23 [INFO] [stderr] | [INFO] [stderr] 152 | fn emitted(&self, r_in: Ray, rec: &HitRecord, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_r_in` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time0` [INFO] [stderr] --> raytracer/src/boxfile.rs:84:28 [INFO] [stderr] | [INFO] [stderr] 84 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut crate::aabb::AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time1` [INFO] [stderr] --> raytracer/src/boxfile.rs:84:40 [INFO] [stderr] | [INFO] [stderr] 84 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut crate::aabb::AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time0` [INFO] [stderr] --> raytracer/src/spherefile.rs:79:28 [INFO] [stderr] | [INFO] [stderr] 79 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time1` [INFO] [stderr] --> raytracer/src/spherefile.rs:79:40 [INFO] [stderr] | [INFO] [stderr] 79 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> raytracer/src/texture.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | fn value(&self, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> raytracer/src/texture.rs:27:29 [INFO] [stderr] | [INFO] [stderr] 27 | fn value(&self, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> raytracer/src/texture.rs:27:37 [INFO] [stderr] | [INFO] [stderr] 27 | fn value(&self, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> raytracer/src/texture.rs:73:21 [INFO] [stderr] | [INFO] [stderr] 73 | fn value(&self, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> raytracer/src/texture.rs:73:29 [INFO] [stderr] | [INFO] [stderr] 73 | fn value(&self, u: f64, v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> raytracer/src/texture.rs:107:45 [INFO] [stderr] | [INFO] [stderr] 107 | fn value(&self, mut u: f64, mut v: f64, p: Vec3) -> Vec3 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> raytracer/src/perlin.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | for i in 0..depth { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time0` [INFO] [stderr] --> raytracer/src/aarect.rs:54:28 [INFO] [stderr] | [INFO] [stderr] 54 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time1` [INFO] [stderr] --> raytracer/src/aarect.rs:54:40 [INFO] [stderr] | [INFO] [stderr] 54 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time0` [INFO] [stderr] --> raytracer/src/aarect.rs:107:28 [INFO] [stderr] | [INFO] [stderr] 107 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time1` [INFO] [stderr] --> raytracer/src/aarect.rs:107:40 [INFO] [stderr] | [INFO] [stderr] 107 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time0` [INFO] [stderr] --> raytracer/src/aarect.rs:178:28 [INFO] [stderr] | [INFO] [stderr] 178 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time1` [INFO] [stderr] --> raytracer/src/aarect.rs:178:40 [INFO] [stderr] | [INFO] [stderr] 178 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `left` is never read [INFO] [stderr] --> raytracer/src/bvh.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | let mut left:Option> = None; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time0` [INFO] [stderr] --> raytracer/src/bvh.rs:64:28 [INFO] [stderr] | [INFO] [stderr] 64 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time0` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `time1` [INFO] [stderr] --> raytracer/src/bvh.rs:64:40 [INFO] [stderr] | [INFO] [stderr] 64 | fn bounding_box(&self, time0: f64, time1: f64, output_box: &mut AABB) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `hit_left` is never read [INFO] [stderr] --> raytracer/src/bvh.rs:72:17 [INFO] [stderr] | [INFO] [stderr] 72 | let mut hit_left: Option = None; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `hit_right` is never read [INFO] [stderr] --> raytracer/src/bvh.rs:73:17 [INFO] [stderr] | [INFO] [stderr] 73 | let mut hit_right: Option = None; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new1` [INFO] [stderr] --> raytracer/src/materialfile.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new1(a: T) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> raytracer/src/materialfile.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn new(a: Vec3, f: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new1` [INFO] [stderr] --> raytracer/src/materialfile.rs:137:12 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn new1(a: T) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new2` [INFO] [stderr] --> raytracer/src/materialfile.rs:165:12 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn new2(a: T) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new1` [INFO] [stderr] --> raytracer/src/materialfile.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn new1(c: Vec3) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> raytracer/src/moving_sphere.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn new(center0: Vec3, center1: Vec3, time0: f64, time1: f64, radius: f64, m: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new2` [INFO] [stderr] --> raytracer/src/texture.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new2(red: f64, green: f64, blue: f64) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new1` [INFO] [stderr] --> raytracer/src/texture.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn new1(odd: T, even: U) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new2` [INFO] [stderr] --> raytracer/src/texture.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn new2(c1: Vec3, c2: Vec3) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> raytracer/src/texture.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn new(scale: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new1` [INFO] [stderr] --> raytracer/src/texture.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn new1() -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new2` [INFO] [stderr] --> raytracer/src/texture.rs:96:12 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn new2(path: &str) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `ones` [INFO] [stderr] --> raytracer/src/vec3.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn ones() -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `near_zero` [INFO] [stderr] --> raytracer/src/vec3.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn near_zero(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `random_unit_vector` [INFO] [stderr] --> raytracer/src/vec3.rs:83:8 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn random_unit_vector() -> Vec3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `random_in_hemisphere` [INFO] [stderr] --> raytracer/src/vec3.rs:104:8 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn random_in_hemisphere(normal: Vec3) -> Vec3 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `POINT_COUNT` [INFO] [stderr] --> raytracer/src/perlin.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub const POINT_COUNT: usize = 256; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `permute` [INFO] [stderr] --> raytracer/src/perlin.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | fn permute(p: &mut Vec, n: i32) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `perlin_generate_perm` [INFO] [stderr] --> raytracer/src/perlin.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | fn perlin_generate_perm() -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> raytracer/src/perlin.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new1` [INFO] [stderr] --> raytracer/src/constant_medium.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn new1(b: T, d: f64, a: U) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> raytracer/src/bvh.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `box_compare` [INFO] [stderr] --> raytracer/src/bvh.rs:94:8 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn box_compare(a: &Box, b: &Box, axis: i32) -> Ordering { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `box_x_compare` [INFO] [stderr] --> raytracer/src/bvh.rs:107:8 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn box_x_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `box_y_compare` [INFO] [stderr] --> raytracer/src/bvh.rs:110:8 [INFO] [stderr] | [INFO] [stderr] 110 | pub fn box_y_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `box_z_compare` [INFO] [stderr] --> raytracer/src/bvh.rs:113:8 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn box_z_compare(a: &Box, b: &Box) -> Ordering { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `localbynum` [INFO] [stderr] --> raytracer/src/onb.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn localbynum(&self, a: f64, b: f64, c: f64) -> Vec3 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `raytracer` (bin "raytracer" test) generated 72 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/raytracer-3bc7ccf9a34f75ab) [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" "2de69b2507a6014e60dab0f52a7dafb2e2d35a53ee7828a8b482b1a4d5ebc2d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de69b2507a6014e60dab0f52a7dafb2e2d35a53ee7828a8b482b1a4d5ebc2d4", kill_on_drop: false }` [INFO] [stdout] 2de69b2507a6014e60dab0f52a7dafb2e2d35a53ee7828a8b482b1a4d5ebc2d4