[INFO] cloning repository https://github.com/grant0417/ray_tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grant0417/ray_tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrant0417%2Fray_tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrant0417%2Fray_tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8274c25952e45eed5365cdaf23ea5ab168c0b14c [INFO] testing grant0417/ray_tracer against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrant0417%2Fray_tracer" "/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/grant0417/ray_tracer 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] started tweaking git repo https://github.com/grant0417/ray_tracer [INFO] finished tweaking git repo https://github.com/grant0417/ray_tracer [INFO] tweaked toml for git repo https://github.com/grant0417/ray_tracer written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/grant0417/ray_tracer 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] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.4.0 [INFO] [stderr] Downloaded terminal_size v0.1.13 [INFO] [stderr] Downloaded console v0.12.0 [INFO] [stderr] Downloaded crossbeam-channel v0.4.3 [INFO] [stderr] Downloaded tobj v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.17 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.17 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 91d1812588f022e6e2b45d56140ef83c00aad25bceba3c7f97adeac426fe116d [INFO] running `Command { std: "docker" "start" "-a" "91d1812588f022e6e2b45d56140ef83c00aad25bceba3c7f97adeac426fe116d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91d1812588f022e6e2b45d56140ef83c00aad25bceba3c7f97adeac426fe116d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d1812588f022e6e2b45d56140ef83c00aad25bceba3c7f97adeac426fe116d", kill_on_drop: false }` [INFO] [stdout] 91d1812588f022e6e2b45d56140ef83c00aad25bceba3c7f97adeac426fe116d [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 290f3377fe8b09719b7c27c47383b1ec0bb451fb399bd34ac13ad3b862fa08c9 [INFO] running `Command { std: "docker" "start" "-a" "290f3377fe8b09719b7c27c47383b1ec0bb451fb399bd34ac13ad3b862fa08c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.67 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling bytemuck v1.4.0 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling tobj v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.12 [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-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling termios v0.3.2 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling console v0.12.0 [INFO] [stderr] Compiling simba v0.2.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling nalgebra v0.22.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.67 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling indicatif v0.14.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Compiling image v0.23.9 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.67 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling js-sys v0.3.44 [INFO] [stderr] Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util::random_int_range` [INFO] [stdout] --> src/hittable_list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::random_int_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::random_double` [INFO] [stdout] --> src/material.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::util::random_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mesh::Mesh` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::mesh::Mesh; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lambertian` [INFO] [stdout] --> src/lib.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::material::{Lambertian, ScatterRecord}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgressBar`, `ProgressStyle` [INFO] [stdout] --> src/lib.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | use indicatif::{ProgressBar, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/hittable.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | 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] --> src/hittable.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | 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] --> src/hittable.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | 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: `r_in` [INFO] [stdout] --> src/material.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, scatter_record: &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] --> src/material.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | 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] --> src/material.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &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] --> src/material.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &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: `r_in` [INFO] [stdout] --> src/material.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &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] --> src/material.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | w: Vec3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/camera.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `schlick` [INFO] [stdout] --> src/material.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn schlick(cosine: f64, ref_idx: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ref_idx` [INFO] [stdout] --> src/material.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | ref_idx: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Dielectric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `book2_scene` [INFO] [stdout] --> src/scenes.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn book2_scene(width: usize, height: usize) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_spheres` [INFO] [stdout] --> src/scenes.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn two_spheres() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_perlin_spheres` [INFO] [stdout] --> src/scenes.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn two_perlin_spheres() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_light` [INFO] [stdout] --> src/scenes.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | fn simple_light() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "290f3377fe8b09719b7c27c47383b1ec0bb451fb399bd34ac13ad3b862fa08c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "290f3377fe8b09719b7c27c47383b1ec0bb451fb399bd34ac13ad3b862fa08c9", kill_on_drop: false }` [INFO] [stdout] 290f3377fe8b09719b7c27c47383b1ec0bb451fb399bd34ac13ad3b862fa08c9 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4aea3c911ca08fcb1a887d54780b0604823d98ccf9545f3eca5af695ebef010 [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" "d4aea3c911ca08fcb1a887d54780b0604823d98ccf9545f3eca5af695ebef010", kill_on_drop: false }` [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.17 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.17 [INFO] [stdout] warning: unused import: `crate::util::random_int_range` [INFO] [stdout] --> src/hittable_list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::random_int_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::random_double` [INFO] [stdout] --> src/material.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::util::random_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mesh::Mesh` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::mesh::Mesh; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lambertian` [INFO] [stdout] --> src/lib.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::material::{Lambertian, ScatterRecord}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgressBar`, `ProgressStyle` [INFO] [stdout] --> src/lib.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | use indicatif::{ProgressBar, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/hittable.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | 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] --> src/hittable.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | 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] --> src/hittable.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | 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: `r_in` [INFO] [stdout] --> src/material.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, scatter_record: &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] --> src/material.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | 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] --> src/material.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &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] --> src/material.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &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: `r_in` [INFO] [stdout] --> src/material.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &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] --> src/material.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | w: Vec3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/camera.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `schlick` [INFO] [stdout] --> src/material.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn schlick(cosine: f64, ref_idx: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ref_idx` [INFO] [stdout] --> src/material.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | ref_idx: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Dielectric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `book2_scene` [INFO] [stdout] --> src/scenes.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn book2_scene(width: usize, height: usize) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_spheres` [INFO] [stdout] --> src/scenes.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn two_spheres() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_perlin_spheres` [INFO] [stdout] --> src/scenes.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn two_perlin_spheres() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_light` [INFO] [stdout] --> src/scenes.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | fn simple_light() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-test v0.3.17 [INFO] [stderr] Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::util::random_int_range` [INFO] [stdout] --> src/hittable_list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::util::random_int_range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::random_double` [INFO] [stdout] --> src/material.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::util::random_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mesh::Mesh` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::mesh::Mesh; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lambertian` [INFO] [stdout] --> src/lib.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | use crate::material::{Lambertian, ScatterRecord}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ProgressBar`, `ProgressStyle` [INFO] [stdout] --> src/lib.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | use indicatif::{ProgressBar, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/hittable.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | 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] --> src/hittable.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | 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] --> src/hittable.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | 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: `r_in` [INFO] [stdout] --> src/material.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, scatter_record: &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] --> src/material.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | 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] --> src/material.rs:129:23 [INFO] [stdout] | [INFO] [stdout] 129 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &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] --> src/material.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &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: `r_in` [INFO] [stdout] --> src/material.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &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] --> src/material.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &mut ScatterRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/camera.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | w: Vec3, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/camera.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Copy, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `schlick` [INFO] [stdout] --> src/material.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn schlick(cosine: f64, ref_idx: f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ref_idx` [INFO] [stdout] --> src/material.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | ref_idx: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Dielectric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/material.rs:117:10 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `book2_scene` [INFO] [stdout] --> src/scenes.rs:207:4 [INFO] [stdout] | [INFO] [stdout] 207 | fn book2_scene(width: usize, height: usize) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_spheres` [INFO] [stdout] --> src/scenes.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn two_spheres() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `two_perlin_spheres` [INFO] [stdout] --> src/scenes.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn two_perlin_spheres() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_light` [INFO] [stdout] --> src/scenes.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 247 | fn simple_light() -> HittableList { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.18s [INFO] running `Command { std: "docker" "inspect" "d4aea3c911ca08fcb1a887d54780b0604823d98ccf9545f3eca5af695ebef010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4aea3c911ca08fcb1a887d54780b0604823d98ccf9545f3eca5af695ebef010", kill_on_drop: false }` [INFO] [stdout] d4aea3c911ca08fcb1a887d54780b0604823d98ccf9545f3eca5af695ebef010 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 886d89d6289f38355883ca39fe715fe1e744fb4420be8682c66589c7f42d1a61 [INFO] running `Command { std: "docker" "start" "-a" "886d89d6289f38355883ca39fe715fe1e744fb4420be8682c66589c7f42d1a61", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::util::random_int_range` [INFO] [stderr] --> src/hittable_list.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::util::random_int_range; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::util::random_double` [INFO] [stderr] --> src/material.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::util::random_double; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::mesh::Mesh` [INFO] [stderr] --> src/lib.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | use crate::mesh::Mesh; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Lambertian` [INFO] [stderr] --> src/lib.rs:31:23 [INFO] [stderr] | [INFO] [stderr] 31 | use crate::material::{Lambertian, ScatterRecord}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ProgressBar`, `ProgressStyle` [INFO] [stderr] --> src/lib.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | use indicatif::{ProgressBar, ProgressStyle}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `o` [INFO] [stderr] --> src/hittable.rs:44:25 [INFO] [stderr] | [INFO] [stderr] 44 | 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] --> src/hittable.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | 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] --> src/hittable.rs:47:22 [INFO] [stderr] | [INFO] [stderr] 47 | 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: `r_in` [INFO] [stderr] --> src/material.rs:69:23 [INFO] [stderr] | [INFO] [stderr] 69 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, scatter_record: &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] --> src/material.rs:76:30 [INFO] [stderr] | [INFO] [stderr] 76 | 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] --> src/material.rs:129:23 [INFO] [stderr] | [INFO] [stderr] 129 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &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] --> src/material.rs:129:35 [INFO] [stderr] | [INFO] [stderr] 129 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &mut ScatterRecord) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r_in` [INFO] [stderr] --> src/material.rs:205:23 [INFO] [stderr] | [INFO] [stderr] 205 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &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] --> src/material.rs:205:35 [INFO] [stderr] | [INFO] [stderr] 205 | fn scatter(&self, r_in: &Ray, rec: &mut HitRecord, _scatter_record: &mut ScatterRecord) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rec` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `w` [INFO] [stderr] --> src/camera.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | w: Vec3, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Camera` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/camera.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Copy, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `schlick` [INFO] [stderr] --> src/material.rs:45:4 [INFO] [stderr] | [INFO] [stderr] 45 | fn schlick(cosine: f64, ref_idx: f64) -> f64 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ref_idx` [INFO] [stderr] --> src/material.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | ref_idx: f64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Dielectric` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/material.rs:117:10 [INFO] [stderr] | [INFO] [stderr] 117 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `book2_scene` [INFO] [stderr] --> src/scenes.rs:207:4 [INFO] [stderr] | [INFO] [stderr] 207 | fn book2_scene(width: usize, height: usize) -> Scene { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `two_spheres` [INFO] [stderr] --> src/scenes.rs:216:4 [INFO] [stderr] | [INFO] [stderr] 216 | fn two_spheres() -> HittableList { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `two_perlin_spheres` [INFO] [stderr] --> src/scenes.rs:230:4 [INFO] [stderr] | [INFO] [stderr] 230 | fn two_perlin_spheres() -> HittableList { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `simple_light` [INFO] [stderr] --> src/scenes.rs:247:4 [INFO] [stderr] | [INFO] [stderr] 247 | fn simple_light() -> HittableList { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ray_tracer` (lib) generated 21 warnings [INFO] [stderr] warning: `ray_tracer` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ray_tracer-0dcdcb05b0fe931e) [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] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ray_tracer-0a33a9b2fe3d6a43) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests ray_tracer [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] [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" "886d89d6289f38355883ca39fe715fe1e744fb4420be8682c66589c7f42d1a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "886d89d6289f38355883ca39fe715fe1e744fb4420be8682c66589c7f42d1a61", kill_on_drop: false }` [INFO] [stdout] 886d89d6289f38355883ca39fe715fe1e744fb4420be8682c66589c7f42d1a61