[INFO] updating cached repository https://github.com/ThanksSkeleton/ray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95b4a8a859c1d7f714898256412ee6338603657b [INFO] checking ThanksSkeleton/ray/95b4a8a859c1d7f714898256412ee6338603657b 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%2FThanksSkeleton%2Fray" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ThanksSkeleton/ray 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/ThanksSkeleton/ray [INFO] finished tweaking git repo https://github.com/ThanksSkeleton/ray [INFO] tweaked toml for git repo https://github.com/ThanksSkeleton/ray written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ThanksSkeleton/ray 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0da8bf6ad8a20ede5e1aa25e1f2d400c0c7c9d4591d17f88c42ae4b569ae3c68 [INFO] running `Command { std: "docker" "start" "-a" "0da8bf6ad8a20ede5e1aa25e1f2d400c0c7c9d4591d17f88c42ae4b569ae3c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0da8bf6ad8a20ede5e1aa25e1f2d400c0c7c9d4591d17f88c42ae4b569ae3c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0da8bf6ad8a20ede5e1aa25e1f2d400c0c7c9d4591d17f88c42ae4b569ae3c68", kill_on_drop: false }` [INFO] [stdout] 0da8bf6ad8a20ede5e1aa25e1f2d400c0c7c9d4591d17f88c42ae4b569ae3c68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1ba53a09a6a59c8512da3750463d2b6012610493f329184f67a80a4c9f66233c [INFO] running `Command { std: "docker" "start" "-a" "1ba53a09a6a59c8512da3750463d2b6012610493f329184f67a80a4c9f66233c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.134 [INFO] [stderr] Compiling serde v1.0.134 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking stl_io v0.6.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking ray v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::ops; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::ops; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Index` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ops::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lerp` [INFO] [stdout] --> src/main.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | fn new(lerp: [f32;2], size_aspect: SizeAspect) -> CameraInfo [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lerp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lerp` [INFO] [stdout] --> src/main.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | fn new(lerp: [f32;2], size_aspect: SizeAspect) -> CameraInfo [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_lerp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tint` [INFO] [stdout] --> src/main.rs:913:38 [INFO] [stdout] | [INFO] [stdout] 913 | Material::Emissive { tint } => { return Vector3::new(0.2, 0.2, 0.2) } [INFO] [stdout] | ^^^^ help: try ignoring the field: `tint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp_f` is never used [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn lerp_f(t: f32, a : f32, b: f32) -> f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp_v` is never used [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn lerp_v(t: f32, a: Vector3, b: Vector3) -> Vector3 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `WHITE` is never used [INFO] [stdout] --> src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl Vector3 [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn WHITE() -> Vector3 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size_aspect`, `viewport_height`, `viewport_width`, and `focal_length` are never read [INFO] [stdout] --> src/main.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 268 | struct CameraInfo [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 269 | { [INFO] [stdout] 270 | size_aspect: SizeAspect, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 271 | [INFO] [stdout] 272 | viewport_height : f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 273 | viewport_width : f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 274 | [INFO] [stdout] 275 | focal_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `front_face` is never read [INFO] [stdout] --> src/main.rs:518:5 [INFO] [stdout] | [INFO] [stdout] 513 | struct HitRecord [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 518 | front_face: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HitRecord` 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 `set_front` is never used [INFO] [stdout] --> src/main.rs:525:8 [INFO] [stdout] | [INFO] [stdout] 523 | impl HitRecord [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 524 | { [INFO] [stdout] 525 | fn set_front(&mut self) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `BLACK` should have a snake case name [INFO] [stdout] --> src/main.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn BLACK() -> Vector3 [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `black` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `WHITE` should have a snake case name [INFO] [stdout] --> src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn WHITE() -> Vector3 [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `white` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DefaultSky` should have a snake case name [INFO] [stdout] --> src/main.rs:565:8 [INFO] [stdout] | [INFO] [stdout] 565 | fn DefaultSky() -> Material [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `default_sky` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray` (bin "ray") due to 3 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `C0` should have a snake case name [INFO] [stdout] --> src/main.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | let C0 = p +- self.pts[0]; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tint` [INFO] [stdout] --> src/main.rs:913:38 [INFO] [stdout] | [INFO] [stdout] 913 | Material::Emissive { tint } => { return Vector3::new(0.2, 0.2, 0.2) } [INFO] [stdout] | ^^^^ help: try ignoring the field: `tint: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp_f` is never used [INFO] [stdout] --> src/main.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn lerp_f(t: f32, a : f32, b: f32) -> f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp_v` is never used [INFO] [stdout] --> src/main.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn lerp_v(t: f32, a: Vector3, b: Vector3) -> Vector3 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C1` should have a snake case name [INFO] [stdout] --> src/main.rs:729:13 [INFO] [stdout] | [INFO] [stdout] 729 | let C1 = p +- self.pts[1]; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C2` should have a snake case name [INFO] [stdout] --> src/main.rs:730:13 [INFO] [stdout] | [INFO] [stdout] 730 | let C2 = p +- self.pts[2]; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `WHITE` is never used [INFO] [stdout] --> src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 112 | impl Vector3 [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | fn WHITE() -> Vector3 [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:773:30 [INFO] [stdout] | [INFO] [stdout] 752 | let mut file = OpenOptions::new().read(true).open(stl_path.clone()).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | let mut file = OpenOptions::new().read(true).open(stl_path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 765 | let triangles : Vec> = stl_io::create_stl_reader(&mut file).unwrap(). [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 773 | bounding_container : Box::new(Sphere{ center: center, radius: bounding_sphere_dim, material: mat }) [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:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | map(|v| Box::new(convert(center, ratio, v, mat)) as Box). [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 2 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size_aspect`, `viewport_height`, `viewport_width`, and `focal_length` are never read [INFO] [stdout] --> src/main.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 268 | struct CameraInfo [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 269 | { [INFO] [stdout] 270 | size_aspect: SizeAspect, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 271 | [INFO] [stdout] 272 | viewport_height : f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 273 | viewport_width : f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 274 | [INFO] [stdout] 275 | focal_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `front_face` is never read [INFO] [stdout] --> src/main.rs:518:5 [INFO] [stdout] | [INFO] [stdout] 513 | struct HitRecord [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 518 | front_face: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HitRecord` 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 `set_front` is never used [INFO] [stdout] --> src/main.rs:525:8 [INFO] [stdout] | [INFO] [stdout] 523 | impl HitRecord [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 524 | { [INFO] [stdout] 525 | fn set_front(&mut self) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `BLACK` should have a snake case name [INFO] [stdout] --> src/main.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | fn BLACK() -> Vector3 [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `black` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `WHITE` should have a snake case name [INFO] [stdout] --> src/main.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn WHITE() -> Vector3 [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `white` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DefaultSky` should have a snake case name [INFO] [stdout] --> src/main.rs:565:8 [INFO] [stdout] | [INFO] [stdout] 565 | fn DefaultSky() -> Material [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `default_sky` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C0` should have a snake case name [INFO] [stdout] --> src/main.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | let C0 = p +- self.pts[0]; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C1` should have a snake case name [INFO] [stdout] --> src/main.rs:729:13 [INFO] [stdout] | [INFO] [stdout] 729 | let C1 = p +- self.pts[1]; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C2` should have a snake case name [INFO] [stdout] --> src/main.rs:730:13 [INFO] [stdout] | [INFO] [stdout] 730 | let C2 = p +- self.pts[2]; [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `c2` [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:773:30 [INFO] [stdout] | [INFO] [stdout] 752 | let mut file = OpenOptions::new().read(true).open(stl_path.clone()).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 764 | let mut file = OpenOptions::new().read(true).open(stl_path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 765 | let triangles : Vec> = stl_io::create_stl_reader(&mut file).unwrap(). [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 773 | bounding_container : Box::new(Sphere{ center: center, radius: bounding_sphere_dim, material: mat }) [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:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | map(|v| Box::new(convert(center, ratio, v, mat)) as Box). [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 2 previous errors; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray` (bin "ray" test) due to 3 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1ba53a09a6a59c8512da3750463d2b6012610493f329184f67a80a4c9f66233c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ba53a09a6a59c8512da3750463d2b6012610493f329184f67a80a4c9f66233c", kill_on_drop: false }` [INFO] [stdout] 1ba53a09a6a59c8512da3750463d2b6012610493f329184f67a80a4c9f66233c