[INFO] cloning repository https://github.com/chris-hunt-98/sokoban-prototype-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chris-hunt-98/sokoban-prototype-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchris-hunt-98%2Fsokoban-prototype-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchris-hunt-98%2Fsokoban-prototype-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50e8cd9e1f46ae9f83b0b0d75b93501de2aadc08 [INFO] building chris-hunt-98/sokoban-prototype-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchris-hunt-98%2Fsokoban-prototype-rust" "/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/chris-hunt-98/sokoban-prototype-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chris-hunt-98/sokoban-prototype-rust [INFO] finished tweaking git repo https://github.com/chris-hunt-98/sokoban-prototype-rust [INFO] tweaked toml for git repo https://github.com/chris-hunt-98/sokoban-prototype-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chris-hunt-98/sokoban-prototype-rust 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d399a686fc62e8283333f6a376073c1ae6d0ec76d71ed2b9435305ecdcff9031 [INFO] running `Command { std: "docker" "start" "-a" "d399a686fc62e8283333f6a376073c1ae6d0ec76d71ed2b9435305ecdcff9031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d399a686fc62e8283333f6a376073c1ae6d0ec76d71ed2b9435305ecdcff9031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d399a686fc62e8283333f6a376073c1ae6d0ec76d71ed2b9435305ecdcff9031", kill_on_drop: false }` [INFO] [stdout] d399a686fc62e8283333f6a376073c1ae6d0ec76d71ed2b9435305ecdcff9031 [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5815d7a0859fef42ae1f8af4ccc28918bfb37a295b54c210068a2a7d38d1ab2 [INFO] running `Command { std: "docker" "start" "-a" "a5815d7a0859fef42ae1f8af4ccc28918bfb37a295b54c210068a2a7d38d1ab2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling sokoban-prototype v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | fn shift_pos(&mut self, (i32, i32), &mut DeltaFrame); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: (i32, i32)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | fn shift_pos(&mut self, (i32, i32), &mut DeltaFrame); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut DeltaFrame` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn set_pos(&mut self, (i32, i32)); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: (i32, i32)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | fn draw(&self, &mut WindowCanvas); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut WindowCanvas` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | fn revert(&mut self, &mut WorldMap); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut WorldMap` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | impl std::fmt::Debug for GameObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | impl std::fmt::Debug for dyn GameObject { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "Object at {:?}", self as *const GameObject) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "Object at {:?}", self as *const dyn GameObject) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_pos` is never used [INFO] [stdout] --> src/main.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 35 | trait GameObject { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 43 | fn set_pos(&mut self, (i32, i32)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeletionDelta` is never constructed [INFO] [stdout] --> src/main.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | struct DeletionDelta { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 224 | impl DeletionDelta { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 225 | fn new(object: Box) -> DeletionDelta { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreationDelta` is never constructed [INFO] [stdout] --> src/main.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | struct CreationDelta { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 247 | impl CreationDelta { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 248 | fn new(object: &Box) -> CreationDelta { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Player` and `Floor` are never constructed [INFO] [stdout] --> src/main.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 324 | enum Layer { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 325 | Solid, [INFO] [stdout] 326 | Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 327 | Floor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete`, `delete_id`, `take`, and `put` are never used [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 347 | impl MapCell { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn delete(&mut self, layer: &Layer, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | fn delete_id(&mut self, layer: &Layer, id: usize, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn take(&mut self, layer: &Layer) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | fn put(&mut self, object: Box, delta: &mut DeltaFrame) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cell`, `delete`, `delete_id`, `take`, and `put` are never used [INFO] [stdout] --> src/main.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 439 | impl WorldMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 529 | fn cell(&mut self, x: i32, y: i32) -> Option<&MapCell> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | fn delete(&mut self, x: i32, y: i32, layer: &Layer, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | fn delete_id(&mut self, x: i32, y: i32, layer: &Layer, id: usize, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | fn take(&mut self, x: i32, y: i32, layer: &Layer) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | fn put(&mut self, object: Box, delta: &mut DeltaFrame) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.73s [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" "a5815d7a0859fef42ae1f8af4ccc28918bfb37a295b54c210068a2a7d38d1ab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5815d7a0859fef42ae1f8af4ccc28918bfb37a295b54c210068a2a7d38d1ab2", kill_on_drop: false }` [INFO] [stdout] a5815d7a0859fef42ae1f8af4ccc28918bfb37a295b54c210068a2a7d38d1ab2 [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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61514fbf9980a5d50f6ba60f6f6b7cd411c3ca0cd90c0b750775d77545a1364e [INFO] running `Command { std: "docker" "start" "-a" "61514fbf9980a5d50f6ba60f6f6b7cd411c3ca0cd90c0b750775d77545a1364e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling sokoban-prototype v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | fn shift_pos(&mut self, (i32, i32), &mut DeltaFrame); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: (i32, i32)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | fn shift_pos(&mut self, (i32, i32), &mut DeltaFrame); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut DeltaFrame` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn set_pos(&mut self, (i32, i32)); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: (i32, i32)` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | fn draw(&self, &mut WindowCanvas); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut WindowCanvas` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/main.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | fn revert(&mut self, &mut WorldMap); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut WorldMap` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | impl std::fmt::Debug for GameObject { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | impl std::fmt::Debug for dyn GameObject { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "Object at {:?}", self as *const GameObject) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "Object at {:?}", self as *const dyn GameObject) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_pos` is never used [INFO] [stdout] --> src/main.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 35 | trait GameObject { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 43 | fn set_pos(&mut self, (i32, i32)); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeletionDelta` is never constructed [INFO] [stdout] --> src/main.rs:220:8 [INFO] [stdout] | [INFO] [stdout] 220 | struct DeletionDelta { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 224 | impl DeletionDelta { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 225 | fn new(object: Box) -> DeletionDelta { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreationDelta` is never constructed [INFO] [stdout] --> src/main.rs:241:8 [INFO] [stdout] | [INFO] [stdout] 241 | struct CreationDelta { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 247 | impl CreationDelta { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 248 | fn new(object: &Box) -> CreationDelta { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Player` and `Floor` are never constructed [INFO] [stdout] --> src/main.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 324 | enum Layer { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 325 | Solid, [INFO] [stdout] 326 | Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 327 | Floor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete`, `delete_id`, `take`, and `put` are never used [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 347 | impl MapCell { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | fn delete(&mut self, layer: &Layer, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | fn delete_id(&mut self, layer: &Layer, id: usize, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | fn take(&mut self, layer: &Layer) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | fn put(&mut self, object: Box, delta: &mut DeltaFrame) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cell`, `delete`, `delete_id`, `take`, and `put` are never used [INFO] [stdout] --> src/main.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 439 | impl WorldMap { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 529 | fn cell(&mut self, x: i32, y: i32) -> Option<&MapCell> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | fn delete(&mut self, x: i32, y: i32, layer: &Layer, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | fn delete_id(&mut self, x: i32, y: i32, layer: &Layer, id: usize, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | fn take(&mut self, x: i32, y: i32, layer: &Layer) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | fn put(&mut self, object: Box, delta: &mut DeltaFrame) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [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" "61514fbf9980a5d50f6ba60f6f6b7cd411c3ca0cd90c0b750775d77545a1364e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61514fbf9980a5d50f6ba60f6f6b7cd411c3ca0cd90c0b750775d77545a1364e", kill_on_drop: false }` [INFO] [stdout] 61514fbf9980a5d50f6ba60f6f6b7cd411c3ca0cd90c0b750775d77545a1364e