[INFO] cloning repository https://github.com/u4ium/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/u4ium/ray-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu4ium%2Fray-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu4ium%2Fray-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 587e915f6c15e0393142aa1b32bed87e6258d062 [INFO] checking u4ium/ray-tracer against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu4ium%2Fray-tracer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/u4ium/ray-tracer 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/u4ium/ray-tracer [INFO] finished tweaking git repo https://github.com/u4ium/ray-tracer [INFO] tweaked toml for git repo https://github.com/u4ium/ray-tracer written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/u4ium/ray-tracer 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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 45f8edc6b9db6dd5635323c02ce6f33b12f68f748539fe76edbd0dc2b79f20b8 [INFO] running `Command { std: "docker" "start" "-a" "45f8edc6b9db6dd5635323c02ce6f33b12f68f748539fe76edbd0dc2b79f20b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45f8edc6b9db6dd5635323c02ce6f33b12f68f748539fe76edbd0dc2b79f20b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f8edc6b9db6dd5635323c02ce6f33b12f68f748539fe76edbd0dc2b79f20b8", kill_on_drop: false }` [INFO] [stdout] 45f8edc6b9db6dd5635323c02ce6f33b12f68f748539fe76edbd0dc2b79f20b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 2cbd965d49ca3a03a02d61eabbddded25b323139178b830546abf7cb17b2dbc4 [INFO] running `Command { std: "docker" "start" "-a" "2cbd965d49ca3a03a02d61eabbddded25b323139178b830546abf7cb17b2dbc4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking ndarray v0.15.3 [INFO] [stderr] Checking ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ndarray::array` [INFO] [stdout] --> src/camera.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::array` [INFO] [stdout] --> src/scene/light.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recognize` [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | combinator::{map, opt, recognize, value}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scene::object::parsers::common::identifier::parse_identifier` [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scene::object::parsers::common::identifier::parse_identifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::array` [INFO] [stdout] --> src/camera.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::array` [INFO] [stdout] --> src/scene/light.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recognize` [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | combinator::{map, opt, recognize, value}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scene::object::parsers::common::identifier::parse_identifier` [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scene::object::parsers::common::identifier::parse_identifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/scene/object/parsers/obj.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/object/parsers/obj.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut result = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/scene.rs:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_colour(&self, direction: &HVector, hit: &Hit, depth: u8) -> Colour { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shape` is never read [INFO] [stdout] --> src/scene/light.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Light { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | shape: LightShape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LeafShape` is never used [INFO] [stdout] --> src/scene/object.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait LeafShape { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `point`, `texture_coordinates`, and `normal` are never read [INFO] [stdout] --> src/scene/object.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MappedTrianglePoint { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 28 | point: HVector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | texture_coordinates: [f64; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | normal: HVector, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_eol_comment` is never used [INFO] [stdout] --> src/scene/object/parsers/common/comment.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_eol_comment<'a>(i: &'a str) -> IResult<&'a str, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recognize_filename` is never used [INFO] [stdout] --> src/scene/object/parsers/common/filename.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn recognize_filename<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file_name` is never used [INFO] [stdout] --> src/scene/object/parsers/common/filename.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse_file_name<'a, F>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_filenames` is never used [INFO] [stdout] --> src/scene/object/parsers/common/filename.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn parse_filenames<'a, F>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float` is never used [INFO] [stdout] --> src/scene/object/parsers/common/float.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn float(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_float` is never used [INFO] [stdout] --> src/scene/object/parsers/common/float.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn string_to_float(input: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_float` is never used [INFO] [stdout] --> src/scene/object/parsers/common/float.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn parse_float(input: &str) -> IResult<&str, f64> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_identifier` is never used [INFO] [stdout] --> src/scene/object/parsers/common/identifier.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_identifier<'a>(tag_string: &'static str, input: &'a str) -> IResult<&'a str, &'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decimal` is never used [INFO] [stdout] --> src/scene/object/parsers/common/integer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn decimal(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_usize` is never used [INFO] [stdout] --> src/scene/object/parsers/common/integer.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn string_to_usize(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_integer` is never used [INFO] [stdout] --> src/scene/object/parsers/common/integer.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_integer(input: &str) -> IResult<&str, usize> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tws` is never used [INFO] [stdout] --> src/scene/object/parsers/common/whitespace.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn tws<'a, F: 'a, O, E: ParseError<&'a str>>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Group` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WaveFrontObject` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WaveFrontObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_object` is never used [INFO] [stdout] --> src/scene/object/parsers/obj.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl WaveFrontObject { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 18 | pub fn to_object(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/scene/object/parsers/obj.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_polygon_vertex_indices` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_polygon_vertex_indices(input: &str) -> IResult<&str, PolygonVertexIndices> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_polygon` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl PolygonIndices { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 107 | pub fn to_polygon(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_polygon_indices` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse_polygon_indices(input: &str) -> IResult<&str, PolygonIndices> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Polygon` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Polygon { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_vertex` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon/vertex.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_vertex(input: &str) -> IResult<&str, Vertex> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_vector` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon/vector.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn parse_vector(input: &str) -> IResult<&str, Vector> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_texture_coordinates` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon/texture_coordinates.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn parse_texture_coordinates(input: &str) -> IResult<&str, TextureCoordinates> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileType` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum FileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilenameParser` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct FilenameParser { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recognize_material_filename` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/filename.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn recognize_material_filename(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_material_filenames` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/filename.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_material_filenames(input: &str) -> IResult<&str, Vec<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_material_identifier` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/identifier.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_material_identifier(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recognize_map_filename` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/map.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn recognize_map_filename(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_map_filenames` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/map.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_map_filenames(input: &str) -> IResult<&str, Vec<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_texture_map_identifier` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/map.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_texture_map_identifier(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/scene/object/parsers/obj.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/object/parsers/obj.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut result = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/scene.rs:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_colour(&self, direction: &HVector, hit: &Hit, depth: u8) -> Colour { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shape` is never read [INFO] [stdout] --> src/scene/light.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Light { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | shape: LightShape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LeafShape` is never used [INFO] [stdout] --> src/scene/object.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait LeafShape { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `point`, `texture_coordinates`, and `normal` are never read [INFO] [stdout] --> src/scene/object.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MappedTrianglePoint { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 28 | point: HVector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | texture_coordinates: [f64; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | normal: HVector, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file_name` is never used [INFO] [stdout] --> src/scene/object/parsers/common/filename.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse_file_name<'a, F>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Group` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WaveFrontObject` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WaveFrontObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_object` is never used [INFO] [stdout] --> src/scene/object/parsers/obj.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl WaveFrontObject { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 18 | pub fn to_object(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/scene/object/parsers/obj.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_polygon` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl PolygonIndices { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 107 | pub fn to_polygon(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Polygon` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Polygon { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileType` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum FileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilenameParser` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct FilenameParser { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recognize_map_filename` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/map.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn recognize_map_filename(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_map_filenames` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/map.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_map_filenames(input: &str) -> IResult<&str, Vec<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::array` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::array` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Intersectable` [INFO] [stdout] --> src/main.rs:9:63 [INFO] [stdout] | [INFO] [stdout] 9 | material::Material, matrix::AffineTransformation, Intersectable, Object, ObjectShape::*, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Intersectable` [INFO] [stdout] --> src/main.rs:9:63 [INFO] [stdout] | [INFO] [stdout] 9 | material::Material, matrix::AffineTransformation, Intersectable, Object, ObjectShape::*, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "2cbd965d49ca3a03a02d61eabbddded25b323139178b830546abf7cb17b2dbc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cbd965d49ca3a03a02d61eabbddded25b323139178b830546abf7cb17b2dbc4", kill_on_drop: false }` [INFO] [stdout] 2cbd965d49ca3a03a02d61eabbddded25b323139178b830546abf7cb17b2dbc4 [INFO] checking u4ium/ray-tracer against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu4ium%2Fray-tracer" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/u4ium/ray-tracer on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/u4ium/ray-tracer [INFO] finished tweaking git repo https://github.com/u4ium/ray-tracer [INFO] tweaked toml for git repo https://github.com/u4ium/ray-tracer written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/u4ium/ray-tracer 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9a5297648ceaf9384b51d72d15fd0eb97bc26de6a1fb3883119687a531f7e42 [INFO] running `Command { std: "docker" "start" "-a" "c9a5297648ceaf9384b51d72d15fd0eb97bc26de6a1fb3883119687a531f7e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9a5297648ceaf9384b51d72d15fd0eb97bc26de6a1fb3883119687a531f7e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9a5297648ceaf9384b51d72d15fd0eb97bc26de6a1fb3883119687a531f7e42", kill_on_drop: false }` [INFO] [stdout] c9a5297648ceaf9384b51d72d15fd0eb97bc26de6a1fb3883119687a531f7e42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb9ae51d81ee5cab2da6af3d2304fa556a9c6b22c8b50ad8c7c205dd2b78c359 [INFO] running `Command { std: "docker" "start" "-a" "bb9ae51d81ee5cab2da6af3d2304fa556a9c6b22c8b50ad8c7c205dd2b78c359", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking ndarray v0.15.3 [INFO] [stderr] Checking ray-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ndarray::array` [INFO] [stdout] --> src/camera.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::array` [INFO] [stdout] --> src/scene/light.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recognize` [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | combinator::{map, opt, recognize, value}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scene::object::parsers::common::identifier::parse_identifier` [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scene::object::parsers::common::identifier::parse_identifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::array` [INFO] [stdout] --> src/camera.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ndarray::array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::array` [INFO] [stdout] --> src/scene/light.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recognize` [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | combinator::{map, opt, recognize, value}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::scene::object::parsers::common::identifier::parse_identifier` [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::scene::object::parsers::common::identifier::parse_identifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/scene/object/parsers/obj.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/object/parsers/obj.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut result = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/scene.rs:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_colour(&self, direction: &HVector, hit: &Hit, depth: u8) -> Colour { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shape` is never read [INFO] [stdout] --> src/scene/light.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Light { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | shape: LightShape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LeafShape` is never used [INFO] [stdout] --> src/scene/object.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait LeafShape { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `point`, `texture_coordinates`, and `normal` are never read [INFO] [stdout] --> src/scene/object.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MappedTrianglePoint { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 28 | point: HVector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | texture_coordinates: [f64; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | normal: HVector, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_eol_comment` is never used [INFO] [stdout] --> src/scene/object/parsers/common/comment.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_eol_comment<'a>(i: &'a str) -> IResult<&'a str, ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recognize_filename` is never used [INFO] [stdout] --> src/scene/object/parsers/common/filename.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn recognize_filename<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file_name` is never used [INFO] [stdout] --> src/scene/object/parsers/common/filename.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse_file_name<'a, F>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_filenames` is never used [INFO] [stdout] --> src/scene/object/parsers/common/filename.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn parse_filenames<'a, F>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float` is never used [INFO] [stdout] --> src/scene/object/parsers/common/float.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn float(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_float` is never used [INFO] [stdout] --> src/scene/object/parsers/common/float.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn string_to_float(input: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_float` is never used [INFO] [stdout] --> src/scene/object/parsers/common/float.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn parse_float(input: &str) -> IResult<&str, f64> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_identifier` is never used [INFO] [stdout] --> src/scene/object/parsers/common/identifier.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn parse_identifier<'a>(tag_string: &'static str, input: &'a str) -> IResult<&'a str, &'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decimal` is never used [INFO] [stdout] --> src/scene/object/parsers/common/integer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn decimal(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `string_to_usize` is never used [INFO] [stdout] --> src/scene/object/parsers/common/integer.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn string_to_usize(input: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_integer` is never used [INFO] [stdout] --> src/scene/object/parsers/common/integer.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_integer(input: &str) -> IResult<&str, usize> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tws` is never used [INFO] [stdout] --> src/scene/object/parsers/common/whitespace.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn tws<'a, F: 'a, O, E: ParseError<&'a str>>( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Group` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WaveFrontObject` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WaveFrontObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_object` is never used [INFO] [stdout] --> src/scene/object/parsers/obj.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl WaveFrontObject { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 18 | pub fn to_object(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/scene/object/parsers/obj.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_polygon_vertex_indices` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn parse_polygon_vertex_indices(input: &str) -> IResult<&str, PolygonVertexIndices> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_polygon` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl PolygonIndices { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 107 | pub fn to_polygon(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_polygon_indices` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse_polygon_indices(input: &str) -> IResult<&str, PolygonIndices> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Polygon` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Polygon { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_vertex` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon/vertex.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn parse_vertex(input: &str) -> IResult<&str, Vertex> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_vector` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon/vector.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn parse_vector(input: &str) -> IResult<&str, Vector> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_texture_coordinates` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon/texture_coordinates.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn parse_texture_coordinates(input: &str) -> IResult<&str, TextureCoordinates> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileType` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum FileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilenameParser` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct FilenameParser { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recognize_material_filename` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/filename.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn recognize_material_filename(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_material_filenames` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/filename.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn parse_material_filenames(input: &str) -> IResult<&str, Vec<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_material_identifier` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/identifier.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_material_identifier(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recognize_map_filename` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/map.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn recognize_map_filename(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_map_filenames` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/map.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_map_filenames(input: &str) -> IResult<&str, Vec<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_texture_map_identifier` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/map.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse_texture_map_identifier(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ray.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(from: Vector3, direction: Vector3) -> Ray { [INFO] [stdout] | ------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Ray { [INFO] [stdout] 14 | from: from.to_homo_vector(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ray.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(from: Vector3, direction: Vector3) -> Ray { [INFO] [stdout] | ------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | direction: direction.to_homo_vector(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scene/object.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 176 | .and_then(|hit| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | Some(Hit { [INFO] [stdout] | ______________________^ [INFO] [stdout] 178 | | normal: self.matrix.unshift(&hit.normal), [INFO] [stdout] 179 | | material: hit.material.or(self.get_material()), [INFO] [stdout] 180 | | ..hit [INFO] [stdout] 181 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scene/object.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 206 | .and_then(|hit| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | Some(Hit { [INFO] [stdout] | ______________________^ [INFO] [stdout] 208 | | normal: self.matrix.unshift(&hit.normal), [INFO] [stdout] 209 | | material: hit.material.or(self.get_material()), [INFO] [stdout] 210 | | ..hit [INFO] [stdout] 211 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scene/object.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 253 | self.shape.intersection(ray).and_then(|hit| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | Some(Hit { [INFO] [stdout] | __________________^ [INFO] [stdout] 255 | | material: hit.material.or(self.get_material()), [INFO] [stdout] 256 | | ..hit [INFO] [stdout] 257 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 104 | fn sub(self, rhs: Vector3) -> Self::Output { [INFO] [stdout] | ---- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Vector3(self.0 - rhs.0) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracer` (lib) due to 7 previous errors; 42 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> src/scene/object/parsers/obj.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/object/parsers/obj.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut result = vec![]; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth` [INFO] [stdout] --> src/scene.rs:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_colour(&self, direction: &HVector, hit: &Hit, depth: u8) -> Colour { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_depth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `shape` is never read [INFO] [stdout] --> src/scene/light.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Light { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | shape: LightShape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LeafShape` is never used [INFO] [stdout] --> src/scene/object.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait LeafShape { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `point`, `texture_coordinates`, and `normal` are never read [INFO] [stdout] --> src/scene/object.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct MappedTrianglePoint { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 28 | point: HVector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | texture_coordinates: [f64; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | normal: HVector, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file_name` is never used [INFO] [stdout] --> src/scene/object/parsers/common/filename.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn parse_file_name<'a, F>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Group` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WaveFrontObject` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct WaveFrontObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_object` is never used [INFO] [stdout] --> src/scene/object/parsers/obj.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl WaveFrontObject { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 18 | pub fn to_object(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_file` is never used [INFO] [stdout] --> src/scene/object/parsers/obj.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn parse_file(filename: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_polygon` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl PolygonIndices { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 107 | pub fn to_polygon(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Polygon` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj/polygon.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct Polygon { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FileType` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | enum FileType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FilenameParser` is never constructed [INFO] [stdout] --> src/scene/object/parsers/obj/material.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct FilenameParser { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `recognize_map_filename` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/map.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn recognize_map_filename(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_map_filenames` is never used [INFO] [stdout] --> src/scene/object/parsers/obj/material/map.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_map_filenames(input: &str) -> IResult<&str, Vec<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ray.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(from: Vector3, direction: Vector3) -> Ray { [INFO] [stdout] | ------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 13 | Ray { [INFO] [stdout] 14 | from: from.to_homo_vector(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ray.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(from: Vector3, direction: Vector3) -> Ray { [INFO] [stdout] | ------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | direction: direction.to_homo_vector(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scene/object.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 176 | .and_then(|hit| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | Some(Hit { [INFO] [stdout] | ______________________^ [INFO] [stdout] 178 | | normal: self.matrix.unshift(&hit.normal), [INFO] [stdout] 179 | | material: hit.material.or(self.get_material()), [INFO] [stdout] 180 | | ..hit [INFO] [stdout] 181 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scene/object.rs:207:22 [INFO] [stdout] | [INFO] [stdout] 206 | .and_then(|hit| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 207 | Some(Hit { [INFO] [stdout] | ______________________^ [INFO] [stdout] 208 | | normal: self.matrix.unshift(&hit.normal), [INFO] [stdout] 209 | | material: hit.material.or(self.get_material()), [INFO] [stdout] 210 | | ..hit [INFO] [stdout] 211 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/scene/object.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 253 | self.shape.intersection(ray).and_then(|hit| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | Some(Hit { [INFO] [stdout] | __________________^ [INFO] [stdout] 255 | | material: hit.material.or(self.get_material()), [INFO] [stdout] 256 | | ..hit [INFO] [stdout] 257 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vector.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 104 | fn sub(self, rhs: Vector3) -> Self::Output { [INFO] [stdout] | ---- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Vector3(self.0 - rhs.0) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracer` (lib test) due to 7 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bb9ae51d81ee5cab2da6af3d2304fa556a9c6b22c8b50ad8c7c205dd2b78c359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9ae51d81ee5cab2da6af3d2304fa556a9c6b22c8b50ad8c7c205dd2b78c359", kill_on_drop: false }` [INFO] [stdout] bb9ae51d81ee5cab2da6af3d2304fa556a9c6b22c8b50ad8c7c205dd2b78c359