[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] testing chris-hunt-98/sokoban-prototype-rust against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchris-hunt-98%2Fsokoban-prototype-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chris-hunt-98/sokoban-prototype-rust on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-3/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: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b1b1097d46b6927fb1ccc9717c034afda8127b6fb6c83b0428f000cf36ec152 [INFO] running `Command { std: "docker" "start" "-a" "5b1b1097d46b6927fb1ccc9717c034afda8127b6fb6c83b0428f000cf36ec152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b1b1097d46b6927fb1ccc9717c034afda8127b6fb6c83b0428f000cf36ec152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b1b1097d46b6927fb1ccc9717c034afda8127b6fb6c83b0428f000cf36ec152", kill_on_drop: false }` [INFO] [stdout] 5b1b1097d46b6927fb1ccc9717c034afda8127b6fb6c83b0428f000cf36ec152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f050dd40fbbe36c057310f241e0ecf62e776af056dcc863ccbfcd9cdb52b642 [INFO] running `Command { std: "docker" "start" "-a" "4f050dd40fbbe36c057310f241e0ecf62e776af056dcc863ccbfcd9cdb52b642", kill_on_drop: false }` [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 num-iter v0.1.37 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling sokoban-prototype v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling rand v0.3.22 [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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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: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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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] | ^^^^^^^^^^ help: use `dyn`: `dyn GameObject` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^ help: use `dyn`: `dyn GameObject` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn new(object: Box) -> DeletionDelta { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/main.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | fn new(object: &Box) -> CreationDelta { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Player` [INFO] [stdout] --> src/main.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Floor` [INFO] [stdout] --> src/main.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | Floor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 370 | fn delete(&mut self, layer: &Layer, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_id` [INFO] [stdout] --> src/main.rs:381:8 [INFO] [stdout] | [INFO] [stdout] 381 | fn delete_id(&mut self, layer: &Layer, id: usize, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put` [INFO] [stdout] --> src/main.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | fn put(&mut self, object: Box, delta: &mut DeltaFrame) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cell` [INFO] [stdout] --> src/main.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 529 | fn cell(&mut self, x: i32, y: i32) -> Option<&MapCell> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/main.rs:547:8 [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] [INFO] [stdout] warning: associated function is never used: `delete_id` [INFO] [stdout] --> src/main.rs:555:8 [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] [INFO] [stdout] warning: associated function is never used: `put` [INFO] [stdout] --> src/main.rs:580:8 [INFO] [stdout] | [INFO] [stdout] 580 | fn put(&mut self, object: Box, delta: &mut DeltaFrame) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.44s [INFO] running `Command { std: "docker" "inspect" "4f050dd40fbbe36c057310f241e0ecf62e776af056dcc863ccbfcd9cdb52b642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f050dd40fbbe36c057310f241e0ecf62e776af056dcc863ccbfcd9cdb52b642", kill_on_drop: false }` [INFO] [stdout] 4f050dd40fbbe36c057310f241e0ecf62e776af056dcc863ccbfcd9cdb52b642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 237cfb46603e5ae7230a958fffd9934e07daba0184adb8ff2d2e2df4d05d83b4 [INFO] running `Command { std: "docker" "start" "-a" "237cfb46603e5ae7230a958fffd9934e07daba0184adb8ff2d2e2df4d05d83b4", kill_on_drop: false }` [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] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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: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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [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] | ^^^^^^^^^^ help: use `dyn`: `dyn GameObject` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] | ^^^^^^^^^^ help: use `dyn`: `dyn GameObject` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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 was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:225:8 [INFO] [stdout] | [INFO] [stdout] 225 | fn new(object: Box) -> DeletionDelta { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/main.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/main.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | fn new(object: &Box) -> CreationDelta { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Player` [INFO] [stdout] --> src/main.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Floor` [INFO] [stdout] --> src/main.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | Floor, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/main.rs:370:8 [INFO] [stdout] | [INFO] [stdout] 370 | fn delete(&mut self, layer: &Layer, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_id` [INFO] [stdout] --> src/main.rs:381:8 [INFO] [stdout] | [INFO] [stdout] 381 | fn delete_id(&mut self, layer: &Layer, id: usize, delta: &mut DeltaFrame) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put` [INFO] [stdout] --> src/main.rs:421:8 [INFO] [stdout] | [INFO] [stdout] 421 | fn put(&mut self, object: Box, delta: &mut DeltaFrame) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cell` [INFO] [stdout] --> src/main.rs:529:8 [INFO] [stdout] | [INFO] [stdout] 529 | fn cell(&mut self, x: i32, y: i32) -> Option<&MapCell> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete` [INFO] [stdout] --> src/main.rs:547:8 [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] [INFO] [stdout] warning: associated function is never used: `delete_id` [INFO] [stdout] --> src/main.rs:555:8 [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] [INFO] [stdout] warning: associated function is never used: `put` [INFO] [stdout] --> src/main.rs:580:8 [INFO] [stdout] | [INFO] [stdout] 580 | fn put(&mut self, object: Box, delta: &mut DeltaFrame) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.46s [INFO] running `Command { std: "docker" "inspect" "237cfb46603e5ae7230a958fffd9934e07daba0184adb8ff2d2e2df4d05d83b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "237cfb46603e5ae7230a958fffd9934e07daba0184adb8ff2d2e2df4d05d83b4", kill_on_drop: false }` [INFO] [stdout] 237cfb46603e5ae7230a958fffd9934e07daba0184adb8ff2d2e2df4d05d83b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a99c1912f0faa5ae70c8d7876994ad454cf91d9707c713238bb68402b2ab668d [INFO] running `Command { std: "docker" "start" "-a" "a99c1912f0faa5ae70c8d7876994ad454cf91d9707c713238bb68402b2ab668d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/main.rs:42:29 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 42 | fn shift_pos(&mut self, (i32, i32), &mut DeltaFrame); [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: (i32, i32)` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/main.rs:42:41 [INFO] [stderr] | [INFO] [stderr] 42 | fn shift_pos(&mut self, (i32, i32), &mut DeltaFrame); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut DeltaFrame` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/main.rs:43:27 [INFO] [stderr] | [INFO] [stderr] 43 | fn set_pos(&mut self, (i32, i32)); [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: (i32, i32)` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/main.rs:44:20 [INFO] [stderr] | [INFO] [stderr] 44 | fn draw(&self, &mut WindowCanvas); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut WindowCanvas` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:47:26 [INFO] [stderr] | [INFO] [stderr] 47 | impl std::fmt::Debug for GameObject { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn GameObject` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:49:52 [INFO] [stderr] | [INFO] [stderr] 49 | write!(f, "Object at {:?}", self as *const GameObject) [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn GameObject` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stderr] --> src/main.rs:196:26 [INFO] [stderr] | [INFO] [stderr] 196 | fn revert(&mut self, &mut WorldMap); [INFO] [stderr] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut WorldMap` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/main.rs:225:8 [INFO] [stderr] | [INFO] [stderr] 225 | fn new(object: Box) -> DeletionDelta { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/main.rs:242:5 [INFO] [stderr] | [INFO] [stderr] 242 | id: usize, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/main.rs:248:8 [INFO] [stderr] | [INFO] [stderr] 248 | fn new(object: &Box) -> CreationDelta { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Player` [INFO] [stderr] --> src/main.rs:326:5 [INFO] [stderr] | [INFO] [stderr] 326 | Player, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Floor` [INFO] [stderr] --> src/main.rs:327:5 [INFO] [stderr] | [INFO] [stderr] 327 | Floor, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete` [INFO] [stderr] --> src/main.rs:370:8 [INFO] [stderr] | [INFO] [stderr] 370 | fn delete(&mut self, layer: &Layer, delta: &mut DeltaFrame) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete_id` [INFO] [stderr] --> src/main.rs:381:8 [INFO] [stderr] | [INFO] [stderr] 381 | fn delete_id(&mut self, layer: &Layer, id: usize, delta: &mut DeltaFrame) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `put` [INFO] [stderr] --> src/main.rs:421:8 [INFO] [stderr] | [INFO] [stderr] 421 | fn put(&mut self, object: Box, delta: &mut DeltaFrame) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cell` [INFO] [stderr] --> src/main.rs:529:8 [INFO] [stderr] | [INFO] [stderr] 529 | fn cell(&mut self, x: i32, y: i32) -> Option<&MapCell> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete` [INFO] [stderr] --> src/main.rs:547:8 [INFO] [stderr] | [INFO] [stderr] 547 | fn delete(&mut self, x: i32, y: i32, layer: &Layer, delta: &mut DeltaFrame) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete_id` [INFO] [stderr] --> src/main.rs:555:8 [INFO] [stderr] | [INFO] [stderr] 555 | fn delete_id(&mut self, x: i32, y: i32, layer: &Layer, id: usize, delta: &mut DeltaFrame) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `put` [INFO] [stderr] --> src/main.rs:580:8 [INFO] [stderr] | [INFO] [stderr] 580 | fn put(&mut self, object: Box, delta: &mut DeltaFrame) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: 19 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sokoban_prototype-c689aabe9e54edbc) [INFO] running `Command { std: "docker" "inspect" "a99c1912f0faa5ae70c8d7876994ad454cf91d9707c713238bb68402b2ab668d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99c1912f0faa5ae70c8d7876994ad454cf91d9707c713238bb68402b2ab668d", kill_on_drop: false }` [INFO] [stdout] a99c1912f0faa5ae70c8d7876994ad454cf91d9707c713238bb68402b2ab668d