[INFO] cloning repository https://github.com/Jackrekirby/Ray-Tracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jackrekirby/Ray-Tracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackrekirby%2FRay-Tracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackrekirby%2FRay-Tracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc9ba41f9c09da77ef6e00389cdb64ad386dbc93 [INFO] checking Jackrekirby/Ray-Tracing/cc9ba41f9c09da77ef6e00389cdb64ad386dbc93 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%2FJackrekirby%2FRay-Tracing" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jackrekirby/Ray-Tracing 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/Jackrekirby/Ray-Tracing [INFO] finished tweaking git repo https://github.com/Jackrekirby/Ray-Tracing [INFO] tweaked toml for git repo https://github.com/Jackrekirby/Ray-Tracing written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Jackrekirby/Ray-Tracing 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 04f3ff0d1f79fb89959b0b9cd280c5fd2aa933223f06154206736a389e755b68 [INFO] running `Command { std: "docker" "start" "-a" "04f3ff0d1f79fb89959b0b9cd280c5fd2aa933223f06154206736a389e755b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04f3ff0d1f79fb89959b0b9cd280c5fd2aa933223f06154206736a389e755b68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04f3ff0d1f79fb89959b0b9cd280c5fd2aa933223f06154206736a389e755b68", kill_on_drop: false }` [INFO] [stdout] 04f3ff0d1f79fb89959b0b9cd280c5fd2aa933223f06154206736a389e755b68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 4f377cd5135f5c0414fbffc1aef308fad9d9331dd8c18c1beb9f6694e5534486 [INFO] running `Command { std: "docker" "start" "-a" "4f377cd5135f5c0414fbffc1aef308fad9d9331dd8c18c1beb9f6694e5534486", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Checking glam v0.20.5 [INFO] [stderr] Checking js-sys v0.3.57 [INFO] [stderr] Checking web-sys v0.3.57 [INFO] [stderr] Checking raytracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `PixelDelta` is never constructed [INFO] [stdout] --> src/raytracer.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct PixelDelta { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PixelDelta` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/raytracer.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 233 | impl PixelDelta { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 234 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_bounding_volume` is never used [INFO] [stdout] --> src/raytracer.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn add_bounding_volume( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slice` is never used [INFO] [stdout] --> src/raytracer.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 277 | impl BoundingVolume { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn slice<'a>(&self, spheres: &'a mut Vec) -> &'a mut [Sphere] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_test` is never used [INFO] [stdout] --> src/raytracer.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn calc_test(spheres: &[Sphere]) -> (Vec3A, Vec3A, Vec3A, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_scene2` is never used [INFO] [stdout] --> src/raytracer.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn render_scene2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_bounding_volumes` is never used [INFO] [stdout] --> src/raytracer.rs:873:12 [INFO] [stdout] | [INFO] [stdout] 810 | impl Objects { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 873 | pub fn calculate_bounding_volumes(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/raytracer.rs:1187:9 [INFO] [stdout] | [INFO] [stdout] 1180 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1187 | pub w: Vec3A, [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/raytracer.rs:768:21 [INFO] [stdout] | [INFO] [stdout] 768 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracing` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | index: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/raytracer.rs:1187:9 [INFO] [stdout] | [INFO] [stdout] 1180 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1187 | pub w: Vec3A, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/raytracer.rs:768:21 [INFO] [stdout] | [INFO] [stdout] 768 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracing` (bin "raytracer_bin") due to 2 previous errors; 2 warnings emitted [INFO] [stdout] warning: struct `PixelDelta` is never constructed [INFO] [stdout] --> src/raytracer.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub struct PixelDelta { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PixelDelta` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/raytracer.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 233 | impl PixelDelta { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 234 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_bounding_volume` is never used [INFO] [stdout] --> src/raytracer.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn add_bounding_volume( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slice` is never used [INFO] [stdout] --> src/raytracer.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 277 | impl BoundingVolume { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn slice<'a>(&self, spheres: &'a mut Vec) -> &'a mut [Sphere] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_test` is never used [INFO] [stdout] --> src/raytracer.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn calc_test(spheres: &[Sphere]) -> (Vec3A, Vec3A, Vec3A, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_scene2` is never used [INFO] [stdout] --> src/raytracer.rs:489:8 [INFO] [stdout] | [INFO] [stdout] 489 | pub fn render_scene2( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_bounding_volumes` is never used [INFO] [stdout] --> src/raytracer.rs:873:12 [INFO] [stdout] | [INFO] [stdout] 810 | impl Objects { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 873 | pub fn calculate_bounding_volumes(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/raytracer.rs:1187:9 [INFO] [stdout] | [INFO] [stdout] 1180 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1187 | pub w: Vec3A, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | index: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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/raytracer.rs:768:21 [INFO] [stdout] | [INFO] [stdout] 768 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/raytracer.rs:1187:9 [INFO] [stdout] | [INFO] [stdout] 1180 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1187 | pub w: Vec3A, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/raytracer.rs:768:21 [INFO] [stdout] | [INFO] [stdout] 768 | #[derive(Serialize, Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracing` (lib) due to 2 previous errors; 8 warnings emitted [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracing` (bin "raytracer_bin" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4f377cd5135f5c0414fbffc1aef308fad9d9331dd8c18c1beb9f6694e5534486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f377cd5135f5c0414fbffc1aef308fad9d9331dd8c18c1beb9f6694e5534486", kill_on_drop: false }` [INFO] [stdout] 4f377cd5135f5c0414fbffc1aef308fad9d9331dd8c18c1beb9f6694e5534486