[INFO] cloning repository https://github.com/codyd51/raytracer-rtiow [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codyd51/raytracer-rtiow" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodyd51%2Fraytracer-rtiow", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodyd51%2Fraytracer-rtiow'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 710b90065fa2c9ab24342f5c07ad04cac6d18f0a [INFO] checking codyd51/raytracer-rtiow/710b90065fa2c9ab24342f5c07ad04cac6d18f0a 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%2Fcodyd51%2Fraytracer-rtiow" "/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/codyd51/raytracer-rtiow 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/codyd51/raytracer-rtiow [INFO] finished tweaking git repo https://github.com/codyd51/raytracer-rtiow [INFO] tweaked toml for git repo https://github.com/codyd51/raytracer-rtiow written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/codyd51/raytracer-rtiow 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] 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] dda7a46e64f296dc0d634dc201760b1c9765568f96a7dd1226f709e9ffab00da [INFO] running `Command { std: "docker" "start" "-a" "dda7a46e64f296dc0d634dc201760b1c9765568f96a7dd1226f709e9ffab00da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dda7a46e64f296dc0d634dc201760b1c9765568f96a7dd1226f709e9ffab00da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dda7a46e64f296dc0d634dc201760b1c9765568f96a7dd1226f709e9ffab00da", kill_on_drop: false }` [INFO] [stdout] dda7a46e64f296dc0d634dc201760b1c9765568f96a7dd1226f709e9ffab00da [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] 31ce218464689cf521d7fabbef10041148db1072a6f1f97c943b4b43c5875654 [INFO] running `Command { std: "docker" "start" "-a" "31ce218464689cf521d7fabbef10041148db1072a6f1f97c943b4b43c5875654", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.9.0-alpha.0 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.0 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking rand v0.9.0-alpha.0 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/vec3.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, AddAssign, Deref, Div, DivAssign, Index, Mul, MulAssign, Neg, Sub}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pos::Pos` [INFO] [stdout] --> src/color.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pos::Pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HitRecord` [INFO] [stdout] --> src/camera.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::hittable::{HitRecord, Hittable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/dielectric.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | r0 + (1.0 - r0) * f64::powf((1.0 - cosine), 5.0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - r0 + (1.0 - r0) * f64::powf((1.0 - cosine), 5.0) [INFO] [stdout] 27 + r0 + (1.0 - r0) * f64::powf(1.0 - cosine, 5.0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hittable::Hittable` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::hittable::Hittable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ray::Ray` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::ray::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `degrees_to_radians` [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::utils::{degrees_to_radians, rand_double, rand_proportion}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/vec3.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Add, AddAssign, Deref, Div, DivAssign, Index, Mul, MulAssign, Neg, Sub}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::pos::Pos` [INFO] [stdout] --> src/color.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::pos::Pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HitRecord` [INFO] [stdout] --> src/camera.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::hittable::{HitRecord, Hittable}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/dielectric.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | r0 + (1.0 - r0) * f64::powf((1.0 - cosine), 5.0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 27 - r0 + (1.0 - r0) * f64::powf((1.0 - cosine), 5.0) [INFO] [stdout] 27 + r0 + (1.0 - r0) * f64::powf(1.0 - cosine, 5.0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hittable::Hittable` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::hittable::Hittable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ray::Ray` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use crate::ray::Ray; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `degrees_to_radians` [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::utils::{degrees_to_radians, rand_double, rand_proportion}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `did_hit_anything` is assigned to, but never used [INFO] [stdout] --> src/hittable_list.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let mut did_hit_anything = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_did_hit_anything` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `did_hit_anything` is never read [INFO] [stdout] --> src/hittable_list.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | did_hit_anything = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/lambertian.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn scatter(&self, ray: Ray, hit_record: Option<&HitRecord>) -> Option<(Ray, Color)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let radius = 0.5; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/main.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | let radius = look_from.z; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `did_hit_anything` is assigned to, but never used [INFO] [stdout] --> src/hittable_list.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let mut did_hit_anything = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_did_hit_anything` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `did_hit_anything` is never read [INFO] [stdout] --> src/hittable_list.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | did_hit_anything = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_cover` is never used [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn main_cover(scene_parameters: SceneParameters) -> (HittableList, Camera) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `three_balls` is never used [INFO] [stdout] --> src/main.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn three_balls(scene_params: SceneParameters) -> (HittableList, Camera) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main3` is never used [INFO] [stdout] --> src/main.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn main3() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_proportion` is never used [INFO] [stdout] --> src/vec3.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vec3 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn random_proportion() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `origin` is never used [INFO] [stdout] --> src/ray.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Ray { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn origin(&self) -> Pos { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_object` and `clear` are never used [INFO] [stdout] --> src/hittable_list.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl HittableList { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_object(object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `maximal`, and `contains` are never used [INFO] [stdout] --> src/interval.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn maximal() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn contains(&self, val: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vertical_field_of_view_angle` is never read [INFO] [stdout] --> src/camera.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | vertical_field_of_view_angle: f64, [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/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut world = HittableList::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | [INFO] [stdout] 75 | let material_ground = LambertianMaterial::new(Color::new(0.5, 0.5, 0.5)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let mat1 = DielectricMaterial::new(1.5); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let mat2 = LambertianMaterial::new(Color::new(0.4, 0.2, 0.1)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let mat3 = MetalMaterial::new(Color::new(0.7, 0.6, 0.5), 0.0); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | / camera_with_params( [INFO] [stdout] 122 | | scene_parameters, [INFO] [stdout] 123 | | GradientMaterial::new( [INFO] [stdout] 124 | | Color::new(0.5, 0.7, 1.0), [INFO] [stdout] ... | [INFO] [stdout] 132 | | 10.0, [INFO] [stdout] 133 | | ), [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/main.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut world = HittableList::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | [INFO] [stdout] 140 | let material_ground = LambertianMaterial::new(Color::new(0.8, 0.8, 0.0)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | let material_center = LambertianMaterial::new(Color::new(0.1, 0.2, 0.5)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let material_left = DielectricMaterial::new(1.5); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let material_right = MetalMaterial::new(Color::new(0.8, 0.6, 0.2), 0.0); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | / camera_with_params( [INFO] [stdout] 154 | | scene_params, [INFO] [stdout] 155 | | GradientMaterial::new( [INFO] [stdout] 156 | | Color::new(0.5, 0.7, 1.0), [INFO] [stdout] ... | [INFO] [stdout] 164 | | 3.4, [INFO] [stdout] 165 | | ), [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/main.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 214 | let mut world = HittableList::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | let material_layer2 = DielectricMaterial::new(1.5); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | let material_layer3 = MetalMaterial::new(Color::rgb(250, 211, 102), 0.); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 321 | let l5_material = MetalMaterial::new(Color::rgb(255, 43, 10), 0.); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | / camera_with_params( [INFO] [stdout] 329 | | scene_params, [INFO] [stdout] 330 | | GradientMaterial::new( [INFO] [stdout] 331 | | Color::white(), [INFO] [stdout] ... | [INFO] [stdout] 339 | | 3.4, [INFO] [stdout] 340 | | ), [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/main.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 352 | let (world, camera) = match 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] ... [INFO] [stdout] 362 | camera.render(&world).map(|_| ()) [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 4 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/lambertian.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | fn scatter(&self, ray: Ray, hit_record: Option<&HitRecord>) -> Option<(Ray, Color)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 5 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/main.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let radius = 0.5; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/main.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | let radius = look_from.z; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main_cover` is never used [INFO] [stdout] --> src/main.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn main_cover(scene_parameters: SceneParameters) -> (HittableList, Camera) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `three_balls` is never used [INFO] [stdout] --> src/main.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn three_balls(scene_params: SceneParameters) -> (HittableList, Camera) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main3` is never used [INFO] [stdout] --> src/main.rs:344:4 [INFO] [stdout] | [INFO] [stdout] 344 | fn main3() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `random_proportion` is never used [INFO] [stdout] --> src/vec3.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vec3 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn random_proportion() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `origin` is never used [INFO] [stdout] --> src/ray.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Ray { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn origin(&self) -> Pos { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_object` and `clear` are never used [INFO] [stdout] --> src/hittable_list.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl HittableList { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn with_object(object: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `maximal`, and `contains` are never used [INFO] [stdout] --> src/interval.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Interval { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn maximal() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn contains(&self, val: f64) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vertical_field_of_view_angle` is never read [INFO] [stdout] --> src/camera.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | vertical_field_of_view_angle: f64, [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/main.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut world = HittableList::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | [INFO] [stdout] 75 | let material_ground = LambertianMaterial::new(Color::new(0.5, 0.5, 0.5)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 110 | let mat1 = DielectricMaterial::new(1.5); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let mat2 = LambertianMaterial::new(Color::new(0.4, 0.2, 0.1)); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | let mat3 = MetalMaterial::new(Color::new(0.7, 0.6, 0.5), 0.0); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | / camera_with_params( [INFO] [stdout] 122 | | scene_parameters, [INFO] [stdout] 123 | | GradientMaterial::new( [INFO] [stdout] 124 | | Color::new(0.5, 0.7, 1.0), [INFO] [stdout] ... | [INFO] [stdout] 132 | | 10.0, [INFO] [stdout] 133 | | ), [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/main.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut world = HittableList::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | [INFO] [stdout] 140 | let material_ground = LambertianMaterial::new(Color::new(0.8, 0.8, 0.0)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | let material_center = LambertianMaterial::new(Color::new(0.1, 0.2, 0.5)); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let material_left = DielectricMaterial::new(1.5); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let material_right = MetalMaterial::new(Color::new(0.8, 0.6, 0.2), 0.0); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | / camera_with_params( [INFO] [stdout] 154 | | scene_params, [INFO] [stdout] 155 | | GradientMaterial::new( [INFO] [stdout] 156 | | Color::new(0.5, 0.7, 1.0), [INFO] [stdout] ... | [INFO] [stdout] 164 | | 3.4, [INFO] [stdout] 165 | | ), [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/main.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 214 | let mut world = HittableList::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 278 | let material_layer2 = DielectricMaterial::new(1.5); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | let material_layer3 = MetalMaterial::new(Color::rgb(250, 211, 102), 0.); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 321 | let l5_material = MetalMaterial::new(Color::rgb(255, 43, 10), 0.); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | / camera_with_params( [INFO] [stdout] 329 | | scene_params, [INFO] [stdout] 330 | | GradientMaterial::new( [INFO] [stdout] 331 | | Color::white(), [INFO] [stdout] ... | [INFO] [stdout] 339 | | 3.4, [INFO] [stdout] 340 | | ), [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/main.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 352 | let (world, camera) = match 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] ... [INFO] [stdout] 362 | camera.render(&world).map(|_| ()) [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 4 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer") due to 5 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "31ce218464689cf521d7fabbef10041148db1072a6f1f97c943b4b43c5875654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ce218464689cf521d7fabbef10041148db1072a6f1f97c943b4b43c5875654", kill_on_drop: false }` [INFO] [stdout] 31ce218464689cf521d7fabbef10041148db1072a6f1f97c943b4b43c5875654