[INFO] cloning repository https://github.com/landchad/chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/landchad/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7cacb4e36d4646b6ef086c1e634a8c314223744 [INFO] testing landchad/chess/e7cacb4e36d4646b6ef086c1e634a8c314223744 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flandchad%2Fchess" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/landchad/chess [INFO] finished tweaking git repo https://github.com/landchad/chess [INFO] tweaked toml for git repo https://github.com/landchad/chess written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/landchad/chess on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 182 packages to latest compatible versions [INFO] [stderr] Adding crossterm v0.21.0 (available: v0.29.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.1) [INFO] [stderr] Adding toml v0.5.11 (available: v0.9.10+spec-1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded url v2.5.8 [INFO] [stderr] Downloaded crossterm v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af4fab80d652557a7e32e31c4d1905a0f274b627d1f0d0bf66a6e0a94b8113ce [INFO] running `Command { std: "docker" "start" "-a" "af4fab80d652557a7e32e31c4d1905a0f274b627d1f0d0bf66a6e0a94b8113ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af4fab80d652557a7e32e31c4d1905a0f274b627d1f0d0bf66a6e0a94b8113ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af4fab80d652557a7e32e31c4d1905a0f274b627d1f0d0bf66a6e0a94b8113ce", kill_on_drop: false }` [INFO] [stdout] af4fab80d652557a7e32e31c4d1905a0f274b627d1f0d0bf66a6e0a94b8113ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0f9d62df3d1f118bf0e1c018d167cc10b50326e08ac15e0e264bf5ee7f8154d [INFO] running `Command { std: "docker" "start" "-a" "e0f9d62df3d1f118bf0e1c018d167cc10b50326e08ac15e0e264bf5ee7f8154d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.179 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling zmij v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.113 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling crossterm v0.21.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling zchess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `board::Edge` [INFO] [stdout] --> src/chess/moves/bishop.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::chess::{board::Edge, Board, Move, Piece, Side, Square}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `board::Edge` [INFO] [stdout] --> src/chess/moves/king.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::chess::{board::Edge, Board, Move, MoveConstraint, Piece, PieceKind, Side}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::debug` [INFO] [stdout] --> src/chess/moves/pawn.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/config.rs:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | self.pieces.get(idx_str.into()) [INFO] [stdout] | ^^^ -------------- type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `Q` declared on the method `get` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `std::string::String: Borrow<_>` found in the following crates: `alloc`, `core`: [INFO] [stdout] - impl Borrow for std::string::String; [INFO] [stdout] - impl Borrow for T [INFO] [stdout] where T: ?Sized; [INFO] [stdout] note: required by a bound in `HashMap::::get` [INFO] [stdout] --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/collections/hash/map.rs:909:4 [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 91 | self.pieces.get::(idx_str.into()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/config.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | self.pieces.get(idx_str.into()) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `&_: From<&str>` found in the following crates: `core`, `potential_utf`: [INFO] [stdout] - impl<'a> From<&'a str> for &'a potential_utf::ustr::PotentialUtf8; [INFO] [stdout] - impl From for T; [INFO] [stdout] = note: required for `&str` to implement `Into<&_>` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 91 - self.pieces.get(idx_str.into()) [INFO] [stdout] 91 + self.pieces.get(<&str as Into<&Q>>::into(idx_str)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/ui/mod.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor_pos` [INFO] [stdout] --> src/ui/mod.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/ui/mod.rs:57:58 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn draw_profile(user: &User, cursor_pos: (u16, u16), stdout: &mut Stdout) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_tx` [INFO] [stdout] --> src/ui/mod.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | main_tx: Sender, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_tx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zchess` (lib) due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e0f9d62df3d1f118bf0e1c018d167cc10b50326e08ac15e0e264bf5ee7f8154d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f9d62df3d1f118bf0e1c018d167cc10b50326e08ac15e0e264bf5ee7f8154d", kill_on_drop: false }` [INFO] [stdout] e0f9d62df3d1f118bf0e1c018d167cc10b50326e08ac15e0e264bf5ee7f8154d