[INFO] cloning repository https://github.com/eguneys/sazan_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eguneys/sazan_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feguneys%2Fsazan_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feguneys%2Fsazan_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 493afb3ea973f6c82285e4dd31261f5d462c0be7
[INFO] testing eguneys/sazan_rust against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feguneys%2Fsazan_rust" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/eguneys/sazan_rust on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/eguneys/sazan_rust
[INFO] finished tweaking git repo https://github.com/eguneys/sazan_rust
[INFO] tweaked toml for git repo https://github.com/eguneys/sazan_rust written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/eguneys/sazan_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8bb5cacaeab4a1dc78e7d9dc314746960e6f74a2de155e2ddb51700cc8efa984
[INFO] running `Command { std: "docker" "start" "-a" "8bb5cacaeab4a1dc78e7d9dc314746960e6f74a2de155e2ddb51700cc8efa984", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8bb5cacaeab4a1dc78e7d9dc314746960e6f74a2de155e2ddb51700cc8efa984", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8bb5cacaeab4a1dc78e7d9dc314746960e6f74a2de155e2ddb51700cc8efa984", kill_on_drop: false }`
[INFO] [stdout] 8bb5cacaeab4a1dc78e7d9dc314746960e6f74a2de155e2ddb51700cc8efa984
[INFO] running `Command { std: "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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9d2858a8e86c98228a06930490877ba82c6b5617b1cf9f5b343cc23f72fc59d0
[INFO] running `Command { std: "docker" "start" "-a" "9d2858a8e86c98228a06930490877ba82c6b5617b1cf9f5b343cc23f72fc59d0", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling sazan v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:171:24
[INFO] [stdout]     |
[INFO] [stdout] 171 |                     if (self.pos(ray.orig.1).is_some()) {
[INFO] [stdout]     |                        ^                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 171 -                     if (self.pos(ray.orig.1).is_some()) {
[INFO] [stdout] 171 +                     if self.pos(ray.orig.1).is_some() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `orig` and `between` are never read
[INFO] [stdout]   --> src/main.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | struct Ray {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] 31 |     orig: HasOrigDest,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 32 |     between: Vec<Pos>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]    = note: `Ray` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `UP2` and `DOWN2` are never constructed
[INFO] [stdout]   --> src/main.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | enum Idir {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 40 |     UP2,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 41 |     DOWN2
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Idir` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `King`, `Queen`, `Rook`, `Bishop`, `Knight` and `Pawn` are never constructed
[INFO] [stdout]   --> src/main.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | enum Role {
[INFO] [stdout]    |      ---- variants in this enum
[INFO] [stdout] 51 |     King,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 52 |     Queen,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 53 |     Rook,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 54 |     Bishop,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 55 |     Knight,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 56 |     Pawn
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Role` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PromotingRole` is never used
[INFO] [stdout]   --> src/main.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 | enum PromotingRole {
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `HasBlocks` is never used
[INFO] [stdout]   --> src/main.rs:76:1
[INFO] [stdout]    |
[INFO] [stdout] 76 | type HasBlocks = Vec<Pos>;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `HasCapture` is never used
[INFO] [stdout]   --> src/main.rs:77:1
[INFO] [stdout]    |
[INFO] [stdout] 77 | type HasCapture = Pos;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `HasPromote` is never used
[INFO] [stdout]   --> src/main.rs:78:1
[INFO] [stdout]    |
[INFO] [stdout] 78 | type HasPromote = PromotingRole;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Mobility` is never used
[INFO] [stdout]   --> src/main.rs:80:6
[INFO] [stdout]    |
[INFO] [stdout] 80 | enum Mobility {
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `White` and `Black` are never constructed
[INFO] [stdout]    --> src/main.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | enum Color {
[INFO] [stdout]     |      ----- variants in this enum
[INFO] [stdout] 111 |     White,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 112 |     Black
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Color` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `color` and `role` are never read
[INFO] [stdout]    --> src/main.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 116 | struct Piece {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] 117 |     color: Color,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 118 |     role: Role
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Piece` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Board` is never constructed
[INFO] [stdout]    --> src/main.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | struct Board(PosMap<Option<Piece>>);
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `to_sliding` is never used
[INFO] [stdout]    --> src/main.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 |     fn to_sliding(self) -> Option<SlidingRole> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `empty` is never used
[INFO] [stdout]    --> src/main.rs:137:8
[INFO] [stdout]     |
[INFO] [stdout] 137 |     fn empty() -> Board {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `drop` is never used
[INFO] [stdout]    --> src/main.rs:141:8
[INFO] [stdout]     |
[INFO] [stdout] 141 |     fn drop(mut self, pos: Pos, piece: Piece) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pickup` is never used
[INFO] [stdout]    --> src/main.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn pickup(mut self, pos: Pos) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pos` is never used
[INFO] [stdout]    --> src/main.rs:149:8
[INFO] [stdout]     |
[INFO] [stdout] 149 |     fn pos(&self, pos: Pos) -> Option<Piece> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `pawn_push` is never used
[INFO] [stdout]    --> src/main.rs:154:8
[INFO] [stdout]     |
[INFO] [stdout] 154 |     fn pawn_push(&self, pos: Pos, color: Color) -> Vec<Mobility> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `sliding` is never used
[INFO] [stdout]    --> src/main.rs:184:8
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn sliding(&self, pos: Pos, role: SlidingRole) -> Vec<Mobility> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ALL_COLORS` is never used
[INFO] [stdout]    --> src/main.rs:348:1
[INFO] [stdout]     |
[INFO] [stdout] 348 | / const ALL_COLORS: ColorMap<Color> = [
[INFO] [stdout] 349 | |     Color::White,
[INFO] [stdout] 350 | |     Color::Black
[INFO] [stdout] 351 | | ];
[INFO] [stdout]     | |__^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PAWN_PUSH_RAYS` is never used
[INFO] [stdout]    --> src/main.rs:353:1
[INFO] [stdout]     |
[INFO] [stdout] 353 | / const PAWN_PUSH_RAYS: Lazy<ColorMap<PosMap<Vec<Ray>>>> = Lazy::new(|| {
[INFO] [stdout] 354 | |
[INFO] [stdout] 355 | |     
[INFO] [stdout] 356 | |     let one_projection: Vec<Projection> = vec!(1);
[INFO] [stdout] ...   |
[INFO] [stdout] 385 | |
[INFO] [stdout] 386 | | });
[INFO] [stdout]     | |___^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.17s
[INFO] running `Command { std: "docker" "inspect" "9d2858a8e86c98228a06930490877ba82c6b5617b1cf9f5b343cc23f72fc59d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d2858a8e86c98228a06930490877ba82c6b5617b1cf9f5b343cc23f72fc59d0", kill_on_drop: false }`
[INFO] [stdout] 9d2858a8e86c98228a06930490877ba82c6b5617b1cf9f5b343cc23f72fc59d0
[INFO] running `Command { std: "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" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 784bc3673dafa0dd8e606f20e19867baf155ce3fd11eb75ec45cf98387509cc2
[INFO] running `Command { std: "docker" "start" "-a" "784bc3673dafa0dd8e606f20e19867baf155ce3fd11eb75ec45cf98387509cc2", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling sazan v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:171:24
[INFO] [stdout]     |
[INFO] [stdout] 171 |                     if (self.pos(ray.orig.1).is_some()) {
[INFO] [stdout]     |                        ^                              ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 171 -                     if (self.pos(ray.orig.1).is_some()) {
[INFO] [stdout] 171 +                     if self.pos(ray.orig.1).is_some() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:550:41
[INFO] [stdout]     |
[INFO] [stdout] 550 |         assert_eq!(res.map_or(C3, |ray| ray.orig), A1);
[INFO] [stdout]     |                                         ^^^^^^^^ expected struct `Pos`, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Pos`
[INFO] [stdout]                 found tuple `(Pos, Pos)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `dest` on type `&&Ray`
[INFO] [stdout]    --> src/main.rs:564:25
[INFO] [stdout]     |
[INFO] [stdout] 564 |                     ray.dest == H3);
[INFO] [stdout]     |                         ^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `orig`, `between`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sazan` due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "784bc3673dafa0dd8e606f20e19867baf155ce3fd11eb75ec45cf98387509cc2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "784bc3673dafa0dd8e606f20e19867baf155ce3fd11eb75ec45cf98387509cc2", kill_on_drop: false }`
[INFO] [stdout] 784bc3673dafa0dd8e606f20e19867baf155ce3fd11eb75ec45cf98387509cc2
