[INFO] cloning repository https://github.com/M3str3/rust-space-invaders [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/M3str3/rust-space-invaders" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM3str3%2Frust-space-invaders", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FM3str3%2Frust-space-invaders'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3b3b1e7400a08c4f4b3632f9c3fe21f0a6a3c71 [INFO] checking M3str3/rust-space-invaders/a3b3b1e7400a08c4f4b3632f9c3fe21f0a6a3c71 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%2FM3str3%2Frust-space-invaders" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/M3str3/rust-space-invaders 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/M3str3/rust-space-invaders [INFO] finished tweaking git repo https://github.com/M3str3/rust-space-invaders [INFO] tweaked toml for git repo https://github.com/M3str3/rust-space-invaders written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/M3str3/rust-space-invaders 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6ec2f001d338b242cf8373c09e9574f2e5626598deb130dec594ce650b4c008a [INFO] running `Command { std: "docker" "start" "-a" "6ec2f001d338b242cf8373c09e9574f2e5626598deb130dec594ce650b4c008a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ec2f001d338b242cf8373c09e9574f2e5626598deb130dec594ce650b4c008a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec2f001d338b242cf8373c09e9574f2e5626598deb130dec594ce650b4c008a", kill_on_drop: false }` [INFO] [stdout] 6ec2f001d338b242cf8373c09e9574f2e5626598deb130dec594ce650b4c008a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4f4d101d05f8136e88acc9751adf485e9daa2f14c4dab6e4622d521f4bb9c0e1 [INFO] running `Command { std: "docker" "start" "-a" "4f4d101d05f8136e88acc9751adf485e9daa2f14c4dab6e4622d521f4bb9c0e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling xml-rs v0.8.18 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rustix v0.38.14 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking euclid v0.22.9 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Checking ttf-parser v0.19.2 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking lyon_geom v0.17.7 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking owned_ttf_parser v0.19.0 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking mio-misc v1.2.2 [INFO] [stderr] Checking ab_glyph v0.2.21 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking lyon_path v0.17.7 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling cpal v0.14.2 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cargo-platform v0.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking sid v0.6.1 [INFO] [stderr] Checking float_next_after v0.1.5 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking gilrs-core v0.4.1 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking glyph_brush_layout v0.2.3 [INFO] [stderr] Checking lyon_algorithms v0.17.7 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking minimp3 v0.5.1 [INFO] [stderr] Checking lyon_tessellation v0.17.10 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking ordered-float v3.9.1 [INFO] [stderr] Checking mint v0.5.9 [INFO] [stderr] Compiling ggez v0.7.1 [INFO] [stderr] Checking hound v3.5.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking gilrs v0.9.0 [INFO] [stderr] Checking glam v0.20.5 [INFO] [stderr] Checking glyph_brush v0.7.7 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking rodio v0.16.0 [INFO] [stderr] Checking directories v3.0.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking lyon v0.17.10 [INFO] [stderr] Checking gfx v0.18.3 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Checking glutin v0.27.0 [INFO] [stderr] Checking old_school_gfx_glutin_ext v0.27.0 [INFO] [stderr] Checking space-invaders v0.1.0 (/opt/rustwide/workdir) [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/player.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | let image = Image::new(ctx, "/assets/player.png")?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let scale_factor = 0.1; [INFO] [stdout] 21 | Ok(Player{x,y,speed,image, scale_factor}) [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] | [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/enemy.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 18 | let image = Image::new(ctx, "/assets/enemy.png")?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | Ok(Enemy { x, y, speed,horizontal_speed, image, is_dead:false, scale_factor }) [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] | [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `space-invaders` (bin "space-invaders") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/player.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | let image = Image::new(ctx, "/assets/player.png")?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let scale_factor = 0.1; [INFO] [stdout] 21 | Ok(Player{x,y,speed,image, scale_factor}) [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] | [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/enemy.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 18 | let image = Image::new(ctx, "/assets/enemy.png")?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | Ok(Enemy { x, y, speed,horizontal_speed, image, is_dead:false, scale_factor }) [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] | [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `space-invaders` (bin "space-invaders" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4f4d101d05f8136e88acc9751adf485e9daa2f14c4dab6e4622d521f4bb9c0e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f4d101d05f8136e88acc9751adf485e9daa2f14c4dab6e4622d521f4bb9c0e1", kill_on_drop: false }` [INFO] [stdout] 4f4d101d05f8136e88acc9751adf485e9daa2f14c4dab6e4622d521f4bb9c0e1