[INFO] cloning repository https://github.com/happenslol/n3-sdl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/happenslol/n3-sdl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappenslol%2Fn3-sdl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappenslol%2Fn3-sdl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6b6f44be1b5624d132919fd2ce7ceb3ea9a53e2 [INFO] checking happenslol/n3-sdl against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhappenslol%2Fn3-sdl" "/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/happenslol/n3-sdl 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/happenslol/n3-sdl [INFO] finished tweaking git repo https://github.com/happenslol/n3-sdl [INFO] tweaked toml for git repo https://github.com/happenslol/n3-sdl written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/happenslol/n3-sdl 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.1.36 [INFO] [stderr] Downloaded redox_syscall v0.1.16 [INFO] [stderr] Downloaded serde_derive v0.9.13 [INFO] [stderr] Downloaded num-traits v0.1.37 [INFO] [stderr] Downloaded itoa v0.3.1 [INFO] [stderr] Downloaded num-iter v0.1.33 [INFO] [stderr] Downloaded serde v0.9.13 [INFO] [stderr] Downloaded base64 v0.4.1 [INFO] [stderr] Downloaded byteorder v1.0.0 [INFO] [stderr] Downloaded lazy_static v0.2.4 [INFO] [stderr] Downloaded num v0.1.37 [INFO] [stderr] Downloaded sdl2-sys v0.27.2 [INFO] [stderr] Downloaded sdl2 v0.29.0 [INFO] [stderr] Downloaded num-integer v0.1.33 [INFO] [stderr] Downloaded serde_codegen_internals v0.14.2 [INFO] [stderr] Downloaded dtoa v0.4.1 [INFO] [stderr] Downloaded serde_json v0.9.9 [INFO] [stderr] Downloaded syn v0.11.10 [INFO] [stderr] Downloaded cgmath v0.13.1 [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] b4b575f33c2ee99e215758c2158cbe512e7d415d9f58a53d78aa055a9866be34 [INFO] running `Command { std: "docker" "start" "-a" "b4b575f33c2ee99e215758c2158cbe512e7d415d9f58a53d78aa055a9866be34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4b575f33c2ee99e215758c2158cbe512e7d415d9f58a53d78aa055a9866be34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b575f33c2ee99e215758c2158cbe512e7d415d9f58a53d78aa055a9866be34", kill_on_drop: false }` [INFO] [stdout] b4b575f33c2ee99e215758c2158cbe512e7d415d9f58a53d78aa055a9866be34 [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] e921e296661e0d4b1ad13744e26e1383a217441a9e67e119095753535afeeb31 [INFO] running `Command { std: "docker" "start" "-a" "e921e296661e0d4b1ad13744e26e1383a217441a9e67e119095753535afeeb31", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking dtoa v0.4.1 [INFO] [stderr] Checking itoa v0.3.1 [INFO] [stderr] Checking serde v0.9.13 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking lazy_static v0.2.4 [INFO] [stderr] Compiling syn v0.11.10 [INFO] [stderr] Checking base64 v0.4.1 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking num-integer v0.1.33 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking cgmath v0.13.1 [INFO] [stderr] Checking sdl2 v0.29.0 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.13 [INFO] [stderr] Checking serde_json v0.9.9 [INFO] [stderr] Checking n3-sdl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/context.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | self.render_buffer.sort_by_key(|e| e.z as i32);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/context.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | self.render_buffer.sort_by_key(|e| e.z as i32);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(mut ctx: &mut Context) -> GameScene { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | fn draw(&self, mut ctx: &mut Context, a: f32) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(mut ctx: &mut Context) -> GameScene { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | fn draw(&self, mut ctx: &mut Context, a: f32) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/player.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn draw(&self, mut ctx: &mut Context, a: f32) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/player.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn draw(&self, mut ctx: &mut Context, a: f32) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tilemap/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(mut ctx: &mut Context) -> Tilemap { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tilemap/mod.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn draw(&self, mut ctx: &mut Context) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/sprite/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tilemap/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(mut ctx: &mut Context) -> Tilemap { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tilemap/mod.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn draw(&self, mut ctx: &mut Context) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/sprite/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e921e296661e0d4b1ad13744e26e1383a217441a9e67e119095753535afeeb31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e921e296661e0d4b1ad13744e26e1383a217441a9e67e119095753535afeeb31", kill_on_drop: false }` [INFO] [stdout] e921e296661e0d4b1ad13744e26e1383a217441a9e67e119095753535afeeb31 [INFO] checking happenslol/n3-sdl 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%2Fhappenslol%2Fn3-sdl" "/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/happenslol/n3-sdl 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/happenslol/n3-sdl [INFO] finished tweaking git repo https://github.com/happenslol/n3-sdl [INFO] tweaked toml for git repo https://github.com/happenslol/n3-sdl written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/happenslol/n3-sdl 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] 45f09ca133787d205021302911d876e0f67bfe2b1b9edb7b0e6e4cac82667c37 [INFO] running `Command { std: "docker" "start" "-a" "45f09ca133787d205021302911d876e0f67bfe2b1b9edb7b0e6e4cac82667c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45f09ca133787d205021302911d876e0f67bfe2b1b9edb7b0e6e4cac82667c37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45f09ca133787d205021302911d876e0f67bfe2b1b9edb7b0e6e4cac82667c37", kill_on_drop: false }` [INFO] [stdout] 45f09ca133787d205021302911d876e0f67bfe2b1b9edb7b0e6e4cac82667c37 [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] cba351759dfff114f2c18c555115e2838ea733950f635ec3482893c77539c262 [INFO] running `Command { std: "docker" "start" "-a" "cba351759dfff114f2c18c555115e2838ea733950f635ec3482893c77539c262", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling sdl2-sys v0.27.2 [INFO] [stderr] Checking lazy_static v0.2.4 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking serde v0.9.13 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking itoa v0.3.1 [INFO] [stderr] Checking dtoa v0.4.1 [INFO] [stderr] Compiling syn v0.11.10 [INFO] [stderr] Checking base64 v0.4.1 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking num-integer v0.1.33 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking sdl2 v0.29.0 [INFO] [stderr] Checking cgmath v0.13.1 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.13 [INFO] [stderr] Checking serde_json v0.9.9 [INFO] [stderr] Checking n3-sdl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/context.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | self.render_buffer.sort_by_key(|e| e.z as i32);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/context.rs:132:56 [INFO] [stdout] | [INFO] [stdout] 132 | self.render_buffer.sort_by_key(|e| e.z as i32);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(mut ctx: &mut Context) -> GameScene { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(mut ctx: &mut Context) -> GameScene { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | fn draw(&self, mut ctx: &mut Context, a: f32) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scene/game_scene.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | fn draw(&self, mut ctx: &mut Context, a: f32) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/player.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn draw(&self, mut ctx: &mut Context, a: f32) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/entity/player.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn draw(&self, mut ctx: &mut Context, a: f32) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tilemap/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(mut ctx: &mut Context) -> Tilemap { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tilemap/mod.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn draw(&self, mut ctx: &mut Context) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tilemap/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(mut ctx: &mut Context) -> Tilemap { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tilemap/mod.rs:85:24 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn draw(&self, mut ctx: &mut Context) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scale` is never read [INFO] [stdout] --> src/sprite/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, 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/types.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 31 | z: f32, tex: Rc>) -> RenderInfo { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | renderable: Renderable::Texture { src: src, src_size: src_size, tex: tex } [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/context.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 37 | let sdl_context = super::sdl2::init().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let video = sdl_context.video().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let _image_context = super::sdl2::image::init(INIT_PNG).unwrap(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | let window = video.window("n3-ctx", WINDOW_W, WINDOW_H) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let sc = SpriteCache::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | events: sdl_context.event_pump().unwrap(), [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/context.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 37 | let sdl_context = super::sdl2::init().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let video = sdl_context.video().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let _image_context = super::sdl2::image::init(INIT_PNG).unwrap(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | let window = video.window("n3-ctx", WINDOW_W, WINDOW_H) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let sc = SpriteCache::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | renderer: window.renderer().accelerated().build().unwrap(), [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/context.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 37 | let sdl_context = super::sdl2::init().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let video = sdl_context.video().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let _image_context = super::sdl2::image::init(INIT_PNG).unwrap(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | let window = video.window("n3-ctx", WINDOW_W, WINDOW_H) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let sc = SpriteCache::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | render_buffer: Vec::new() [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/context.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 107 | let tex = self.renderer.load_texture(Path::new(&path)).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Rc::new(RefCell::new(tex)) [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] warning: field `scale` is never read [INFO] [stdout] --> src/sprite/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Sprite { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sprite` has a derived impl for the trait `Clone`, 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/types.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 31 | z: f32, tex: Rc>) -> RenderInfo { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | renderable: Renderable::Texture { src: src, src_size: src_size, tex: tex } [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/context.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 37 | let sdl_context = super::sdl2::init().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let video = sdl_context.video().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let _image_context = super::sdl2::image::init(INIT_PNG).unwrap(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | let window = video.window("n3-ctx", WINDOW_W, WINDOW_H) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let sc = SpriteCache::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | events: sdl_context.event_pump().unwrap(), [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/context.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 37 | let sdl_context = super::sdl2::init().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let video = sdl_context.video().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let _image_context = super::sdl2::image::init(INIT_PNG).unwrap(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | let window = video.window("n3-ctx", WINDOW_W, WINDOW_H) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let sc = SpriteCache::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | renderer: window.renderer().accelerated().build().unwrap(), [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/context.rs:57:28 [INFO] [stdout] | [INFO] [stdout] 37 | let sdl_context = super::sdl2::init().unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let video = sdl_context.video().unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let _image_context = super::sdl2::image::init(INIT_PNG).unwrap(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | [INFO] [stdout] 41 | let window = video.window("n3-ctx", WINDOW_W, WINDOW_H) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | let sc = SpriteCache::new(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | render_buffer: Vec::new() [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/context.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 107 | let tex = self.renderer.load_texture(Path::new(&path)).unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Rc::new(RefCell::new(tex)) [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/tilemap/object.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 40 | let tex = imagesets[imageset_id].get_tex_for_gid(gid); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | if !tex.is_some() { return None; } [INFO] [stdout] 42 | let tex = tex.unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Some(TileObject { [INFO] [stdout] | ______________^ [INFO] [stdout] 46 | | pos: Point::new(data.x, data.y - data.height as f32), [INFO] [stdout] 47 | | size: Size::new(data.width as f32, data.height as f32), [INFO] [stdout] 48 | | src: Point::new(0.0, 0.0), [INFO] [stdout] 49 | | src_size: Size::new(tex_info.width as f32, tex_info.height as f32), [INFO] [stdout] 50 | | tex: tex.clone() [INFO] [stdout] 51 | | }) [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/util.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_json(mut file: File) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | match super::serde_json::from_str(&content) { [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/tilemap/object.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 40 | let tex = imagesets[imageset_id].get_tex_for_gid(gid); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | if !tex.is_some() { return None; } [INFO] [stdout] 42 | let tex = tex.unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 45 | Some(TileObject { [INFO] [stdout] | ______________^ [INFO] [stdout] 46 | | pos: Point::new(data.x, data.y - data.height as f32), [INFO] [stdout] 47 | | size: Size::new(data.width as f32, data.height as f32), [INFO] [stdout] 48 | | src: Point::new(0.0, 0.0), [INFO] [stdout] 49 | | src_size: Size::new(tex_info.width as f32, tex_info.height as f32), [INFO] [stdout] 50 | | tex: tex.clone() [INFO] [stdout] 51 | | }) [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/util.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_json(mut file: File) -> Result [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 20 | match super::serde_json::from_str(&content) { [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 7 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `n3-sdl` (bin "n3-sdl" test) due to 8 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `n3-sdl` (bin "n3-sdl") due to 8 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cba351759dfff114f2c18c555115e2838ea733950f635ec3482893c77539c262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba351759dfff114f2c18c555115e2838ea733950f635ec3482893c77539c262", kill_on_drop: false }` [INFO] [stdout] cba351759dfff114f2c18c555115e2838ea733950f635ec3482893c77539c262