[INFO] updating cached repository https://github.com/GirardR1006/Royal-game-of-Ur [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f8eeb2302d3ac268e6a87503d02cf7ac8daa18f2 [INFO] testing GirardR1006/Royal-game-of-Ur against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGirardR1006%2FRoyal-game-of-Ur" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GirardR1006/Royal-game-of-Ur on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/GirardR1006/Royal-game-of-Ur [INFO] finished tweaking git repo https://github.com/GirardR1006/Royal-game-of-Ur [INFO] tweaked toml for git repo https://github.com/GirardR1006/Royal-game-of-Ur written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/GirardR1006/Royal-game-of-Ur already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 70318dae53b1cc22de0614a26e1087d7573777a0e2d408c56ece292bcb8b177d [INFO] running `"docker" "start" "-a" "70318dae53b1cc22de0614a26e1087d7573777a0e2d408c56ece292bcb8b177d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling pistoncore-input v0.21.0 [INFO] [stderr] Compiling stb_truetype v0.2.8 [INFO] [stderr] Compiling rusttype v0.5.2 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling daggy v0.5.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling conrod_derive v0.1.2 [INFO] [stderr] Compiling conrod v0.61.1 [INFO] [stderr] Compiling royal_game_of_ur v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find value `p` in this scope [INFO] [stderr] --> src/main.rs:224:37 [INFO] [stderr] | [INFO] [stderr] 224 | ... 0 => Ok(p.safe_line[3] = Cell(p.safe_line[3].0,p_id)), [INFO] [stderr] | ^ help: a local variable with a similar name exists: `i` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `p` in this scope [INFO] [stderr] --> src/main.rs:224:59 [INFO] [stderr] | [INFO] [stderr] 224 | ... 0 => Ok(p.safe_line[3] = Cell(p.safe_line[3].0,p_id)), [INFO] [stderr] | ^ help: a local variable with a similar name exists: `i` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `p_id` in this scope [INFO] [stderr] --> src/main.rs:224:76 [INFO] [stderr] | [INFO] [stderr] 224 | ... 0 => Ok(p.safe_line[3] = Cell(p.safe_line[3].0,p_id)), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `p` in this scope [INFO] [stderr] --> src/main.rs:225:78 [INFO] [stderr] | [INFO] [stderr] 225 | ... i => match self.b_line[i-1].check_possible_move(&p) { [INFO] [stderr] | ^ help: a local variable with a similar name exists: `i` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `p_id` in this scope [INFO] [stderr] --> src/main.rs:228:65 [INFO] [stderr] | [INFO] [stderr] 228 | ... Cell(self.b_line[i-1].0,p_id)), [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:159:46 [INFO] [stderr] | [INFO] [stderr] 159 | match &c.check_possible_move(p) { [INFO] [stderr] | ^ expected enum `CellVal`, found struct `Player` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&CellVal` [INFO] [stderr] found reference `&Player` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:165:46 [INFO] [stderr] | [INFO] [stderr] 165 | match &c.check_possible_move(p) { [INFO] [stderr] | ^ expected enum `CellVal`, found struct `Player` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&CellVal` [INFO] [stderr] found reference `&Player` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:197:54 [INFO] [stderr] | [INFO] [stderr] 197 | None => self.place_new_token(p), [INFO] [stderr] | ^ expected enum `CellVal`, found struct `Player` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&CellVal` [INFO] [stderr] found mutable reference `&mut Player` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `safe_line` on type `&mut Player` [INFO] [stderr] --> src/main.rs:201:55 [INFO] [stderr] | [INFO] [stderr] 201 | Some(idx) => Ok(self.do_move(p,&mut p.safe_line[*idx])), [INFO] [stderr] | ^^^^^^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `points`, `id` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:217:44 [INFO] [stderr] | [INFO] [stderr] 217 | Ok(target_cell.1 = id) [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected enum `CellVal`, found `&CellVal` [INFO] [stderr] | help: consider dereferencing the borrow: `*id` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:297:38 [INFO] [stderr] | [INFO] [stderr] 297 | Game::place_new_token(&mut game, &mut game.p1); [INFO] [stderr] | ^^^^^^^^^^^^ expected enum `CellVal`, found struct `Player` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&CellVal` [INFO] [stderr] found mutable reference `&mut Player` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:300:38 [INFO] [stderr] | [INFO] [stderr] 300 | Game::place_new_token(&mut game, &mut game.p2); [INFO] [stderr] | ^^^^^^^^^^^^ expected enum `CellVal`, found struct `Player` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&CellVal` [INFO] [stderr] found mutable reference `&mut Player` [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `royal_game_of_ur`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "70318dae53b1cc22de0614a26e1087d7573777a0e2d408c56ece292bcb8b177d"` [INFO] running `"docker" "rm" "-f" "70318dae53b1cc22de0614a26e1087d7573777a0e2d408c56ece292bcb8b177d"` [INFO] [stdout] 70318dae53b1cc22de0614a26e1087d7573777a0e2d408c56ece292bcb8b177d