[INFO] cloning repository https://github.com/davo-6670/room [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davo-6670/room" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavo-6670%2Froom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavo-6670%2Froom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22af6b2f2a9b2973c745de9142dad36f701da744 [INFO] checking davo-6670/room/22af6b2f2a9b2973c745de9142dad36f701da744 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%2Fdavo-6670%2Froom" "/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/davo-6670/room 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/davo-6670/room [INFO] finished tweaking git repo https://github.com/davo-6670/room [INFO] tweaked toml for git repo https://github.com/davo-6670/room written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/davo-6670/room 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] 75608d5dcc5542437d2089c34674df8e63eb9f0a3e318b11522039b22dff8034 [INFO] running `Command { std: "docker" "start" "-a" "75608d5dcc5542437d2089c34674df8e63eb9f0a3e318b11522039b22dff8034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75608d5dcc5542437d2089c34674df8e63eb9f0a3e318b11522039b22dff8034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75608d5dcc5542437d2089c34674df8e63eb9f0a3e318b11522039b22dff8034", kill_on_drop: false }` [INFO] [stdout] 75608d5dcc5542437d2089c34674df8e63eb9f0a3e318b11522039b22dff8034 [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] 8d9f7120c6ef7a3a02331c27c57823b8dff899e7f072a480e54434880bd1bb18 [INFO] running `Command { std: "docker" "start" "-a" "8d9f7120c6ef7a3a02331c27c57823b8dff899e7f072a480e54434880bd1bb18", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.16 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking room v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HitRecord` and `World` [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use hit::{Hit, HitRecord, World}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `line::Line` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use line::Line; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HitRecord` and `World` [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use hit::{Hit, HitRecord, World}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `line::Line` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use line::Line; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanline` [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let scanline: Vec = (0..IMAGE_WIDTH as u32) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scanline` [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let scanline: Vec = (0..IMAGE_WIDTH as u32) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scanline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `p` and `c` are never read [INFO] [stdout] --> src/hit.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct HitRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 35 | pub p: Vec2, [INFO] [stdout] | ^ [INFO] [stdout] 36 | pub t: f32, [INFO] [stdout] 37 | pub c: Color, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_ray` is never used [INFO] [stdout] --> src/map_renderer.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl MapRenderer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn draw_ray(&mut self, ray: &Ray) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, and `b` are never read [INFO] [stdout] --> src/material.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Color { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 3 | r: u8, [INFO] [stdout] | ^ [INFO] [stdout] 4 | g: u8, [INFO] [stdout] | ^ [INFO] [stdout] 5 | b: u8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_world1` is never used [INFO] [stdout] --> src/test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn test_world1() -> World { [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/map_renderer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(window: Window, scale: f32) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let canvas = window.into_canvas().build().map_err(|e| e.to_string())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Ok(MapRenderer { canvas, scale }) [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] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | .map(|i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `p` and `c` are never read [INFO] [stdout] --> src/hit.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct HitRecord { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 35 | pub p: Vec2, [INFO] [stdout] | ^ [INFO] [stdout] 36 | pub t: f32, [INFO] [stdout] 37 | pub c: Color, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_ray` is never used [INFO] [stdout] --> src/map_renderer.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl MapRenderer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn draw_ray(&mut self, ray: &Ray) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `r`, `g`, and `b` are never read [INFO] [stdout] --> src/material.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Color { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 3 | r: u8, [INFO] [stdout] | ^ [INFO] [stdout] 4 | g: u8, [INFO] [stdout] | ^ [INFO] [stdout] 5 | b: u8, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_world1` is never used [INFO] [stdout] --> src/test.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn test_world1() -> World { [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/map_renderer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(window: Window, scale: f32) -> Result { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let canvas = window.into_canvas().build().map_err(|e| e.to_string())?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | Ok(MapRenderer { canvas, scale }) [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: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `room` (bin "room" test) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `room` (bin "room") due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d9f7120c6ef7a3a02331c27c57823b8dff899e7f072a480e54434880bd1bb18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d9f7120c6ef7a3a02331c27c57823b8dff899e7f072a480e54434880bd1bb18", kill_on_drop: false }` [INFO] [stdout] 8d9f7120c6ef7a3a02331c27c57823b8dff899e7f072a480e54434880bd1bb18