[INFO] cloning repository https://github.com/pedro-git-projects/raycasting-engine-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedro-git-projects/raycasting-engine-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-git-projects%2Fraycasting-engine-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-git-projects%2Fraycasting-engine-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b58696aee515bbfb303c534a1b3ac98ab8bb53a [INFO] checking pedro-git-projects/raycasting-engine-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-git-projects%2Fraycasting-engine-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pedro-git-projects/raycasting-engine-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pedro-git-projects/raycasting-engine-rs [INFO] finished tweaking git repo https://github.com/pedro-git-projects/raycasting-engine-rs [INFO] tweaked toml for git repo https://github.com/pedro-git-projects/raycasting-engine-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pedro-git-projects/raycasting-engine-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49268277e63cbe82d1f7f1b5b2ac0eb1bc07eee6c8132b3c89b72af4fd3d2c89 [INFO] running `Command { std: "docker" "start" "-a" "49268277e63cbe82d1f7f1b5b2ac0eb1bc07eee6c8132b3c89b72af4fd3d2c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49268277e63cbe82d1f7f1b5b2ac0eb1bc07eee6c8132b3c89b72af4fd3d2c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49268277e63cbe82d1f7f1b5b2ac0eb1bc07eee6c8132b3c89b72af4fd3d2c89", kill_on_drop: false }` [INFO] [stdout] 49268277e63cbe82d1f7f1b5b2ac0eb1bc07eee6c8132b3c89b72af4fd3d2c89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4faddf69994e749758d65a9a117396e240feb8e7151130ad9c8416200850d2e4 [INFO] running `Command { std: "docker" "start" "-a" "4faddf69994e749758d65a9a117396e240feb8e7151130ad9c8416200850d2e4", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Checking raycasting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `sdl_context`, `video_subsystem`, and `texture_creator` are never read [INFO] [stdout] --> src/app/app.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct App<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub sdl_context: &'a sdl2::Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub video_subsystem: &'a sdl2::VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub texture_creator: &'a TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture_creator` is never read [INFO] [stdout] --> src/colorbuffer/colorbuffer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ColorBuffer<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | pub buffer: Vec, [INFO] [stdout] 12 | pub texture_creator: &'a TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `minimap_scale` is never read [INFO] [stdout] --> src/player/player.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub minimap_scale: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdl_context`, `video_subsystem`, and `texture_creator` are never read [INFO] [stdout] --> src/app/app.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct App<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub sdl_context: &'a sdl2::Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub video_subsystem: &'a sdl2::VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub texture_creator: &'a TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture_creator` is never read [INFO] [stdout] --> src/colorbuffer/colorbuffer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ColorBuffer<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | pub buffer: Vec, [INFO] [stdout] 12 | pub texture_creator: &'a TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `minimap_scale` is never read [INFO] [stdout] --> src/player/player.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub minimap_scale: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "4faddf69994e749758d65a9a117396e240feb8e7151130ad9c8416200850d2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4faddf69994e749758d65a9a117396e240feb8e7151130ad9c8416200850d2e4", kill_on_drop: false }` [INFO] [stdout] 4faddf69994e749758d65a9a117396e240feb8e7151130ad9c8416200850d2e4 [INFO] checking pedro-git-projects/raycasting-engine-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedro-git-projects%2Fraycasting-engine-rs" "/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/pedro-git-projects/raycasting-engine-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pedro-git-projects/raycasting-engine-rs [INFO] finished tweaking git repo https://github.com/pedro-git-projects/raycasting-engine-rs [INFO] tweaked toml for git repo https://github.com/pedro-git-projects/raycasting-engine-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pedro-git-projects/raycasting-engine-rs 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 725e671232c501dc137af5e87ed17f6829296fb549101a21328ed3ced810aaba [INFO] running `Command { std: "docker" "start" "-a" "725e671232c501dc137af5e87ed17f6829296fb549101a21328ed3ced810aaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "725e671232c501dc137af5e87ed17f6829296fb549101a21328ed3ced810aaba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "725e671232c501dc137af5e87ed17f6829296fb549101a21328ed3ced810aaba", kill_on_drop: false }` [INFO] [stdout] 725e671232c501dc137af5e87ed17f6829296fb549101a21328ed3ced810aaba [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed1d5591dfcf05dec9931abc8e43dbd1a0f0f6e3f691539fe9d61e749ec92d39 [INFO] running `Command { std: "docker" "start" "-a" "ed1d5591dfcf05dec9931abc8e43dbd1a0f0f6e3f691539fe9d61e749ec92d39", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling sdl2 v0.36.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.36.0 [INFO] [stderr] Checking raycasting v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `sdl_context`, `video_subsystem`, and `texture_creator` are never read [INFO] [stdout] --> src/app/app.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct App<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub sdl_context: &'a sdl2::Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub video_subsystem: &'a sdl2::VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub texture_creator: &'a TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture_creator` is never read [INFO] [stdout] --> src/colorbuffer/colorbuffer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ColorBuffer<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | pub buffer: Vec, [INFO] [stdout] 12 | pub texture_creator: &'a TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `minimap_scale` is never read [INFO] [stdout] --> src/player/player.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub minimap_scale: f64, [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/app/app.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 31 | let event_pump = sdl_context.event_pump()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let color_buffer = ColorBuffer::new(&texture_creator)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | [INFO] [stdout] 34 | Ok(App { [INFO] [stdout] | ____________^ [INFO] [stdout] 35 | | game: Game::default(), [INFO] [stdout] 36 | | player: Player::default(), [INFO] [stdout] 37 | | sdl_context, [INFO] [stdout] ... | [INFO] [stdout] 44 | | is_running: true, [INFO] [stdout] 45 | | }) [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] | [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/app/texture_owner.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 20 | let sdl_context = Self::build_context()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let video_subsystem = Self::build_video_subsystem(&sdl_context)?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let canvas = Self::build_canvas(&video_subsystem)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let texture_creator = Self::build_texture_creator(&canvas); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | sdl_context, [INFO] [stdout] 26 | | video_subsystem, [INFO] [stdout] 27 | | canvas, [INFO] [stdout] 28 | | texture_creator, [INFO] [stdout] 29 | | }) [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] | [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/app/texture_owner.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 53 | let window = video_subsystem [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | / window [INFO] [stdout] 61 | | .into_canvas() [INFO] [stdout] 62 | | .build() [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____________________| [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/colorbuffer/colorbuffer.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 20 | let texture = match texture_creator.create_texture_streaming( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | Ok(texture) => texture, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | buffer, [INFO] [stdout] 31 | | texture_creator, [INFO] [stdout] 32 | | texture, [INFO] [stdout] 33 | | }) [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sdl_context`, `video_subsystem`, and `texture_creator` are never read [INFO] [stdout] --> src/app/app.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct App<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub sdl_context: &'a sdl2::Sdl, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub video_subsystem: &'a sdl2::VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | pub texture_creator: &'a TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texture_creator` is never read [INFO] [stdout] --> src/colorbuffer/colorbuffer.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ColorBuffer<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 11 | pub buffer: Vec, [INFO] [stdout] 12 | pub texture_creator: &'a TextureCreator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `minimap_scale` is never read [INFO] [stdout] --> src/player/player.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Player { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub minimap_scale: f64, [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/app/app.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 31 | let event_pump = sdl_context.event_pump()?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let color_buffer = ColorBuffer::new(&texture_creator)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | [INFO] [stdout] 34 | Ok(App { [INFO] [stdout] | ____________^ [INFO] [stdout] 35 | | game: Game::default(), [INFO] [stdout] 36 | | player: Player::default(), [INFO] [stdout] 37 | | sdl_context, [INFO] [stdout] ... | [INFO] [stdout] 44 | | is_running: true, [INFO] [stdout] 45 | | }) [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] | [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/app/texture_owner.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 20 | let sdl_context = Self::build_context()?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | let video_subsystem = Self::build_video_subsystem(&sdl_context)?; [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | let canvas = Self::build_canvas(&video_subsystem)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let texture_creator = Self::build_texture_creator(&canvas); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | sdl_context, [INFO] [stdout] 26 | | video_subsystem, [INFO] [stdout] 27 | | canvas, [INFO] [stdout] 28 | | texture_creator, [INFO] [stdout] 29 | | }) [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] | [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/app/texture_owner.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 53 | let window = video_subsystem [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | / window [INFO] [stdout] 61 | | .into_canvas() [INFO] [stdout] 62 | | .build() [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____________________| [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/colorbuffer/colorbuffer.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 20 | let texture = match texture_creator.create_texture_streaming( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | Ok(texture) => texture, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | buffer, [INFO] [stdout] 31 | | texture_creator, [INFO] [stdout] 32 | | texture, [INFO] [stdout] 33 | | }) [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] [stderr] error: could not compile `raycasting` (bin "raycasting") due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raycasting` (bin "raycasting" test) due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed1d5591dfcf05dec9931abc8e43dbd1a0f0f6e3f691539fe9d61e749ec92d39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed1d5591dfcf05dec9931abc8e43dbd1a0f0f6e3f691539fe9d61e749ec92d39", kill_on_drop: false }` [INFO] [stdout] ed1d5591dfcf05dec9931abc8e43dbd1a0f0f6e3f691539fe9d61e749ec92d39