[INFO] cloning repository https://github.com/melvic-ybanez/erena [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/melvic-ybanez/erena" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvic-ybanez%2Ferena", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvic-ybanez%2Ferena'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 528b34e80fc92989c369383262ccedfb48c7a3ab [INFO] checking melvic-ybanez/erena against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvic-ybanez%2Ferena" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/melvic-ybanez/erena on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/melvic-ybanez/erena [INFO] finished tweaking git repo https://github.com/melvic-ybanez/erena [INFO] tweaked toml for git repo https://github.com/melvic-ybanez/erena written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/melvic-ybanez/erena already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1720b425b9d6581c340d071ed72de2bea70e96f2a680c040f7222428a3f029e0 [INFO] running `Command { std: "docker" "start" "-a" "1720b425b9d6581c340d071ed72de2bea70e96f2a680c040f7222428a3f029e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1720b425b9d6581c340d071ed72de2bea70e96f2a680c040f7222428a3f029e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1720b425b9d6581c340d071ed72de2bea70e96f2a680c040f7222428a3f029e0", kill_on_drop: false }` [INFO] [stdout] 1720b425b9d6581c340d071ed72de2bea70e96f2a680c040f7222428a3f029e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a047849ebf27ca9540de0d468b169873342e00a7a34c8b3669d1c6c1b513564 [INFO] running `Command { std: "docker" "start" "-a" "2a047849ebf27ca9540de0d468b169873342e00a7a34c8b3669d1c6c1b513564", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking erena v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PointLight` [INFO] [stdout] --> src/renderer.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rays::lights::{AreaLight, PointLight}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PointLight` [INFO] [stdout] --> src/renderer.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::rays::lights::{AreaLight, PointLight}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pl_lighting`, `pattern_ref`, and `ambient` are never used [INFO] [stdout] --> src/materials/mod.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Material { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn pl_lighting( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn pattern_ref(self, pattern: &Pattern) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn ambient(mut self, ambient: Real) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round` is never used [INFO] [stdout] --> src/math/mod.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | pub(crate) fn round(value: Real, limit: u32) -> Real { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `round_to_5` is never used [INFO] [stdout] --> src/math/mod.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) fn round_to_5(value: Real) -> Real { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_sqrt_div_2` is never used [INFO] [stdout] --> src/math/mod.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | pub(crate) fn two_sqrt_div_2() -> Real { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Seq` is never constructed [INFO] [stdout] --> src/math/random.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum RandGen { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 5 | Seq(SeqRand), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RandGen` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/math/random.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl SeqRand { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 29 | pub fn new(seq: Vec) -> SeqRand { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new44i`, `new22`, `new33`, and `round_items` are never used [INFO] [stdout] --> src/matrix/mod.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl Matrix { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | fn new44i(elements: &[i64; 16]) -> Matrix { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn new22(elements: &[Real; 4]) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn new33(elements: &[Real; 9]) -> Matrix { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn round_items(&self, limit: u32) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `no_inverse` is never used [INFO] [stdout] --> src/matrix/mod.rs:298:8 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn no_inverse() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shearing` is never used [INFO] [stdout] --> src/matrix/transformations.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn shearing(xy: Real, xz: Real, yx: Real, yz: Real, zx: Real, zy: Real) -> Matrix { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/parsers/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Statement` is never used [INFO] [stdout] --> src/parsers/mod.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum Statement { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FaceData` is never constructed [INFO] [stdout] --> src/parsers/mod.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct FaceData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FaceData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parsers/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 39 | impl FaceData { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 40 | fn new(vs: Vec, ns: Vec) -> FaceData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_GROUP` is never used [INFO] [stdout] --> src/parsers/mod.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const DEFAULT_GROUP: &str = "default"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parsers/mod.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 48 | pub fn new() -> Parser { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_vertices(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_normals(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_default_group(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn group_default(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn group_faces(&mut self, name: &str, faces: Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn add_face_to_group(&mut self, name: &str, data: &FaceData) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn fan_triangulation(&self, data: &FaceData) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn get_group(&self, name: &str) -> Option<&Rc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_group_geo(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn get_triangle(&self, name: &str, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn get_triangle_unsafe(&self, name: &str, i: usize) -> Triangle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_obj` is never used [INFO] [stdout] --> src/parsers/mod.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn parse_obj(read: R) -> Parser { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_statement` is never used [INFO] [stdout] --> src/parsers/mod.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn parse_statement(line: String) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_vertex` is never used [INFO] [stdout] --> src/parsers/mod.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn parse_vertex(line: SplitWhitespace) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_normal` is never used [INFO] [stdout] --> src/parsers/mod.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn parse_normal(line: SplitWhitespace) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_tuple` is never used [INFO] [stdout] --> src/parsers/mod.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn parse_tuple(line: SplitWhitespace, f: F) -> Statement [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_face` is never used [INFO] [stdout] --> src/parsers/mod.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 237 | fn parse_face(line: SplitWhitespace) -> Statement { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_group` is never used [INFO] [stdout] --> src/parsers/mod.rs:272:4 [INFO] [stdout] | [INFO] [stdout] 272 | fn parse_group(mut line: SplitWhitespace) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Test` is never constructed [INFO] [stdout] --> src/patterns/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum PatternType { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | Test, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatternType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `test` is never used [INFO] [stdout] --> src/patterns/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Pattern { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn test() -> Pattern { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `t` is never read [INFO] [stdout] --> src/rays/comps.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Comps<'a, S> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 11 | t: Real, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Comps` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `prepare_default` is never used [INFO] [stdout] --> src/rays/comps.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl<'a> Comps3D<'a> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 27 | pub fn prepare_default(hit: &'a Intersection3D, ray: &Ray) -> Comps3D<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_point` is never used [INFO] [stdout] --> src/rays/comps.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl<'a, S> Comps<'a, S> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn get_point(&self) -> Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_ref`, `agg`, and `from_data` are never used [INFO] [stdout] --> src/rays/intersections.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Intersection { [INFO] [stdout] | ------------------------------------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn from_ref(t: Real, object: &Rc>) -> Intersection { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn agg(shape: &Rc>, ts: &[Real]) -> Vec> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn from_data(data: &[(Real, &Rc>)]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `test` is never used [INFO] [stdout] --> src/rays/intersections.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Intersection3D { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn test() -> Intersection3D { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `intensity_at`, and `to_area_light` are never used [INFO] [stdout] --> src/rays/lights.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PointLight { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new(position: Point, intensity: Color) -> PointLight { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn intensity_at(&self, point: Point, world: &World3D) -> Real { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn to_area_light(&self) -> AreaLight { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default` and `get_position` are never used [INFO] [stdout] --> src/rays/lights.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl AreaLight { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn default( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_position(&self) -> Point { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `is_empty`, `contains`, `add_point_light`, `update_object`, and `get_object` are never used [INFO] [stdout] --> src/scene/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl World { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn empty() -> World { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn contains(&self, shape: &Object) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn add_point_light(&mut self, point_light: PointLight) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn update_object(&mut self, i: usize, f: F) -> Object [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_object(&self, index: usize) -> Object [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `default`, `default_is_shadowed`, `shade_hit_default`, `reflected_color_default`, and `refracted_color_default` are never used [INFO] [stdout] --> src/scene/mod.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 92 | impl World3D { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 93 | pub(crate) fn default() -> World3D { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn default_is_shadowed(&self, point: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | fn shade_hit_default(&self, comps: Comps3D) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn reflected_color_default(&self, comps: Comps3D) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn refracted_color_default(&self, comps: Comps3D) -> Color { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TestShape` is never constructed [INFO] [stdout] --> src/shapes/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Geo { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 23 | Sphere, [INFO] [stdout] 24 | TestShape, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Geo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/shapes/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Shape { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn test() -> Shape { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn cylinder() -> Shape { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn cone() -> Shape { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn smooth_triangle( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn material_ref(self, material: &Material) -> Shape { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn geometry(mut self, geometry: Geo) -> Shape { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn default_normal_at(&self, world_point: Point) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains_point` and `contains_box` are never used [INFO] [stdout] --> src/shapes/bounds.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Bounds { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn contains_point(&self, point: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn contains_box(&self, other: Bounds) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `contains`, `is_empty`, `non_empty`, and `get_child` are never used [INFO] [stdout] --> src/shapes/groups.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Group { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn empty() -> Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn contains(&self, shape: Rc) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn non_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_child(&self, i: usize) -> Shape { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not_a_group` is never used [INFO] [stdout] --> src/shapes/groups.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn not_a_group() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `glass` is never used [INFO] [stdout] --> src/shapes/spheres.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn glass() -> Shape { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `smooth`, `get_default_normal`, `get_p1`, `get_p2`, and `get_p3` are never used [INFO] [stdout] --> src/shapes/triangles.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Triangle { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn smooth(p1: Point, p2: Point, p3: Point, n1: Vector, n2: Vector, n3: Vector) -> Triangle { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_default_normal(&self) -> Vector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_p1(&self) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get_p2(&self) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_p3(&self) -> Point { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Smooth` is never constructed [INFO] [stdout] --> src/shapes/triangles.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub enum TriangleKind { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 122 | Regular { normal: Vector }, [INFO] [stdout] 123 | Smooth(Smooth), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TriangleKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `smooth` is never used [INFO] [stdout] --> src/shapes/triangles.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl TriangleKind { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn smooth(n1: Vector, n2: Vector, n3: Vector) -> TriangleKind { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/shapes/triangles.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Smooth { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 144 | pub fn new(n1: Vector, n2: Vector, n3: Vector) -> Smooth { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_point`, `is_vector`, and `round_items` are never used [INFO] [stdout] --> src/tuples/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl TupleLike { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub(crate) fn round_items(&self) -> TupleLike { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rgbi` is never used [INFO] [stdout] --> src/tuples/mod.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn rgbi(r: i32, g: i32, b: i32) -> Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `red` is never used [INFO] [stdout] --> src/tuples/mod.rs:266:23 [INFO] [stdout] | [INFO] [stdout] 247 | impl Color { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 266 | pub(crate) fn red() -> Color { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/parsers/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `intensity_at` is never used [INFO] [stdout] --> src/rays/lights.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PointLight { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn intensity_at(&self, point: Point, world: &World3D) -> Real { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `geometry` is never used [INFO] [stdout] --> src/shapes/mod.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Shape { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn geometry(mut self, geometry: Geo) -> Shape { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/shapes/groups.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Group { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn empty() -> Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rgbi` is never used [INFO] [stdout] --> src/tuples/mod.rs:243:12 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn rgbi(r: i32, g: i32, b: i32) -> Color { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "2a047849ebf27ca9540de0d468b169873342e00a7a34c8b3669d1c6c1b513564", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a047849ebf27ca9540de0d468b169873342e00a7a34c8b3669d1c6c1b513564", kill_on_drop: false }` [INFO] [stdout] 2a047849ebf27ca9540de0d468b169873342e00a7a34c8b3669d1c6c1b513564