[INFO] fetching crate legal_chess 0.4.42... [INFO] checking legal_chess-0.4.42 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate legal_chess 0.4.42 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate legal_chess 0.4.42 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate legal_chess 0.4.42 [INFO] finished tweaking crates.io crate legal_chess 0.4.42 [INFO] tweaked toml for crates.io crate legal_chess 0.4.42 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d7558d67cb7fab049a7a0ce6c866a21e1c66b637b73eb7703ae914cfb14cf49 [INFO] running `Command { std: "docker" "start" "-a" "8d7558d67cb7fab049a7a0ce6c866a21e1c66b637b73eb7703ae914cfb14cf49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d7558d67cb7fab049a7a0ce6c866a21e1c66b637b73eb7703ae914cfb14cf49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7558d67cb7fab049a7a0ce6c866a21e1c66b637b73eb7703ae914cfb14cf49", kill_on_drop: false }` [INFO] [stdout] 8d7558d67cb7fab049a7a0ce6c866a21e1c66b637b73eb7703ae914cfb14cf49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ce2afc8506fa8f5b536af896fecffc0706a08a4ab27e9f8e6442e48f925cbb7 [INFO] running `Command { std: "docker" "start" "-a" "5ce2afc8506fa8f5b536af896fecffc0706a08a4ab27e9f8e6442e48f925cbb7", kill_on_drop: false }` [INFO] [stderr] Checking legal_chess v0.4.42 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `piece` is imported redundantly [INFO] [stdout] --> src/attack.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | use super::super::pieces::{pawn, piece, position}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | use super::*; [INFO] [stdout] | -------- the item `piece` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `position` is imported redundantly [INFO] [stdout] --> src/attack.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | use super::super::pieces::{pawn, piece, position}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | use super::*; [INFO] [stdout] | -------- the item `position` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Piece` is imported redundantly [INFO] [stdout] --> src/pieces/king.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use super::piece::Piece; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 164 | use super::*; [INFO] [stdout] | -------- the item `Piece` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Piece` is imported redundantly [INFO] [stdout] --> src/pieces/pawn.rs:200:44 [INFO] [stdout] | [INFO] [stdout] 200 | use super::super::{bishop, king, pawn, piece::Piece, queen, rook}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 201 | use super::*; [INFO] [stdout] | -------- the item `Piece` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bishop` is imported redundantly [INFO] [stdout] --> src/pieces/piece.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | use super::super::{bishop, king, knight, pawn, queen}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `bishop` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `king` is imported redundantly [INFO] [stdout] --> src/pieces/piece.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | use super::super::{bishop, king, knight, pawn, queen}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `king` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `knight` is imported redundantly [INFO] [stdout] --> src/pieces/piece.rs:183:38 [INFO] [stdout] | [INFO] [stdout] 183 | use super::super::{bishop, king, knight, pawn, queen}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `knight` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pawn` is imported redundantly [INFO] [stdout] --> src/pieces/piece.rs:183:46 [INFO] [stdout] | [INFO] [stdout] 183 | use super::super::{bishop, king, knight, pawn, queen}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `pawn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `queen` is imported redundantly [INFO] [stdout] --> src/pieces/piece.rs:183:52 [INFO] [stdout] | [INFO] [stdout] 183 | use super::super::{bishop, king, knight, pawn, queen}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `queen` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "5ce2afc8506fa8f5b536af896fecffc0706a08a4ab27e9f8e6442e48f925cbb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce2afc8506fa8f5b536af896fecffc0706a08a4ab27e9f8e6442e48f925cbb7", kill_on_drop: false }` [INFO] [stdout] 5ce2afc8506fa8f5b536af896fecffc0706a08a4ab27e9f8e6442e48f925cbb7 [INFO] checking legal_chess-0.4.42 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate legal_chess 0.4.42 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate legal_chess 0.4.42 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate legal_chess 0.4.42 [INFO] finished tweaking crates.io crate legal_chess 0.4.42 [INFO] tweaked toml for crates.io crate legal_chess 0.4.42 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab8a91e41cac55cfbae93c1510df1e085e9d00802c7056169927bba4ebd2d2a7 [INFO] running `Command { std: "docker" "start" "-a" "ab8a91e41cac55cfbae93c1510df1e085e9d00802c7056169927bba4ebd2d2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab8a91e41cac55cfbae93c1510df1e085e9d00802c7056169927bba4ebd2d2a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab8a91e41cac55cfbae93c1510df1e085e9d00802c7056169927bba4ebd2d2a7", kill_on_drop: false }` [INFO] [stdout] ab8a91e41cac55cfbae93c1510df1e085e9d00802c7056169927bba4ebd2d2a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6256dcb41cbcd0f037baec76bbf2d9c4c2f922f389fea6bf0f8c5c1d4fef04e0 [INFO] running `Command { std: "docker" "start" "-a" "6256dcb41cbcd0f037baec76bbf2d9c4c2f922f389fea6bf0f8c5c1d4fef04e0", kill_on_drop: false }` [INFO] [stderr] Checking legal_chess v0.4.42 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `piece` is imported redundantly [INFO] [stdout] --> src/attack.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | use super::super::pieces::{pawn, piece, position}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | use super::*; [INFO] [stdout] | -------- the item `piece` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `position` is imported redundantly [INFO] [stdout] --> src/attack.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | use super::super::pieces::{pawn, piece, position}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | use super::*; [INFO] [stdout] | -------- the item `position` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Piece` is imported redundantly [INFO] [stdout] --> src/pieces/king.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | use super::piece::Piece; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 164 | use super::*; [INFO] [stdout] | -------- the item `Piece` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Piece` is imported redundantly [INFO] [stdout] --> src/pieces/pawn.rs:200:44 [INFO] [stdout] | [INFO] [stdout] 200 | use super::super::{bishop, king, pawn, piece::Piece, queen, rook}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 201 | use super::*; [INFO] [stdout] | -------- the item `Piece` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bishop` is imported redundantly [INFO] [stdout] --> src/pieces/piece.rs:183:24 [INFO] [stdout] | [INFO] [stdout] 183 | use super::super::{bishop, king, knight, pawn, queen}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `bishop` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `king` is imported redundantly [INFO] [stdout] --> src/pieces/piece.rs:183:32 [INFO] [stdout] | [INFO] [stdout] 183 | use super::super::{bishop, king, knight, pawn, queen}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `king` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `knight` is imported redundantly [INFO] [stdout] --> src/pieces/piece.rs:183:38 [INFO] [stdout] | [INFO] [stdout] 183 | use super::super::{bishop, king, knight, pawn, queen}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `knight` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `pawn` is imported redundantly [INFO] [stdout] --> src/pieces/piece.rs:183:46 [INFO] [stdout] | [INFO] [stdout] 183 | use super::super::{bishop, king, knight, pawn, queen}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `pawn` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `queen` is imported redundantly [INFO] [stdout] --> src/pieces/piece.rs:183:52 [INFO] [stdout] | [INFO] [stdout] 183 | use super::super::{bishop, king, knight, pawn, queen}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 184 | use super::*; [INFO] [stdout] | -------- the item `queen` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/game.rs:1398:13 [INFO] [stdout] | [INFO] [stdout] 1398 | panic!(); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::panic::panic_2015` which comes from the expansion of the macro `panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `legal_chess` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6256dcb41cbcd0f037baec76bbf2d9c4c2f922f389fea6bf0f8c5c1d4fef04e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6256dcb41cbcd0f037baec76bbf2d9c4c2f922f389fea6bf0f8c5c1d4fef04e0", kill_on_drop: false }` [INFO] [stdout] 6256dcb41cbcd0f037baec76bbf2d9c4c2f922f389fea6bf0f8c5c1d4fef04e0