[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] building eguneys/sazan_rust against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feguneys%2Fsazan_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eguneys/sazan_rust on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building eguneys/sazan_rust against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feguneys%2Fsazan_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eguneys/sazan_rust on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "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-3-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c05d2ed6e26d9ce4a3c4c234fb931efa6bb84aa6de640768d4b7fcee06f24bca [INFO] running `Command { std: "docker" "start" "-a" "c05d2ed6e26d9ce4a3c4c234fb931efa6bb84aa6de640768d4b7fcee06f24bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c05d2ed6e26d9ce4a3c4c234fb931efa6bb84aa6de640768d4b7fcee06f24bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c05d2ed6e26d9ce4a3c4c234fb931efa6bb84aa6de640768d4b7fcee06f24bca", kill_on_drop: false }` [INFO] [stdout] c05d2ed6e26d9ce4a3c4c234fb931efa6bb84aa6de640768d4b7fcee06f24bca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 997c8c9e94870bf87e4c9526aabfd253903aa82e62538d229e42ab37466b61cf [INFO] running `Command { std: "docker" "start" "-a" "997c8c9e94870bf87e4c9526aabfd253903aa82e62538d229e42ab37466b61cf", kill_on_drop: false }` [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 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ray` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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:6 [INFO] [stdout] | [INFO] [stdout] 76 | type HasBlocks = Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `HasCapture` is never used [INFO] [stdout] --> src/main.rs:77:6 [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:6 [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>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_sliding` is never used [INFO] [stdout] --> src/main.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl Role { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 124 | fn to_sliding(self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `drop`, `pickup`, `pos`, `pawn_push`, and `sliding` are never used [INFO] [stdout] --> src/main.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 137 | fn empty() -> Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn drop(mut self, pos: Pos, piece: Piece) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn pickup(mut self, pos: Pos) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn pos(&self, pos: Pos) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | fn pawn_push(&self, pos: Pos, color: Color) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | fn sliding(&self, pos: Pos, role: SlidingRole) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ALL_COLORS` is never used [INFO] [stdout] --> src/main.rs:348:7 [INFO] [stdout] | [INFO] [stdout] 348 | const ALL_COLORS: ColorMap = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAWN_PUSH_RAYS` is never used [INFO] [stdout] --> src/main.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | const PAWN_PUSH_RAYS: Lazy>>> = Lazy::new(|| { [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 0.81s [INFO] running `Command { std: "docker" "inspect" "997c8c9e94870bf87e4c9526aabfd253903aa82e62538d229e42ab37466b61cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "997c8c9e94870bf87e4c9526aabfd253903aa82e62538d229e42ab37466b61cf", kill_on_drop: false }` [INFO] [stdout] 997c8c9e94870bf87e4c9526aabfd253903aa82e62538d229e42ab37466b61cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25b1a37bbb5e5b8c05d4a33cfa480c81e3ed4611a19c6cbb4da3d8c87ec11e67 [INFO] running `Command { std: "docker" "start" "-a" "25b1a37bbb5e5b8c05d4a33cfa480c81e3ed4611a19c6cbb4da3d8c87ec11e67", kill_on_drop: false }` [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 `Pos`, found `(Pos, Pos)` [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` (bin "sazan" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "25b1a37bbb5e5b8c05d4a33cfa480c81e3ed4611a19c6cbb4da3d8c87ec11e67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25b1a37bbb5e5b8c05d4a33cfa480c81e3ed4611a19c6cbb4da3d8c87ec11e67", kill_on_drop: false }` [INFO] [stdout] 25b1a37bbb5e5b8c05d4a33cfa480c81e3ed4611a19c6cbb4da3d8c87ec11e67