[INFO] cloning repository https://github.com/quadruple-output/game-2048-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quadruple-output/game-2048-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquadruple-output%2Fgame-2048-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquadruple-output%2Fgame-2048-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90be6c84a6d765f3515de04936495d4275e6315b [INFO] testing quadruple-output/game-2048-rust against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquadruple-output%2Fgame-2048-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/quadruple-output/game-2048-rust [INFO] finished tweaking git repo https://github.com/quadruple-output/game-2048-rust [INFO] tweaked toml for git repo https://github.com/quadruple-output/game-2048-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/quadruple-output/game-2048-rust on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/quadruple-output/game-2048-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-deque v0.7.4 [INFO] [stderr] Downloaded termios v0.3.3 [INFO] [stderr] Downloaded stderrlog v0.4.3 [INFO] [stderr] Downloaded clicolors-control v1.0.1 [INFO] [stderr] Downloaded ncurses v5.101.0 [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded console v0.10.3 [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] [stderr] Downloaded termion v1.5.6 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6f9fb06c66f86206195ed13dfaadd5d4e4dcf6ceccfb963a23e580bb7c3b340 [INFO] running `Command { std: "docker" "start" "-a" "c6f9fb06c66f86206195ed13dfaadd5d4e4dcf6ceccfb963a23e580bb7c3b340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6f9fb06c66f86206195ed13dfaadd5d4e4dcf6ceccfb963a23e580bb7c3b340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6f9fb06c66f86206195ed13dfaadd5d4e4dcf6ceccfb963a23e580bb7c3b340", kill_on_drop: false }` [INFO] [stdout] c6f9fb06c66f86206195ed13dfaadd5d4e4dcf6ceccfb963a23e580bb7c3b340 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4a32d8491bdbadf6832caa922be0a8034c0a856fffdeac11ea2a136ffbb3fd8 [INFO] running `Command { std: "docker" "start" "-a" "f4a32d8491bdbadf6832caa922be0a8034c0a856fffdeac11ea2a136ffbb3fd8", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling stderrlog v0.4.3 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling console v0.10.3 [INFO] [stderr] Compiling game2048 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | fn game(&self) -> Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn game(&self) -> Ref<'_, Game>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | fn mut_game(&self) -> RefMut; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn mut_game(&self) -> RefMut<'_, Game>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/console.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | fn game(&self) -> Ref { self.game.borrow() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn game(&self) -> Ref<'_, Game> { self.game.borrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/console.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | fn mut_game(&self) -> RefMut { self.game.borrow_mut() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn mut_game(&self) -> RefMut<'_, Game> { self.game.borrow_mut() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/ncurses.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | fn game(&self) -> Ref { self.game.borrow() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn game(&self) -> Ref<'_, Game> { self.game.borrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/ncurses.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | fn mut_game(&self) -> RefMut { self.game.borrow_mut() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | fn mut_game(&self) -> RefMut<'_, Game> { self.game.borrow_mut() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/board.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | fn slice_in_direction(&mut self, direction: Vector) -> Vec { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | fn slice_in_direction(&mut self, direction: Vector) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/views/console.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(game: &RefCell) -> ConsoleView { [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(game: &RefCell) -> ConsoleView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.15s [INFO] running `Command { std: "docker" "inspect" "f4a32d8491bdbadf6832caa922be0a8034c0a856fffdeac11ea2a136ffbb3fd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a32d8491bdbadf6832caa922be0a8034c0a856fffdeac11ea2a136ffbb3fd8", kill_on_drop: false }` [INFO] [stdout] f4a32d8491bdbadf6832caa922be0a8034c0a856fffdeac11ea2a136ffbb3fd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c58a73701d9a296cd581caa6cc5a629bc0dd68df35de255902d07ea40ce0baf [INFO] running `Command { std: "docker" "start" "-a" "7c58a73701d9a296cd581caa6cc5a629bc0dd68df35de255902d07ea40ce0baf", kill_on_drop: false }` [INFO] [stderr] Compiling game2048 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | fn game(&self) -> Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn game(&self) -> Ref<'_, Game>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | fn mut_game(&self) -> RefMut; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn mut_game(&self) -> RefMut<'_, Game>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/console.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | fn game(&self) -> Ref { self.game.borrow() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn game(&self) -> Ref<'_, Game> { self.game.borrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/console.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | fn mut_game(&self) -> RefMut { self.game.borrow_mut() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn mut_game(&self) -> RefMut<'_, Game> { self.game.borrow_mut() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/ncurses.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | fn game(&self) -> Ref { self.game.borrow() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn game(&self) -> Ref<'_, Game> { self.game.borrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/ncurses.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | fn mut_game(&self) -> RefMut { self.game.borrow_mut() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | fn mut_game(&self) -> RefMut<'_, Game> { self.game.borrow_mut() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/board.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | fn slice_in_direction(&mut self, direction: Vector) -> Vec { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | fn slice_in_direction(&mut self, direction: Vector) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/views/console.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(game: &RefCell) -> ConsoleView { [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(game: &RefCell) -> ConsoleView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | fn game(&self) -> Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | fn game(&self) -> Ref<'_, Game>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | fn mut_game(&self) -> RefMut; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn mut_game(&self) -> RefMut<'_, Game>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/console.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | fn game(&self) -> Ref { self.game.borrow() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 23 | fn game(&self) -> Ref<'_, Game> { self.game.borrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/console.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | fn mut_game(&self) -> RefMut { self.game.borrow_mut() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn mut_game(&self) -> RefMut<'_, Game> { self.game.borrow_mut() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/ncurses.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | fn game(&self) -> Ref { self.game.borrow() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | fn game(&self) -> Ref<'_, Game> { self.game.borrow() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/controllers/ncurses.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | fn mut_game(&self) -> RefMut { self.game.borrow_mut() } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 27 | fn mut_game(&self) -> RefMut<'_, Game> { self.game.borrow_mut() } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/game/board.rs:150:25 [INFO] [stdout] | [INFO] [stdout] 150 | fn slice_in_direction(&mut self, direction: Vector) -> Vec { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | fn slice_in_direction(&mut self, direction: Vector) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/views/console.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(game: &RefCell) -> ConsoleView { [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(game: &RefCell) -> ConsoleView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "7c58a73701d9a296cd581caa6cc5a629bc0dd68df35de255902d07ea40ce0baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c58a73701d9a296cd581caa6cc5a629bc0dd68df35de255902d07ea40ce0baf", kill_on_drop: false }` [INFO] [stdout] 7c58a73701d9a296cd581caa6cc5a629bc0dd68df35de255902d07ea40ce0baf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] feaa9a774da385c35cf7decde563b6bb34f7fb71c1a8576300cc922535ed2dc1 [INFO] running `Command { std: "docker" "start" "-a" "feaa9a774da385c35cf7decde563b6bb34f7fb71c1a8576300cc922535ed2dc1", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/controllers.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | fn game(&self) -> Ref; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 17 | fn game(&self) -> Ref<'_, Game>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/controllers.rs:19:15 [INFO] [stderr] | [INFO] [stderr] 19 | fn mut_game(&self) -> RefMut; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 19 | fn mut_game(&self) -> RefMut<'_, Game>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/controllers/console.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | fn game(&self) -> Ref { self.game.borrow() } [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 23 | fn game(&self) -> Ref<'_, Game> { self.game.borrow() } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/controllers/console.rs:25:15 [INFO] [stderr] | [INFO] [stderr] 25 | fn mut_game(&self) -> RefMut { self.game.borrow_mut() } [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 25 | fn mut_game(&self) -> RefMut<'_, Game> { self.game.borrow_mut() } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/controllers/ncurses.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | fn game(&self) -> Ref { self.game.borrow() } [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 25 | fn game(&self) -> Ref<'_, Game> { self.game.borrow() } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/controllers/ncurses.rs:27:15 [INFO] [stderr] | [INFO] [stderr] 27 | fn mut_game(&self) -> RefMut { self.game.borrow_mut() } [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 27 | fn mut_game(&self) -> RefMut<'_, Game> { self.game.borrow_mut() } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/game/board.rs:150:25 [INFO] [stderr] | [INFO] [stderr] 150 | fn slice_in_direction(&mut self, direction: Vector) -> Vec { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 150 | fn slice_in_direction(&mut self, direction: Vector) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/views/console.rs:20:20 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new(game: &RefCell) -> ConsoleView { [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new(game: &RefCell) -> ConsoleView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `game2048` (lib) generated 8 warnings (run `cargo fix --lib -p game2048` to apply 8 suggestions) [INFO] [stderr] warning: `game2048` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/game2048-32d0ede431077014) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test game::board::test::shift_0_0_2_0 ... ok [INFO] [stdout] test game::board::test::shift_0_2_0_2 ... ok [INFO] [stdout] test game::board::test::shift_2_0_0_2 ... ok [INFO] [stdout] test game::board::test::shift_0_2_0_0 ... ok [INFO] [stdout] test game::board::test::shift_0_0_2_2 ... ok [INFO] [stdout] test game::board::test::shift_4_0_2_2 ... ok [INFO] [stdout] test game::board::test::shift_4_2_2_0 ... ok [INFO] [stdout] test game::board::test::shift_2_0_2_2 ... ok [INFO] [stdout] test game::board::test::shift_2_2_2_2 ... ok [INFO] [stdout] test game::board::test::shift_impossible ... ok [INFO] [stdout] test game::board::test::shift_4_2_2_2 ... ok [INFO] [stdout] test game::board::test::shift_4_0_2_0 ... ok [INFO] [stdout] test game::board::test::shift_0_2_2_2 ... ok [INFO] [stdout] test game::board::test::shift_2_0_0_0 ... ok [INFO] [stdout] test game::board::test::shift_empty_board ... ok [INFO] [stdout] test game::board::test::shift_4_2_0_2 ... ok [INFO] [stdout] test game::board::test::shift_4_2_2_4 ... ok [INFO] [stdout] test game::board::test::shift_8_4_0_2 ... ok [INFO] [stdout] test game::board::test::shift_2_0_0_4 ... ok [INFO] [stdout] test game::board::test::shift_2_2_0_0 ... ok [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/game2048-326a16b7c39f0e1c) [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests game2048 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "feaa9a774da385c35cf7decde563b6bb34f7fb71c1a8576300cc922535ed2dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "feaa9a774da385c35cf7decde563b6bb34f7fb71c1a8576300cc922535ed2dc1", kill_on_drop: false }` [INFO] [stdout] feaa9a774da385c35cf7decde563b6bb34f7fb71c1a8576300cc922535ed2dc1