[INFO] cloning repository https://github.com/natnat-mc/rmarcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/natnat-mc/rmarcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatnat-mc%2Frmarcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatnat-mc%2Frmarcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8d0ba0f25401587b459dbf1bebea2d93a69e4c8 [INFO] checking natnat-mc/rmarcher against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnatnat-mc%2Frmarcher" "/workspace/builds/worker-85/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-85/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/natnat-mc/rmarcher on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/natnat-mc/rmarcher [INFO] finished tweaking git repo https://github.com/natnat-mc/rmarcher [INFO] tweaked toml for git repo https://github.com/natnat-mc/rmarcher written to /workspace/builds/worker-85/source/Cargo.toml [INFO] crate git repo https://github.com/natnat-mc/rmarcher already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3219b86e09367d915df5e3cbaf55c08db128671e671b519f6157e711ea1ede55 [INFO] running `Command { std: "docker" "start" "-a" "3219b86e09367d915df5e3cbaf55c08db128671e671b519f6157e711ea1ede55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3219b86e09367d915df5e3cbaf55c08db128671e671b519f6157e711ea1ede55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3219b86e09367d915df5e3cbaf55c08db128671e671b519f6157e711ea1ede55", kill_on_drop: false }` [INFO] [stdout] 3219b86e09367d915df5e3cbaf55c08db128671e671b519f6157e711ea1ede55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4aa8c922691f4eca8f92c71b4abe8ae129ac4aeda1a1568a260fb10b58bc424 [INFO] running `Command { std: "docker" "start" "-a" "b4aa8c922691f4eca8f92c71b4abe8ae129ac4aeda1a1568a260fb10b58bc424", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rlua v0.17.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking rmarcher v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lua/color.rs (4 fixes) [INFO] [stderr] Fixed src/lua/obj.rs (16 fixes) [INFO] [stderr] Fixed src/lua/light.rs (1 fix) [INFO] [stderr] Fixed src/lua/transform.rs (10 fixes) [INFO] [stderr] Fixed src/lua/vec3.rs (17 fixes) [INFO] [stderr] Fixed src/lua/material.rs (2 fixes) [INFO] [stderr] Fixed src/lua/mat3.rs (21 fixes) [INFO] [stdout] warning: constant is never used: `RED` [INFO] [stdout] --> src/material.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / pub const RED: Material = Material::new_from_diagonal( [INFO] [stdout] 42 | | COLOR_ZERO, [INFO] [stdout] 43 | | ColorVec::new([0.75, 0.25, 0.25, 0.]), [INFO] [stdout] 44 | | Diffuse [INFO] [stdout] 45 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GREEN` [INFO] [stdout] --> src/material.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / pub const GREEN: Material = Material::new_from_diagonal( [INFO] [stdout] 47 | | COLOR_ZERO, [INFO] [stdout] 48 | | ColorVec::new([0.25, 0.75, 0.25, 0.]), [INFO] [stdout] 49 | | Diffuse [INFO] [stdout] 50 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLUE` [INFO] [stdout] --> src/material.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / pub const BLUE: Material = Material::new_from_diagonal( [INFO] [stdout] 52 | | COLOR_ZERO, [INFO] [stdout] 53 | | ColorVec::new([0.25, 0.25, 0.75, 0.]), [INFO] [stdout] 54 | | Diffuse [INFO] [stdout] 55 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / pub const LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 57 | | ColorVec::new([1., 1., 1., 0.]), [INFO] [stdout] 58 | | COLOR_ONE, [INFO] [stdout] 59 | | Diffuse [INFO] [stdout] 60 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIRROR` [INFO] [stdout] --> src/material.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / pub const MIRROR: Material = Material::new_from_diagonal( [INFO] [stdout] 63 | | COLOR_ZERO, [INFO] [stdout] 64 | | ColorVec::new([0.9, 0.9, 0.9, 0.9]), [INFO] [stdout] 65 | | Reflective [INFO] [stdout] 66 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STRONG_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / pub const STRONG_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 69 | | ColorVec::new([5., 5., 5., 0.]), [INFO] [stdout] 70 | | COLOR_ZERO, [INFO] [stdout] 71 | | Stop [INFO] [stdout] 72 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BRIGHT_AF_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / pub const BRIGHT_AF_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 75 | | ColorVec::new([25., 25., 25., 0.]), [INFO] [stdout] 76 | | COLOR_ZERO, [INFO] [stdout] 77 | | Stop [INFO] [stdout] 78 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UV_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / pub const UV_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 81 | | ColorVec::new_one(3), [INFO] [stdout] 82 | | ColorVec::new([0.25, 0.25, 0.25, 1.]), [INFO] [stdout] 83 | | Diffuse [INFO] [stdout] 84 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUORESCENT` [INFO] [stdout] --> src/material.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / pub const FLUORESCENT: Material = Material::new( [INFO] [stdout] 86 | | ColorVec::new([0.25; COLOR_CHANNELS]), [INFO] [stdout] 87 | | ColorMat::new([ [INFO] [stdout] 88 | | [1., 0., 0., 0.75], [INFO] [stdout] ... | [INFO] [stdout] 93 | | Diffuse [INFO] [stdout] 94 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/sphere.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64) -> Sphere { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/plane.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_xyz(x: f64, y: f64, z: f64, offset: f64) -> Plane { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_raw` [INFO] [stdout] --> src/object/plane.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub const unsafe fn new_raw(normal: Vec3, offset: f64) -> Plane { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/cuboid.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_xyz(cx: f64, cy: f64, cz: f64, rx: f64, ry: f64, rz: f64) -> Cuboid { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/torus.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64, thickness: f64) -> Torus { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/object/with_material.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(obj: T, fun: F) -> WithDynamicMaterial { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/object/with_lights.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(obj: T, lights: [Light; N]) -> WithLights { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_light` [INFO] [stdout] --> src/object/with_lights.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_light(&mut self, light: Light) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_linear` [INFO] [stdout] --> src/object/transform.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new_linear(obj: T, transform: Mat3) -> AffineTransform { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_translate` [INFO] [stdout] --> src/object/transform.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_translate(obj: T, translate: Vec3) -> AffineTransform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_from_box` [INFO] [stdout] --> src/object/scene.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_from_box(scene: Box) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_cols` [INFO] [stdout] --> src/structs/mat3.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub const fn new_cols(a: Vec3, b: Vec3, c: Vec3) -> Mat3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_rows` [INFO] [stdout] --> src/structs/mat3.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn new_rows(a: Vec3, d: Vec3, g: Vec3) -> Mat3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_one` [INFO] [stdout] --> src/structs/vec_n.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub const fn new_one(i: usize) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magnitude` [INFO] [stdout] --> src/structs/vec_n.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn magnitude(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/structs/vec_n.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn unit(self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance_to` [INFO] [stdout] --> src/structs/vec_n.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn distance_to(self, other: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `member_mul` [INFO] [stdout] --> src/structs/vec_n.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn member_mul(self, other: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_unit` [INFO] [stdout] --> src/structs/mat_n.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub const fn new_unit() -> Mat { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_one` [INFO] [stdout] --> src/structs/mat_n.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub const fn new_one(i: usize, j: usize) -> Mat { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `v` [INFO] [stdout] --> src/structs/mat_n.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub const fn v(&self, i: usize, j: usize) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_from_to` [INFO] [stdout] --> src/structs/ray.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_from_to(from: Vec3, to: Vec3) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/structs/ray.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn unit(&self) -> Ray { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/structs/ray.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from(&self) -> Vec3 { self.from } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dir` [INFO] [stdout] --> src/structs/ray.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn dir(&self) -> Vec3 { self.dir } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_pointing` [INFO] [stdout] --> src/structs/cam.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new_pointing(pos: Vec3, pointing: Vec3, fov: f64) -> Cam { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RIGHT` [INFO] [stdout] --> src/consts.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub const RIGHT: Vec3 = X; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FORWARD` [INFO] [stdout] --> src/consts.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub const FORWARD: Vec3 = Z; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_cam` [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn default_cam() -> Cam { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene1` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn default_scene1() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene2` [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn default_scene2() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene3` [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn default_scene3() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RED` [INFO] [stdout] --> src/material.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / pub const RED: Material = Material::new_from_diagonal( [INFO] [stdout] 42 | | COLOR_ZERO, [INFO] [stdout] 43 | | ColorVec::new([0.75, 0.25, 0.25, 0.]), [INFO] [stdout] 44 | | Diffuse [INFO] [stdout] 45 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GREEN` [INFO] [stdout] --> src/material.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / pub const GREEN: Material = Material::new_from_diagonal( [INFO] [stdout] 47 | | COLOR_ZERO, [INFO] [stdout] 48 | | ColorVec::new([0.25, 0.75, 0.25, 0.]), [INFO] [stdout] 49 | | Diffuse [INFO] [stdout] 50 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLUE` [INFO] [stdout] --> src/material.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / pub const BLUE: Material = Material::new_from_diagonal( [INFO] [stdout] 52 | | COLOR_ZERO, [INFO] [stdout] 53 | | ColorVec::new([0.25, 0.25, 0.75, 0.]), [INFO] [stdout] 54 | | Diffuse [INFO] [stdout] 55 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / pub const LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 57 | | ColorVec::new([1., 1., 1., 0.]), [INFO] [stdout] 58 | | COLOR_ONE, [INFO] [stdout] 59 | | Diffuse [INFO] [stdout] 60 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIRROR` [INFO] [stdout] --> src/material.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / pub const MIRROR: Material = Material::new_from_diagonal( [INFO] [stdout] 63 | | COLOR_ZERO, [INFO] [stdout] 64 | | ColorVec::new([0.9, 0.9, 0.9, 0.9]), [INFO] [stdout] 65 | | Reflective [INFO] [stdout] 66 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STRONG_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / pub const STRONG_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 69 | | ColorVec::new([5., 5., 5., 0.]), [INFO] [stdout] 70 | | COLOR_ZERO, [INFO] [stdout] 71 | | Stop [INFO] [stdout] 72 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BRIGHT_AF_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / pub const BRIGHT_AF_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 75 | | ColorVec::new([25., 25., 25., 0.]), [INFO] [stdout] 76 | | COLOR_ZERO, [INFO] [stdout] 77 | | Stop [INFO] [stdout] 78 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UV_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / pub const UV_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 81 | | ColorVec::new_one(3), [INFO] [stdout] 82 | | ColorVec::new([0.25, 0.25, 0.25, 1.]), [INFO] [stdout] 83 | | Diffuse [INFO] [stdout] 84 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUORESCENT` [INFO] [stdout] --> src/material.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / pub const FLUORESCENT: Material = Material::new( [INFO] [stdout] 86 | | ColorVec::new([0.25; COLOR_CHANNELS]), [INFO] [stdout] 87 | | ColorMat::new([ [INFO] [stdout] 88 | | [1., 0., 0., 0.75], [INFO] [stdout] ... | [INFO] [stdout] 93 | | Diffuse [INFO] [stdout] 94 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/sphere.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64) -> Sphere { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/plane.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_xyz(x: f64, y: f64, z: f64, offset: f64) -> Plane { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_raw` [INFO] [stdout] --> src/object/plane.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub const unsafe fn new_raw(normal: Vec3, offset: f64) -> Plane { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/cuboid.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_xyz(cx: f64, cy: f64, cz: f64, rx: f64, ry: f64, rz: f64) -> Cuboid { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/torus.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64, thickness: f64) -> Torus { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/object/with_material.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(obj: T, fun: F) -> WithDynamicMaterial { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/object/with_lights.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(obj: T, lights: [Light; N]) -> WithLights { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_light` [INFO] [stdout] --> src/object/with_lights.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_light(&mut self, light: Light) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_linear` [INFO] [stdout] --> src/object/transform.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new_linear(obj: T, transform: Mat3) -> AffineTransform { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_translate` [INFO] [stdout] --> src/object/transform.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_translate(obj: T, translate: Vec3) -> AffineTransform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_from_box` [INFO] [stdout] --> src/object/scene.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_from_box(scene: Box) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_cols` [INFO] [stdout] --> src/structs/mat3.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub const fn new_cols(a: Vec3, b: Vec3, c: Vec3) -> Mat3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_rows` [INFO] [stdout] --> src/structs/mat3.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn new_rows(a: Vec3, d: Vec3, g: Vec3) -> Mat3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_one` [INFO] [stdout] --> src/structs/vec_n.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub const fn new_one(i: usize) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magnitude` [INFO] [stdout] --> src/structs/vec_n.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn magnitude(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/structs/vec_n.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn unit(self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance_to` [INFO] [stdout] --> src/structs/vec_n.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn distance_to(self, other: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `member_mul` [INFO] [stdout] --> src/structs/vec_n.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn member_mul(self, other: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_unit` [INFO] [stdout] --> src/structs/mat_n.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub const fn new_unit() -> Mat { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_one` [INFO] [stdout] --> src/structs/mat_n.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub const fn new_one(i: usize, j: usize) -> Mat { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `v` [INFO] [stdout] --> src/structs/mat_n.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub const fn v(&self, i: usize, j: usize) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_from_to` [INFO] [stdout] --> src/structs/ray.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_from_to(from: Vec3, to: Vec3) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/structs/ray.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn unit(&self) -> Ray { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/structs/ray.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from(&self) -> Vec3 { self.from } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dir` [INFO] [stdout] --> src/structs/ray.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn dir(&self) -> Vec3 { self.dir } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_pointing` [INFO] [stdout] --> src/structs/cam.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new_pointing(pos: Vec3, pointing: Vec3, fov: f64) -> Cam { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RIGHT` [INFO] [stdout] --> src/consts.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub const RIGHT: Vec3 = X; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FORWARD` [INFO] [stdout] --> src/consts.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub const FORWARD: Vec3 = Z; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_cam` [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn default_cam() -> Cam { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene1` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn default_scene1() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene2` [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn default_scene2() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene3` [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn default_scene3() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 35.73s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rmarcher v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: constant is never used: `RED` [INFO] [stdout] --> src/material.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / pub const RED: Material = Material::new_from_diagonal( [INFO] [stdout] 42 | | COLOR_ZERO, [INFO] [stdout] 43 | | ColorVec::new([0.75, 0.25, 0.25, 0.]), [INFO] [stdout] 44 | | Diffuse [INFO] [stdout] 45 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RED` [INFO] [stdout] --> src/material.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / pub const RED: Material = Material::new_from_diagonal( [INFO] [stdout] 42 | | COLOR_ZERO, [INFO] [stdout] 43 | | ColorVec::new([0.75, 0.25, 0.25, 0.]), [INFO] [stdout] 44 | | Diffuse [INFO] [stdout] 45 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GREEN` [INFO] [stdout] --> src/material.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / pub const GREEN: Material = Material::new_from_diagonal( [INFO] [stdout] 47 | | COLOR_ZERO, [INFO] [stdout] 48 | | ColorVec::new([0.25, 0.75, 0.25, 0.]), [INFO] [stdout] 49 | | Diffuse [INFO] [stdout] 50 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLUE` [INFO] [stdout] --> src/material.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / pub const BLUE: Material = Material::new_from_diagonal( [INFO] [stdout] 52 | | COLOR_ZERO, [INFO] [stdout] 53 | | ColorVec::new([0.25, 0.25, 0.75, 0.]), [INFO] [stdout] 54 | | Diffuse [INFO] [stdout] 55 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GREEN` [INFO] [stdout] --> src/material.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / pub const GREEN: Material = Material::new_from_diagonal( [INFO] [stdout] 47 | | COLOR_ZERO, [INFO] [stdout] 48 | | ColorVec::new([0.25, 0.75, 0.25, 0.]), [INFO] [stdout] 49 | | Diffuse [INFO] [stdout] 50 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / pub const LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 57 | | ColorVec::new([1., 1., 1., 0.]), [INFO] [stdout] 58 | | COLOR_ONE, [INFO] [stdout] 59 | | Diffuse [INFO] [stdout] 60 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLUE` [INFO] [stdout] --> src/material.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | / pub const BLUE: Material = Material::new_from_diagonal( [INFO] [stdout] 52 | | COLOR_ZERO, [INFO] [stdout] 53 | | ColorVec::new([0.25, 0.25, 0.75, 0.]), [INFO] [stdout] 54 | | Diffuse [INFO] [stdout] 55 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIRROR` [INFO] [stdout] --> src/material.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / pub const MIRROR: Material = Material::new_from_diagonal( [INFO] [stdout] 63 | | COLOR_ZERO, [INFO] [stdout] 64 | | ColorVec::new([0.9, 0.9, 0.9, 0.9]), [INFO] [stdout] 65 | | Reflective [INFO] [stdout] 66 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STRONG_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / pub const STRONG_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 69 | | ColorVec::new([5., 5., 5., 0.]), [INFO] [stdout] 70 | | COLOR_ZERO, [INFO] [stdout] 71 | | Stop [INFO] [stdout] 72 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / pub const LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 57 | | ColorVec::new([1., 1., 1., 0.]), [INFO] [stdout] 58 | | COLOR_ONE, [INFO] [stdout] 59 | | Diffuse [INFO] [stdout] 60 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BRIGHT_AF_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / pub const BRIGHT_AF_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 75 | | ColorVec::new([25., 25., 25., 0.]), [INFO] [stdout] 76 | | COLOR_ZERO, [INFO] [stdout] 77 | | Stop [INFO] [stdout] 78 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MIRROR` [INFO] [stdout] --> src/material.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / pub const MIRROR: Material = Material::new_from_diagonal( [INFO] [stdout] 63 | | COLOR_ZERO, [INFO] [stdout] 64 | | ColorVec::new([0.9, 0.9, 0.9, 0.9]), [INFO] [stdout] 65 | | Reflective [INFO] [stdout] 66 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UV_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / pub const UV_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 81 | | ColorVec::new_one(3), [INFO] [stdout] 82 | | ColorVec::new([0.25, 0.25, 0.25, 1.]), [INFO] [stdout] 83 | | Diffuse [INFO] [stdout] 84 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `STRONG_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / pub const STRONG_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 69 | | ColorVec::new([5., 5., 5., 0.]), [INFO] [stdout] 70 | | COLOR_ZERO, [INFO] [stdout] 71 | | Stop [INFO] [stdout] 72 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUORESCENT` [INFO] [stdout] --> src/material.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / pub const FLUORESCENT: Material = Material::new( [INFO] [stdout] 86 | | ColorVec::new([0.25; COLOR_CHANNELS]), [INFO] [stdout] 87 | | ColorMat::new([ [INFO] [stdout] 88 | | [1., 0., 0., 0.75], [INFO] [stdout] ... | [INFO] [stdout] 93 | | Diffuse [INFO] [stdout] 94 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BRIGHT_AF_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | / pub const BRIGHT_AF_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 75 | | ColorVec::new([25., 25., 25., 0.]), [INFO] [stdout] 76 | | COLOR_ZERO, [INFO] [stdout] 77 | | Stop [INFO] [stdout] 78 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/sphere.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64) -> Sphere { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/plane.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_xyz(x: f64, y: f64, z: f64, offset: f64) -> Plane { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `UV_LIGHTSOURCE` [INFO] [stdout] --> src/material.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / pub const UV_LIGHTSOURCE: Material = Material::new_from_diagonal( [INFO] [stdout] 81 | | ColorVec::new_one(3), [INFO] [stdout] 82 | | ColorVec::new([0.25, 0.25, 0.25, 1.]), [INFO] [stdout] 83 | | Diffuse [INFO] [stdout] 84 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_raw` [INFO] [stdout] --> src/object/plane.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub const unsafe fn new_raw(normal: Vec3, offset: f64) -> Plane { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/cuboid.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_xyz(cx: f64, cy: f64, cz: f64, rx: f64, ry: f64, rz: f64) -> Cuboid { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FLUORESCENT` [INFO] [stdout] --> src/material.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | / pub const FLUORESCENT: Material = Material::new( [INFO] [stdout] 86 | | ColorVec::new([0.25; COLOR_CHANNELS]), [INFO] [stdout] 87 | | ColorMat::new([ [INFO] [stdout] 88 | | [1., 0., 0., 0.75], [INFO] [stdout] ... | [INFO] [stdout] 93 | | Diffuse [INFO] [stdout] 94 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/torus.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64, thickness: f64) -> Torus { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/object/with_material.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(obj: T, fun: F) -> WithDynamicMaterial { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/sphere.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64) -> Sphere { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/object/with_lights.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(obj: T, lights: [Light; N]) -> WithLights { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/plane.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new_xyz(x: f64, y: f64, z: f64, offset: f64) -> Plane { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_light` [INFO] [stdout] --> src/object/with_lights.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_light(&mut self, light: Light) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_raw` [INFO] [stdout] --> src/object/plane.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | pub const unsafe fn new_raw(normal: Vec3, offset: f64) -> Plane { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_linear` [INFO] [stdout] --> src/object/transform.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new_linear(obj: T, transform: Mat3) -> AffineTransform { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/cuboid.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_xyz(cx: f64, cy: f64, cz: f64, rx: f64, ry: f64, rz: f64) -> Cuboid { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_translate` [INFO] [stdout] --> src/object/transform.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_translate(obj: T, translate: Vec3) -> AffineTransform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_xyz` [INFO] [stdout] --> src/object/torus.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub const fn new_xyz(x: f64, y: f64, z: f64, radius: f64, thickness: f64) -> Torus { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_from_box` [INFO] [stdout] --> src/object/scene.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_from_box(scene: Box) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/object/with_material.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(obj: T, fun: F) -> WithDynamicMaterial { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_cols` [INFO] [stdout] --> src/structs/mat3.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub const fn new_cols(a: Vec3, b: Vec3, c: Vec3) -> Mat3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_rows` [INFO] [stdout] --> src/structs/mat3.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn new_rows(a: Vec3, d: Vec3, g: Vec3) -> Mat3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/object/with_lights.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(obj: T, lights: [Light; N]) -> WithLights { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_one` [INFO] [stdout] --> src/structs/vec_n.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub const fn new_one(i: usize) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magnitude` [INFO] [stdout] --> src/structs/vec_n.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn magnitude(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_light` [INFO] [stdout] --> src/object/with_lights.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn add_light(&mut self, light: Light) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/structs/vec_n.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn unit(self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance_to` [INFO] [stdout] --> src/structs/vec_n.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn distance_to(self, other: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_linear` [INFO] [stdout] --> src/object/transform.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new_linear(obj: T, transform: Mat3) -> AffineTransform { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `member_mul` [INFO] [stdout] --> src/structs/vec_n.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn member_mul(self, other: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_translate` [INFO] [stdout] --> src/object/transform.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new_translate(obj: T, translate: Vec3) -> AffineTransform { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_unit` [INFO] [stdout] --> src/structs/mat_n.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub const fn new_unit() -> Mat { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_from_box` [INFO] [stdout] --> src/object/scene.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_from_box(scene: Box) -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_one` [INFO] [stdout] --> src/structs/mat_n.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub const fn new_one(i: usize, j: usize) -> Mat { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_cols` [INFO] [stdout] --> src/structs/mat3.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub const fn new_cols(a: Vec3, b: Vec3, c: Vec3) -> Mat3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `v` [INFO] [stdout] --> src/structs/mat_n.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub const fn v(&self, i: usize, j: usize) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_rows` [INFO] [stdout] --> src/structs/mat3.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | pub const fn new_rows(a: Vec3, d: Vec3, g: Vec3) -> Mat3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_from_to` [INFO] [stdout] --> src/structs/ray.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_from_to(from: Vec3, to: Vec3) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_one` [INFO] [stdout] --> src/structs/vec_n.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub const fn new_one(i: usize) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/structs/ray.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn unit(&self) -> Ray { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `magnitude` [INFO] [stdout] --> src/structs/vec_n.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn magnitude(self) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/structs/ray.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from(&self) -> Vec3 { self.from } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/structs/vec_n.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn unit(self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dir` [INFO] [stdout] --> src/structs/ray.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn dir(&self) -> Vec3 { self.dir } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance_to` [INFO] [stdout] --> src/structs/vec_n.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn distance_to(self, other: Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_pointing` [INFO] [stdout] --> src/structs/cam.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new_pointing(pos: Vec3, pointing: Vec3, fov: f64) -> Cam { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `member_mul` [INFO] [stdout] --> src/structs/vec_n.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn member_mul(self, other: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RIGHT` [INFO] [stdout] --> src/consts.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub const RIGHT: Vec3 = X; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_unit` [INFO] [stdout] --> src/structs/mat_n.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | pub const fn new_unit() -> Mat { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FORWARD` [INFO] [stdout] --> src/consts.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub const FORWARD: Vec3 = Z; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_one` [INFO] [stdout] --> src/structs/mat_n.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | pub const fn new_one(i: usize, j: usize) -> Mat { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_cam` [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn default_cam() -> Cam { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `v` [INFO] [stdout] --> src/structs/mat_n.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub const fn v(&self, i: usize, j: usize) -> f64 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene1` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn default_scene1() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_from_to` [INFO] [stdout] --> src/structs/ray.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_from_to(from: Vec3, to: Vec3) -> Ray { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene2` [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn default_scene2() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/structs/ray.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn unit(&self) -> Ray { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene3` [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn default_scene3() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/structs/ray.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from(&self) -> Vec3 { self.from } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dir` [INFO] [stdout] --> src/structs/ray.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn dir(&self) -> Vec3 { self.dir } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_pointing` [INFO] [stdout] --> src/structs/cam.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new_pointing(pos: Vec3, pointing: Vec3, fov: f64) -> Cam { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RIGHT` [INFO] [stdout] --> src/consts.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub const RIGHT: Vec3 = X; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FORWARD` [INFO] [stdout] --> src/consts.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub const FORWARD: Vec3 = Z; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_cam` [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn default_cam() -> Cam { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene1` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn default_scene1() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene2` [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn default_scene2() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `default_scene3` [INFO] [stdout] --> src/main.rs:70:4 [INFO] [stdout] | [INFO] [stdout] 70 | fn default_scene3() -> Scene { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 3.09s [INFO] running `Command { std: "docker" "inspect" "b4aa8c922691f4eca8f92c71b4abe8ae129ac4aeda1a1568a260fb10b58bc424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4aa8c922691f4eca8f92c71b4abe8ae129ac4aeda1a1568a260fb10b58bc424", kill_on_drop: false }` [INFO] [stdout] b4aa8c922691f4eca8f92c71b4abe8ae129ac4aeda1a1568a260fb10b58bc424