[INFO] cloning repository https://github.com/NicoElbers/Raytracing_in_a_weekend_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NicoElbers/Raytracing_in_a_weekend_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicoElbers%2FRaytracing_in_a_weekend_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNicoElbers%2FRaytracing_in_a_weekend_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2074b2199f832bde09d7f03e658fc6d87b473a83 [INFO] checking NicoElbers/Raytracing_in_a_weekend_rust/2074b2199f832bde09d7f03e658fc6d87b473a83 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%2FNicoElbers%2FRaytracing_in_a_weekend_rust" "/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/NicoElbers/Raytracing_in_a_weekend_rust 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/NicoElbers/Raytracing_in_a_weekend_rust [INFO] finished tweaking git repo https://github.com/NicoElbers/Raytracing_in_a_weekend_rust [INFO] tweaked toml for git repo https://github.com/NicoElbers/Raytracing_in_a_weekend_rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NicoElbers/Raytracing_in_a_weekend_rust 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] b7fcc80b0656cc68e3c45b31c638b020c3bcad3faa10e0732c6722080c54d95a [INFO] running `Command { std: "docker" "start" "-a" "b7fcc80b0656cc68e3c45b31c638b020c3bcad3faa10e0732c6722080c54d95a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7fcc80b0656cc68e3c45b31c638b020c3bcad3faa10e0732c6722080c54d95a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7fcc80b0656cc68e3c45b31c638b020c3bcad3faa10e0732c6722080c54d95a", kill_on_drop: false }` [INFO] [stdout] b7fcc80b0656cc68e3c45b31c638b020c3bcad3faa10e0732c6722080c54d95a [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] fe2c050d2cdf370181b262131228576c5bbdea6a79b4cf4f20e0fe17ed1d5253 [INFO] running `Command { std: "docker" "start" "-a" "fe2c050d2cdf370181b262131228576c5bbdea6a79b4cf4f20e0fe17ed1d5253", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking unicode-xid v0.2.4 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking gpu-alloc v0.5.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking wgpu-types v0.16.1 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Checking easy-threadpool v0.3.0 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking wide v0.7.16 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking ab_glyph v0.2.25 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking ultraviolet v0.9.2 [INFO] [stderr] Checking naga v0.12.3 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wgpu-hal v0.16.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking wgpu-core v0.16.1 [INFO] [stderr] Checking wgpu v0.16.3 [INFO] [stderr] Checking pixels v0.13.0 [INFO] [stderr] Checking raytracing_in_a_weekend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `UnableToSendPixelError` is never constructed [INFO] [stdout] --> src/raytracing/camera.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct UnableToSendPixelError {} [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/application/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 45 | let event_loop = EventLoopBuilder::::with_user_event().build()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let window = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let pixels = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(Self::new(width, height, pixels, window, event_loop)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [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/application/mod.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn run(mut self) -> Result<(), winit::error::EventLoopError> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let event_loop = self.event_loop; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | event_loop.run(move |event, target: &EventLoopWindowTarget| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 77 | | match event { [INFO] [stdout] 78 | | Event::UserEvent(event) => { [INFO] [stdout] 79 | | Self::handle_user_event(&mut self.pixels, event, &self.window, self.width); [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | }) [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/raytracing/shapes/sphere.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new_world_obj(x: f64, y: f64, z: f64, radius: f64, mat: Arc) -> Arc { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let center = Point3::new(x, y, z); [INFO] [stdout] 31 | Arc::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 32 | | center, [INFO] [stdout] 33 | | radius, [INFO] [stdout] 34 | | mat, [INFO] [stdout] 35 | | }) [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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracing_in_a_weekend` (bin "raytracing_in_a_weekend" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `UnableToSendPixelError` is never constructed [INFO] [stdout] --> src/raytracing/camera.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct UnableToSendPixelError {} [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/application/mod.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 45 | let event_loop = EventLoopBuilder::::with_user_event().build()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let window = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let pixels = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok(Self::new(width, height, pixels, window, event_loop)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] [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/application/mod.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn run(mut self) -> Result<(), winit::error::EventLoopError> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let event_loop = self.event_loop; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | event_loop.run(move |event, target: &EventLoopWindowTarget| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 77 | | match event { [INFO] [stdout] 78 | | Event::UserEvent(event) => { [INFO] [stdout] 79 | | Self::handle_user_event(&mut self.pixels, event, &self.window, self.width); [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] 108 | | }) [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/raytracing/shapes/sphere.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new_world_obj(x: f64, y: f64, z: f64, radius: f64, mat: Arc) -> Arc { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | let center = Point3::new(x, y, z); [INFO] [stdout] 31 | Arc::new(Self { [INFO] [stdout] | __________________^ [INFO] [stdout] 32 | | center, [INFO] [stdout] 33 | | radius, [INFO] [stdout] 34 | | mat, [INFO] [stdout] 35 | | }) [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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracing_in_a_weekend` (bin "raytracing_in_a_weekend") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fe2c050d2cdf370181b262131228576c5bbdea6a79b4cf4f20e0fe17ed1d5253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe2c050d2cdf370181b262131228576c5bbdea6a79b4cf4f20e0fe17ed1d5253", kill_on_drop: false }` [INFO] [stdout] fe2c050d2cdf370181b262131228576c5bbdea6a79b4cf4f20e0fe17ed1d5253