[INFO] cloning repository https://github.com/Lumither/ray-tracing-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lumither/ray-tracing-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLumither%2Fray-tracing-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLumither%2Fray-tracing-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db10bd1071b98849e8b6440a374d66a5d59562d2 [INFO] checking Lumither/ray-tracing-rs/db10bd1071b98849e8b6440a374d66a5d59562d2 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%2FLumither%2Fray-tracing-rs" "/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/Lumither/ray-tracing-rs 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/Lumither/ray-tracing-rs [INFO] finished tweaking git repo https://github.com/Lumither/ray-tracing-rs [INFO] tweaked toml for git repo https://github.com/Lumither/ray-tracing-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lumither/ray-tracing-rs 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] a972845e99d34c3422155227deb1f42260206325c2e84cd638337c1947904668 [INFO] running `Command { std: "docker" "start" "-a" "a972845e99d34c3422155227deb1f42260206325c2e84cd638337c1947904668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a972845e99d34c3422155227deb1f42260206325c2e84cd638337c1947904668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a972845e99d34c3422155227deb1f42260206325c2e84cd638337c1947904668", kill_on_drop: false }` [INFO] [stdout] a972845e99d34c3422155227deb1f42260206325c2e84cd638337c1947904668 [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] abf48d9e2b12cf3abc19ca184da015be3738df2cc9d9f9f738cdc1b4ecd4e887 [INFO] running `Command { std: "docker" "start" "-a" "abf48d9e2b12cf3abc19ca184da015be3738df2cc9d9f9f738cdc1b4ecd4e887", kill_on_drop: false }` [INFO] [stderr] Checking ray-tracing-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::trace::nnf::NnfFile` [INFO] [stdout] --> src/trace/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::trace::nnf::NnfFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/trace/surface.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trace::basic::Fill` [INFO] [stdout] --> src/trace/surface.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::trace::basic::Fill; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trace::nnf::NnfFile` [INFO] [stdout] --> src/trace/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::trace::nnf::NnfFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/trace/surface.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::trace::basic::Fill` [INFO] [stdout] --> src/trace/surface.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::trace::basic::Fill; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/trace/surface.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/trace/surface.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/trace/surface.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hits` [INFO] [stdout] --> src/trace/surface.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_hit` [INFO] [stdout] --> src/trace/surface.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let is_hit: bool = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/trace/surface.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/trace/surface.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/trace/surface.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 41 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hits` [INFO] [stdout] --> src/trace/surface.rs:41:58 [INFO] [stdout] | [INFO] [stdout] 41 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_hit` [INFO] [stdout] --> src/trace/surface.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let is_hit: bool = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/trace/surface.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/trace/surface.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/trace/surface.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hits` [INFO] [stdout] --> src/trace/surface.rs:48:58 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/trace/surface.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/trace/surface.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/trace/surface.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hits` [INFO] [stdout] --> src/trace/surface.rs:35:58 [INFO] [stdout] | [INFO] [stdout] 35 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_hit` [INFO] [stdout] --> src/trace/surface.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let is_hit: bool = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/trace/surface.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/trace/surface.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/trace/surface.rs:41:49 [INFO] [stdout] | [INFO] [stdout] 41 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hits` [INFO] [stdout] --> src/trace/surface.rs:41:58 [INFO] [stdout] | [INFO] [stdout] 41 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_hit` [INFO] [stdout] --> src/trace/surface.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let is_hit: bool = false; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/trace/surface.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/trace/surface.rs:48:40 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/trace/surface.rs:48:49 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hits` [INFO] [stdout] --> src/trace/surface.rs:48:58 [INFO] [stdout] | [INFO] [stdout] 48 | fn intersect(&mut self, ray: &Ray, t0: f64, t1: f64, hits: &mut HitRecord) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `center` and `radius` are never read [INFO] [stdout] --> src/trace/surface.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Sphere { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | // pub material: Rc, [INFO] [stdout] 12 | pub center: Vec3d, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub radius: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n1`, `n2`, and `n3` are never read [INFO] [stdout] --> src/trace/surface.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TrianglePatch { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 24 | pub _super: Triangle, [INFO] [stdout] 25 | pub n1: Vec3d, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | pub n2: Vec3d, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | pub n3: Vec3d, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `center` and `radius` are never read [INFO] [stdout] --> src/trace/surface.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Sphere { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | // pub material: Rc, [INFO] [stdout] 12 | pub center: Vec3d, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | pub radius: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `n1`, `n2`, and `n3` are never read [INFO] [stdout] --> src/trace/surface.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct TrianglePatch { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 24 | pub _super: Triangle, [INFO] [stdout] 25 | pub n1: Vec3d, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | pub n2: Vec3d, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | pub n3: Vec3d, [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/trace/nnf.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 31 | let file = match fs::File::open(fname) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let mut surfaces: Vec = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | let mut lines = reader.lines(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 331 | Ok(NnfFile { [INFO] [stdout] | ________^ [INFO] [stdout] 332 | | background_color, [INFO] [stdout] 333 | | camera: camera.expect("the nff file should include information of camera"), [INFO] [stdout] 334 | | lights, [INFO] [stdout] 335 | | surfaces, [INFO] [stdout] 336 | | }) [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/trace/nnf.rs:331:8 [INFO] [stdout] | [INFO] [stdout] 31 | let file = match fs::File::open(fname) { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | Ok(file) => file, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let mut surfaces: Vec = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | let mut lines = reader.lines(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 331 | Ok(NnfFile { [INFO] [stdout] | ________^ [INFO] [stdout] 332 | | background_color, [INFO] [stdout] 333 | | camera: camera.expect("the nff file should include information of camera"), [INFO] [stdout] 334 | | lights, [INFO] [stdout] 335 | | surfaces, [INFO] [stdout] 336 | | }) [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: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ray-tracing-rs` (lib test) due to 2 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ray-tracing-rs` (lib) due to 2 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "abf48d9e2b12cf3abc19ca184da015be3738df2cc9d9f9f738cdc1b4ecd4e887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abf48d9e2b12cf3abc19ca184da015be3738df2cc9d9f9f738cdc1b4ecd4e887", kill_on_drop: false }` [INFO] [stdout] abf48d9e2b12cf3abc19ca184da015be3738df2cc9d9f9f738cdc1b4ecd4e887