[INFO] cloning repository https://github.com/Bechiscul/raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bechiscul/raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBechiscul%2Fraytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBechiscul%2Fraytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 109a7a3a0b04db8f7c884a7e8d68e96dc67613c3 [INFO] checking Bechiscul/raytracer/109a7a3a0b04db8f7c884a7e8d68e96dc67613c3 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%2FBechiscul%2Fraytracer" "/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/Bechiscul/raytracer 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/Bechiscul/raytracer [INFO] finished tweaking git repo https://github.com/Bechiscul/raytracer [INFO] tweaked toml for git repo https://github.com/Bechiscul/raytracer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Bechiscul/raytracer 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] e399dc92454c56e9415d029fa2bf2f815eee03ae7aecf2905ab06f1988858a3e [INFO] running `Command { std: "docker" "start" "-a" "e399dc92454c56e9415d029fa2bf2f815eee03ae7aecf2905ab06f1988858a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e399dc92454c56e9415d029fa2bf2f815eee03ae7aecf2905ab06f1988858a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e399dc92454c56e9415d029fa2bf2f815eee03ae7aecf2905ab06f1988858a3e", kill_on_drop: false }` [INFO] [stdout] e399dc92454c56e9415d029fa2bf2f815eee03ae7aecf2905ab06f1988858a3e [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] 57842f7af9f5f60386151bf7391e10919ff5cdd676960fde42a59b5539a8467b [INFO] running `Command { std: "docker" "start" "-a" "57842f7af9f5f60386151bf7391e10919ff5cdd676960fde42a59b5539a8467b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling minifb v0.20.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking simba v0.7.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/main.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{vector, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::OpenOptions` [INFO] [stdout] --> src/framebuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fs::OpenOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hit`, `Material`, and `Sphere` [INFO] [stdout] --> src/raytracer.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scene::{Camera, Hit, Light, Material, Scene, Sphere}; [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitVector3` [INFO] [stdout] --> src/raytracer.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{vector, UnitVector3, Vector2, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/scene.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{vector, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/main.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{vector, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::OpenOptions` [INFO] [stdout] --> src/framebuffer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | fs::OpenOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Hit`, `Material`, and `Sphere` [INFO] [stdout] --> src/raytracer.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::scene::{Camera, Hit, Light, Material, Scene, Sphere}; [INFO] [stdout] | ^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitVector3` [INFO] [stdout] --> src/raytracer.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::{vector, UnitVector3, Vector2, Vector3}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector4` [INFO] [stdout] --> src/scene.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use nalgebra::{vector, Vector3, Vector4}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `red_plasic` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let red_plasic = Material { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_red_plasic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_camera` and `lights_mut` are never used [INFO] [stdout] --> src/scene.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Scene { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn set_camera(&mut self, camera: Camera) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn lights_mut(&mut self) -> &mut Vec { [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/scene.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_object(&mut self, object: impl Object + 'static, mat: Material) { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | self.objects.push((Box::new(object), 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: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `red_plasic` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let red_plasic = Material { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_red_plasic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer" test) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `set_camera` and `lights_mut` are never used [INFO] [stdout] --> src/scene.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Scene { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn set_camera(&mut self, camera: Camera) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn lights_mut(&mut self) -> &mut Vec { [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/scene.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn add_object(&mut self, object: impl Object + 'static, mat: Material) { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | self.objects.push((Box::new(object), 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: aborting due to 1 previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracer` (bin "raytracer") due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57842f7af9f5f60386151bf7391e10919ff5cdd676960fde42a59b5539a8467b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57842f7af9f5f60386151bf7391e10919ff5cdd676960fde42a59b5539a8467b", kill_on_drop: false }` [INFO] [stdout] 57842f7af9f5f60386151bf7391e10919ff5cdd676960fde42a59b5539a8467b