[INFO] cloning repository https://github.com/deleanor/wgpu-learn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deleanor/wgpu-learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeleanor%2Fwgpu-learn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeleanor%2Fwgpu-learn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e17a238644c554e30528c43de018f645c015d064 [INFO] checking deleanor/wgpu-learn/e17a238644c554e30528c43de018f645c015d064 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%2Fdeleanor%2Fwgpu-learn" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/deleanor/wgpu-learn 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/deleanor/wgpu-learn [INFO] finished tweaking git repo https://github.com/deleanor/wgpu-learn [INFO] tweaked toml for git repo https://github.com/deleanor/wgpu-learn written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/deleanor/wgpu-learn 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3f8add0e793bb969f0b0fe4a6254db8f01690e9d3af2d1db2bd770017f1f3a13 [INFO] running `Command { std: "docker" "start" "-a" "3f8add0e793bb969f0b0fe4a6254db8f01690e9d3af2d1db2bd770017f1f3a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f8add0e793bb969f0b0fe4a6254db8f01690e9d3af2d1db2bd770017f1f3a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8add0e793bb969f0b0fe4a6254db8f01690e9d3af2d1db2bd770017f1f3a13", kill_on_drop: false }` [INFO] [stdout] 3f8add0e793bb969f0b0fe4a6254db8f01690e9d3af2d1db2bd770017f1f3a13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 45a410d3139ddac4f9ae25b10700683eac7ddb8aff0901f36ba184005a65801f [INFO] running `Command { std: "docker" "start" "-a" "45a410d3139ddac4f9ae25b10700683eac7ddb8aff0901f36ba184005a65801f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Checking libloading v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking minimal-lexical v0.1.4 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling wgpu-core v0.11.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking gpu-alloc v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking gpu-descriptor v0.2.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking ash v0.33.3+1.2.191 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking xdg v2.4.0 [INFO] [stderr] Checking wgpu-types v0.11.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking profiling v1.0.4 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking glow v0.11.0 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking pollster v0.2.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking naga v0.7.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wgpu-hal v0.11.4 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking wgpu v0.11.0 [INFO] [stderr] Checking wgpu-learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `surface`, `device`, `queue`, `config`, and `size` are never read [INFO] [stdout] --> src/render.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RenderState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub surface: wgpu::Surface, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub adapter: wgpu::Adapter, [INFO] [stdout] 9 | pub device: wgpu::Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub queue: wgpu::Queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub config: wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub size: winit::dpi::PhysicalSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 14 | let event_loop = EventLoop::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let window = WindowBuilder::new().build(&event_loop).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | match pollster::block_on(render::RenderState::new(&window)) { [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `surface`, `device`, `queue`, `config`, and `size` are never read [INFO] [stdout] --> src/render.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RenderState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | pub surface: wgpu::Surface, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub adapter: wgpu::Adapter, [INFO] [stdout] 9 | pub device: wgpu::Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub queue: wgpu::Queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | pub config: wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub size: winit::dpi::PhysicalSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wgpu-learn` (bin "wgpu-learn") due to 2 previous errors; 1 warning emitted [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/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 14 | let event_loop = EventLoop::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let window = WindowBuilder::new().build(&event_loop).unwrap(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | [INFO] [stdout] 17 | match pollster::block_on(render::RenderState::new(&window)) { [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wgpu-learn` (bin "wgpu-learn" test) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "45a410d3139ddac4f9ae25b10700683eac7ddb8aff0901f36ba184005a65801f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45a410d3139ddac4f9ae25b10700683eac7ddb8aff0901f36ba184005a65801f", kill_on_drop: false }` [INFO] [stdout] 45a410d3139ddac4f9ae25b10700683eac7ddb8aff0901f36ba184005a65801f