[INFO] cloning repository https://github.com/Kethku/RustyRayTracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kethku/RustyRayTracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2FRustyRayTracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2FRustyRayTracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25633642276e2a25325f760faa1f58d1fa1bb375 [INFO] checking Kethku/RustyRayTracer/25633642276e2a25325f760faa1f58d1fa1bb375 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKethku%2FRustyRayTracer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kethku/RustyRayTracer on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kethku/RustyRayTracer [INFO] finished tweaking git repo https://github.com/Kethku/RustyRayTracer [INFO] tweaked toml for git repo https://github.com/Kethku/RustyRayTracer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Kethku/RustyRayTracer 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61b6406fa05268483c0dee5b3a31fcfdee80a5d1443e888af7b41466d7855481 [INFO] running `Command { std: "docker" "start" "-a" "61b6406fa05268483c0dee5b3a31fcfdee80a5d1443e888af7b41466d7855481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61b6406fa05268483c0dee5b3a31fcfdee80a5d1443e888af7b41466d7855481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61b6406fa05268483c0dee5b3a31fcfdee80a5d1443e888af7b41466d7855481", kill_on_drop: false }` [INFO] [stdout] 61b6406fa05268483c0dee5b3a31fcfdee80a5d1443e888af7b41466d7855481 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 218482c716a144341a9221c8a0274f90c9720240a2bdfee836e1ba08304d9020 [INFO] running `Command { std: "docker" "start" "-a" "218482c716a144341a9221c8a0274f90c9720240a2bdfee836e1ba08304d9020", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Compiling minifb v0.10.4 [INFO] [stderr] Checking rusty_ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Barrier` [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex, Barrier}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::f64::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn ray_cast(&self, Vector, Vector) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn ray_cast(&self, Vector, Vector) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | fn distance(&self, Vector) -> f64; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn normal(&self, Vector) -> Vector; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | fn characteristics(&self, Vector) -> Characteristics; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `characteristics::*` [INFO] [stdout] --> src/scene.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use characteristics::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_field::*` [INFO] [stdout] --> src/atmosphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use distance_field::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scene::*` [INFO] [stdout] --> src/atmosphere.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use scene::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmosphere::*` [INFO] [stdout] --> src/scene_renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use atmosphere::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_step_by` has been stable since 1.28.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_step_by)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Barrier` [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex, Barrier}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::f64::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | fn ray_cast(&self, Vector, Vector) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn ray_cast(&self, Vector, Vector) -> Option; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | fn distance(&self, Vector) -> f64; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | fn normal(&self, Vector) -> Vector; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/distance_field.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | fn characteristics(&self, Vector) -> Characteristics; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `characteristics::*` [INFO] [stdout] --> src/scene.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use characteristics::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distance_field::*` [INFO] [stdout] --> src/atmosphere.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use distance_field::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scene::*` [INFO] [stdout] --> src/atmosphere.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use scene::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmosphere::*` [INFO] [stdout] --> src/scene_renderer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use atmosphere::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_step_by` has been stable since 1.28.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iterator_step_by)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | fn characteristics(&self, pos: Vector) -> Characteristics { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | fn normal(&self, pos: Vector) -> Vector { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | fn characteristics(&self, pos: Vector) -> Characteristics { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/scene_renderer.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | for i in 0..iterations { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | fn characteristics(&self, pos: Vector) -> Characteristics { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_ray_tracer` (bin "rusty_ray_tracer") due to 4 previous errors; 25 warnings emitted [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | fn normal(&self, pos: Vector) -> Vector { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `intersect` [INFO] [stdout] --> src/scene_renderer.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | Some(intersect) => continue, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/distance_field.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | fn characteristics(&self, pos: Vector) -> Characteristics { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/distance_field.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(pos: Vector, r: f64, chars: Characteristics) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/scene_renderer.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | for i in 0..iterations { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/distance_field.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(normal: Vector, point: Vector, chars: Characteristics) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intersect` [INFO] [stdout] --> src/scene_renderer.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | Some(intersect) => continue, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_THRESHOLD` is never used [INFO] [stdout] --> src/scene.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const MINIMUM_THRESHOLD: f64 = 0.001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/distance_field.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Sphere { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(pos: Vector, r: f64, chars: Characteristics) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace` is never used [INFO] [stdout] --> src/scene.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Scene { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 14 | pub fn trace(&self, position: Vector, direction: Vector, sun_dir: Vector) -> Vector { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/distance_field.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl Plane { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 60 | pub fn new(normal: Vector, point: Vector, chars: Characteristics) -> Scene { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MINIMUM_THRESHOLD` is never used [INFO] [stdout] --> src/scene.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const MINIMUM_THRESHOLD: f64 = 0.001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `roughness`, `reflectance`, and `absorbance` are never read [INFO] [stdout] --> src/characteristics.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Characteristics { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 5 | pub color: Vector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub roughness: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub reflectance: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub absorbance: f64 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Characteristics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `trace` is never used [INFO] [stdout] --> src/scene.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Scene { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 14 | pub fn trace(&self, position: Vector, direction: Vector, sun_dir: Vector) -> Vector { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `default`, `mirror`, and `matte` are never used [INFO] [stdout] --> src/characteristics.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Characteristics { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 12 | pub fn default() -> Characteristics { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn mirror(color: Vector) -> Characteristics { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn matte(color: Vector) -> Characteristics { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color`, `roughness`, `reflectance`, and `absorbance` are never read [INFO] [stdout] --> src/characteristics.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Characteristics { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 5 | pub color: Vector, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | pub roughness: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub reflectance: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub absorbance: f64 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Characteristics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UP` is never used [INFO] [stdout] --> src/scene_renderer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const UP: Vector = Vector { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scene_renderer` is never used [INFO] [stdout] --> src/scene_renderer.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn scene_renderer(colors_mutex: Arc>>, width: usize, height: usize, threads: usize) { [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/scene.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 48 | fn not(self) -> Scene> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | Scene { [INFO] [stdout] 50 | field: Negate { [INFO] [stdout] | ____________________^ [INFO] [stdout] 51 | | field: self.field [INFO] [stdout] 52 | | } [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/scene.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn add(self, rhs: Scene) -> Scene> { [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] 61 | Scene { [INFO] [stdout] 62 | field: Union { [INFO] [stdout] | ____________________^ [INFO] [stdout] 63 | | field1: self.field, [INFO] [stdout] 64 | | field2: rhs.field [INFO] [stdout] 65 | | } [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.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 73 | fn mul(self, rhs: Scene) -> Scene> { [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] 74 | Scene { [INFO] [stdout] 75 | field: Intersection { [INFO] [stdout] | ____________________^ [INFO] [stdout] 76 | | field1: self.field, [INFO] [stdout] 77 | | field2: rhs.field [INFO] [stdout] 78 | | } [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 3 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `default`, `mirror`, and `matte` are never used [INFO] [stdout] --> src/characteristics.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Characteristics { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 12 | pub fn default() -> Characteristics { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn mirror(color: Vector) -> Characteristics { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn matte(color: Vector) -> Characteristics { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UP` is never used [INFO] [stdout] --> src/scene_renderer.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const UP: Vector = Vector { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scene_renderer` is never used [INFO] [stdout] --> src/scene_renderer.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn scene_renderer(colors_mutex: Arc>>, width: usize, height: usize, threads: usize) { [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/scene.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 48 | fn not(self) -> Scene> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | Scene { [INFO] [stdout] 50 | field: Negate { [INFO] [stdout] | ____________________^ [INFO] [stdout] 51 | | field: self.field [INFO] [stdout] 52 | | } [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/scene.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 60 | fn add(self, rhs: Scene) -> Scene> { [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] 61 | Scene { [INFO] [stdout] 62 | field: Union { [INFO] [stdout] | ____________________^ [INFO] [stdout] 63 | | field1: self.field, [INFO] [stdout] 64 | | field2: rhs.field [INFO] [stdout] 65 | | } [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.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 73 | fn mul(self, rhs: Scene) -> Scene> { [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] 74 | Scene { [INFO] [stdout] 75 | field: Intersection { [INFO] [stdout] | ____________________^ [INFO] [stdout] 76 | | field1: self.field, [INFO] [stdout] 77 | | field2: rhs.field [INFO] [stdout] 78 | | } [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 3 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_ray_tracer` (bin "rusty_ray_tracer" test) due to 4 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "218482c716a144341a9221c8a0274f90c9720240a2bdfee836e1ba08304d9020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "218482c716a144341a9221c8a0274f90c9720240a2bdfee836e1ba08304d9020", kill_on_drop: false }` [INFO] [stdout] 218482c716a144341a9221c8a0274f90c9720240a2bdfee836e1ba08304d9020