[INFO] cloning repository https://github.com/ericlobdell/citybuilder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericlobdell/citybuilder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericlobdell%2Fcitybuilder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericlobdell%2Fcitybuilder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fa4c5ad53cbb5ccade6aef750c84504b567537a [INFO] testing ericlobdell/citybuilder against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericlobdell%2Fcitybuilder" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ericlobdell/citybuilder on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ericlobdell/citybuilder [INFO] finished tweaking git repo https://github.com/ericlobdell/citybuilder [INFO] tweaked toml for git repo https://github.com/ericlobdell/citybuilder written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/ericlobdell/citybuilder already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a998997aa6d327e4aa2b00d24bbbdc14153a74a180f50085bcd68461ec55ef3b [INFO] running `Command { std: "docker" "start" "-a" "a998997aa6d327e4aa2b00d24bbbdc14153a74a180f50085bcd68461ec55ef3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a998997aa6d327e4aa2b00d24bbbdc14153a74a180f50085bcd68461ec55ef3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a998997aa6d327e4aa2b00d24bbbdc14153a74a180f50085bcd68461ec55ef3b", kill_on_drop: false }` [INFO] [stdout] a998997aa6d327e4aa2b00d24bbbdc14153a74a180f50085bcd68461ec55ef3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f4336be152c644c25ee6fb0aad33046f1757c8d445a95942bb11ff92cb08a012 [INFO] running `Command { std: "docker" "start" "-a" "f4336be152c644c25ee6fb0aad33046f1757c8d445a95942bb11ff92cb08a012", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling citybuilder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Soil` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Soil, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TerrainGround` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stone` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Stone [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TerrainGround` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Tree` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Tree, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TerrainBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Soil` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Soil, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TerrainBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stone` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Stone [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `TerrainBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Orc` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Orc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `Being` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Human` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Human [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Being` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(PartialEq, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Square` [INFO] [stdout] --> src/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Square { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Grid` [INFO] [stdout] --> src/main.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct Grid { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Direction` [INFO] [stdout] --> src/main.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoBeingInSquare` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | NoBeingInSquare, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MovementError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(PartialEq,Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SquareOffGrid` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | SquareOffGrid, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MovementError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(PartialEq,Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SquareOccupied` [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | SquareOccupied, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MovementError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(PartialEq,Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StoneTerrain` [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | StoneTerrain [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MovementError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(PartialEq,Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_being_in_coord` [INFO] [stdout] --> src/main.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn move_being_in_coord(&self, coord: (usize,usize), dir: Direction) -> Result<(usize,usize), MovementError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_empty` [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn generate_empty(size_x: usize, size_y: usize) -> Grid { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.50s [INFO] running `Command { std: "docker" "inspect" "f4336be152c644c25ee6fb0aad33046f1757c8d445a95942bb11ff92cb08a012", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4336be152c644c25ee6fb0aad33046f1757c8d445a95942bb11ff92cb08a012", kill_on_drop: false }` [INFO] [stdout] f4336be152c644c25ee6fb0aad33046f1757c8d445a95942bb11ff92cb08a012 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b1689153b2171e5ad3e8066a3f8ced7c95bcfffafc641cf1b05bd3965979b5b5 [INFO] running `Command { std: "docker" "start" "-a" "b1689153b2171e5ad3e8066a3f8ced7c95bcfffafc641cf1b05bd3965979b5b5", kill_on_drop: false }` [INFO] [stderr] Compiling citybuilder v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0596]: cannot borrow `grid.squares` as mutable, as `grid` is not declared as mutable [INFO] [stdout] --> src/main.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 114 | let grid = ::Grid::generate_empty(3, 3); [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut grid` [INFO] [stdout] ... [INFO] [stdout] 127 | grid.squares[0] = stoneSqure; [INFO] [stdout] | ^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `grid.squares` as mutable, as `grid` is not declared as mutable [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 114 | let grid = ::Grid::generate_empty(3, 3); [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut grid` [INFO] [stdout] ... [INFO] [stdout] 128 | grid.squares[1] = playerSquare; [INFO] [stdout] | ^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `citybuilder` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "b1689153b2171e5ad3e8066a3f8ced7c95bcfffafc641cf1b05bd3965979b5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1689153b2171e5ad3e8066a3f8ced7c95bcfffafc641cf1b05bd3965979b5b5", kill_on_drop: false }` [INFO] [stdout] b1689153b2171e5ad3e8066a3f8ced7c95bcfffafc641cf1b05bd3965979b5b5