[INFO] cloning repository https://github.com/MD-20880/Rust_CG [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MD-20880/Rust_CG" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMD-20880%2FRust_CG", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMD-20880%2FRust_CG'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f576dfe5ae6e9b38eb0b39ef0e3a34a716b91cc1 [INFO] checking MD-20880/Rust_CG/f576dfe5ae6e9b38eb0b39ef0e3a34a716b91cc1 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%2FMD-20880%2FRust_CG" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MD-20880/Rust_CG 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/MD-20880/Rust_CG [INFO] finished tweaking git repo https://github.com/MD-20880/Rust_CG [INFO] tweaked toml for git repo https://github.com/MD-20880/Rust_CG written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MD-20880/Rust_CG 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4d538cdc9b543ea61909b9dfdfb9a4a2f6f75aa8df6d0e9640e2b60303b102a8 [INFO] running `Command { std: "docker" "start" "-a" "4d538cdc9b543ea61909b9dfdfb9a4a2f6f75aa8df6d0e9640e2b60303b102a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d538cdc9b543ea61909b9dfdfb9a4a2f6f75aa8df6d0e9640e2b60303b102a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d538cdc9b543ea61909b9dfdfb9a4a2f6f75aa8df6d0e9640e2b60303b102a8", kill_on_drop: false }` [INFO] [stdout] 4d538cdc9b543ea61909b9dfdfb9a4a2f6f75aa8df6d0e9640e2b60303b102a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7ae0959da98c10a53c12b6625523d0a4d70d5259c82a3c6c1abd3c0a24f5e154 [INFO] running `Command { std: "docker" "start" "-a" "7ae0959da98c10a53c12b6625523d0a4d70d5259c82a3c6c1abd3c0a24f5e154", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sdw v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/drawing_window.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rect::Point` [INFO] [stdout] --> src/drawing_window.rs:6:114 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{self, video::Window, render::{Canvas, TextureCreator, Texture}, Sdl, pixels::{Color,PixelFormatEnum}, rect::Point}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/drawing_window.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CanvasPoint` is never constructed [INFO] [stdout] --> src/canvas_point.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CanvasPoint{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DrawingWindow` is never constructed [INFO] [stdout] --> src/drawing_window.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DrawingWindow{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_drawing_window`, `render_frame`, `clear_pixels`, `set_pixel_color`, `get_sdl_context`, and `data_raw` are never used [INFO] [stdout] --> src/drawing_window.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl DrawingWindow { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 21 | pub fn new_drawing_window(w: u32, h: u32, fullscreen: bool) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn render_frame(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn clear_pixels(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_pixel_color(&mut self,x: u32, y:u32, color:u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_sdl_context(&self) -> &Sdl{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn data_raw(&self) -> &[u8] { [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/drawing_window.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 23 | ... let sdl_context = sdl2::init().expect("Could not initialise SDL"); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ... let video_subsystem = sdl_context.video().unwrap(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | ... let window =match fullscreen{ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | ... let canvas = window.into_canvas().build().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | ... [INFO] [stdout] 42 | ... let creator = canvas.texture_creator(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ... let texture = creator.create_texture_target( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | ... let texture = unsafe{ [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | ... Ok({ [INFO] [stdout] | __________^ [INFO] [stdout] 52 | | ... DrawingWindow { width: w, height: h, context: sdl_context, canvas: canvas, creator: creator, texture:RefCell::new(texture),pixe... [INFO] [stdout] 53 | | ... [INFO] [stdout] 54 | | ... }) [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdw` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/drawing_window.rs:3:46 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `rect::Point` [INFO] [stdout] --> src/drawing_window.rs:6:114 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{self, video::Window, render::{Canvas, TextureCreator, Texture}, Sdl, pixels::{Color,PixelFormatEnum}, rect::Point}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/drawing_window.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{borrow::BorrowMut, cell::{RefCell, Ref}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CanvasPoint` is never constructed [INFO] [stdout] --> src/canvas_point.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CanvasPoint{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DrawingWindow` is never constructed [INFO] [stdout] --> src/drawing_window.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct DrawingWindow{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_drawing_window`, `render_frame`, `clear_pixels`, `set_pixel_color`, `get_sdl_context`, and `data_raw` are never used [INFO] [stdout] --> src/drawing_window.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl DrawingWindow { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 21 | pub fn new_drawing_window(w: u32, h: u32, fullscreen: bool) -> Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn render_frame(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn clear_pixels(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn set_pixel_color(&mut self,x: u32, y:u32, color:u32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn get_sdl_context(&self) -> &Sdl{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn data_raw(&self) -> &[u8] { [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/drawing_window.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 23 | ... let sdl_context = sdl2::init().expect("Could not initialise SDL"); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | ... let video_subsystem = sdl_context.video().unwrap(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | ... let window =match fullscreen{ [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | ... let canvas = window.into_canvas().build().unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | ... [INFO] [stdout] 42 | ... let creator = canvas.texture_creator(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | ... let texture = creator.create_texture_target( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 46 | ... let texture = unsafe{ [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | ... Ok({ [INFO] [stdout] | __________^ [INFO] [stdout] 52 | | ... DrawingWindow { width: w, height: h, context: sdl_context, canvas: canvas, creator: creator, texture:RefCell::new(texture),pixe... [INFO] [stdout] 53 | | ... [INFO] [stdout] 54 | | ... }) [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdw` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7ae0959da98c10a53c12b6625523d0a4d70d5259c82a3c6c1abd3c0a24f5e154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae0959da98c10a53c12b6625523d0a4d70d5259c82a3c6c1abd3c0a24f5e154", kill_on_drop: false }` [INFO] [stdout] 7ae0959da98c10a53c12b6625523d0a4d70d5259c82a3c6c1abd3c0a24f5e154