[INFO] updating cached repository alexandraorth/snake [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/alexandraorth/snake [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/alexandraorth/snake" "work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/alexandraorth/snake"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/alexandraorth/snake'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/alexandraorth/snake" "work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/alexandraorth/snake"` [INFO] [stderr] Cloning into 'work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/alexandraorth/snake'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 776a1f99328cfe3728ba60cfe8c908175b630d94 [INFO] sha for GitHub repo alexandraorth/snake: 776a1f99328cfe3728ba60cfe8c908175b630d94 [INFO] validating manifest of alexandraorth/snake on toolchain master#e305df1846a6d985315917ae0c81b74af8b4e641 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of alexandraorth/snake on toolchain try#99a7498759a22b5684caf798a98b7e90ad9d2443 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing alexandraorth/snake [INFO] finished frobbing alexandraorth/snake [INFO] frobbed toml for alexandraorth/snake written to work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/alexandraorth/snake/Cargo.toml [INFO] started frobbing alexandraorth/snake [INFO] finished frobbing alexandraorth/snake [INFO] frobbed toml for alexandraorth/snake written to work/ex/pr-60039-1/sources/try#99a7498759a22b5684caf798a98b7e90ad9d2443/gh/alexandraorth/snake/Cargo.toml [INFO] crate alexandraorth/snake already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+99a7498759a22b5684caf798a98b7e90ad9d2443-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking alexandraorth/snake against master#e305df1846a6d985315917ae0c81b74af8b4e641 for pr-60039-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-60039-1/worker-1/master#e305df1846a6d985315917ae0c81b74af8b4e641:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-60039-1/sources/master#e305df1846a6d985315917ae0c81b74af8b4e641/gh/alexandraorth/snake:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e305df1846a6d985315917ae0c81b74af8b4e641-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b04c8717d403f3a6921da070965dbb8b21a585186d981871af7e2bfce0528c4a [INFO] running `"docker" "start" "-a" "b04c8717d403f3a6921da070965dbb8b21a585186d981871af7e2bfce0528c4a"` [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking snake v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:42:34 [INFO] [stderr] | [INFO] [stderr] 39 | let head = self.body.front().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 42 | Direction::UP => self.body.push_front(Segment{x: head.x, y: head.y - 1, direction: Direction::UP}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: #[warn(mutable_borrow_reservation_conflict)] on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:43:34 [INFO] [stderr] | [INFO] [stderr] 39 | let head = self.body.front().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 43 | Direction::DOWN => self.body.push_front(Segment{x: head.x, y: head.y + 1, direction: Direction::DOWN}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:44:34 [INFO] [stderr] | [INFO] [stderr] 39 | let head = self.body.front().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 44 | Direction::RIGHT => self.body.push_front(Segment{x: head.x + 1, y: head.y, direction: Direction::RIGHT}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:45:34 [INFO] [stderr] | [INFO] [stderr] 39 | let head = self.body.front().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 45 | Direction::LEFT => self.body.push_front(Segment{x: head.x - 1, y: head.y, direction: Direction::LEFT}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:57:34 [INFO] [stderr] | [INFO] [stderr] 54 | let tail = self.body.back().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 57 | Direction::UP => self.body.push_back(Segment{x: tail.x, y: tail.y + 1, direction: Direction::UP}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:58:34 [INFO] [stderr] | [INFO] [stderr] 54 | let tail = self.body.back().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 58 | Direction::DOWN => self.body.push_back(Segment{x: tail.x, y: tail.y - 1, direction: Direction::DOWN}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:59:34 [INFO] [stderr] | [INFO] [stderr] 54 | let tail = self.body.back().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 59 | Direction::RIGHT => self.body.push_back(Segment{x: tail.x - 1, y: tail.y, direction: Direction::RIGHT}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:60:34 [INFO] [stderr] | [INFO] [stderr] 54 | let tail = self.body.back().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 60 | Direction::LEFT => self.body.push_back(Segment{x: tail.x + 1, y: tail.y, direction: Direction::LEFT}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:42:34 [INFO] [stderr] | [INFO] [stderr] 39 | let head = self.body.front().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 42 | Direction::UP => self.body.push_front(Segment{x: head.x, y: head.y - 1, direction: Direction::UP}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: #[warn(mutable_borrow_reservation_conflict)] on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:43:34 [INFO] [stderr] | [INFO] [stderr] 39 | let head = self.body.front().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 43 | Direction::DOWN => self.body.push_front(Segment{x: head.x, y: head.y + 1, direction: Direction::DOWN}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:44:34 [INFO] [stderr] | [INFO] [stderr] 39 | let head = self.body.front().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 44 | Direction::RIGHT => self.body.push_front(Segment{x: head.x + 1, y: head.y, direction: Direction::RIGHT}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:45:34 [INFO] [stderr] | [INFO] [stderr] 39 | let head = self.body.front().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 45 | Direction::LEFT => self.body.push_front(Segment{x: head.x - 1, y: head.y, direction: Direction::LEFT}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:57:34 [INFO] [stderr] | [INFO] [stderr] 54 | let tail = self.body.back().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 57 | Direction::UP => self.body.push_back(Segment{x: tail.x, y: tail.y + 1, direction: Direction::UP}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:58:34 [INFO] [stderr] | [INFO] [stderr] 54 | let tail = self.body.back().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 58 | Direction::DOWN => self.body.push_back(Segment{x: tail.x, y: tail.y - 1, direction: Direction::DOWN}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:59:34 [INFO] [stderr] | [INFO] [stderr] 54 | let tail = self.body.back().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 59 | Direction::RIGHT => self.body.push_back(Segment{x: tail.x - 1, y: tail.y, direction: Direction::RIGHT}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `self.body` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/snake.rs:60:34 [INFO] [stderr] | [INFO] [stderr] 54 | let tail = self.body.back().unwrap(); //TODO dont use unwrap [INFO] [stderr] | --------- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 60 | Direction::LEFT => self.body.push_back(Segment{x: tail.x + 1, y: tail.y, direction: Direction::LEFT}), [INFO] [stderr] | ^^^^^^^^^ ------ immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `"docker" "inspect" "b04c8717d403f3a6921da070965dbb8b21a585186d981871af7e2bfce0528c4a"` [INFO] running `"docker" "rm" "-f" "b04c8717d403f3a6921da070965dbb8b21a585186d981871af7e2bfce0528c4a"` [INFO] [stdout] b04c8717d403f3a6921da070965dbb8b21a585186d981871af7e2bfce0528c4a