[INFO] cloning repository https://github.com/jacobgardner/chessAI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacobgardner/chessAI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobgardner%2FchessAI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobgardner%2FchessAI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 517c56174e9ee32f43e0147b06b9fb6309dfc564 [INFO] checking jacobgardner/chessAI against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobgardner%2FchessAI" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacobgardner/chessAI on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jacobgardner/chessAI [INFO] finished tweaking git repo https://github.com/jacobgardner/chessAI [INFO] tweaked toml for git repo https://github.com/jacobgardner/chessAI written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jacobgardner/chessAI 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-7-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `lib` [INFO] [stderr] * `bin` target `chess_ai` [INFO] [stderr] Updating git repository `https://github.com/jacobgardner/snapshot-rs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v0.8.23 [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded num-rational v0.2.1 [INFO] [stderr] Downloaded pest v1.0.6 [INFO] [stderr] Downloaded thread-scoped v1.0.2 [INFO] [stderr] Downloaded num_cpus v1.9.0 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded syn v0.10.8 [INFO] [stderr] Downloaded syn v0.14.5 [INFO] [stderr] Downloaded csv v1.0.2 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded serde v1.0.82 [INFO] [stderr] Downloaded regex v1.1.0 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded uncover v0.1.1 [INFO] [stderr] Downloaded criterion v0.2.5 [INFO] [stderr] Downloaded regex-syntax v0.6.4 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] [stderr] Downloaded pretty_assertions v0.2.1 [INFO] [stderr] Downloaded difference v1.0.0 [INFO] [stderr] Downloaded serde_derive v1.0.82 [INFO] [stderr] Downloaded simplelog v0.5.3 [INFO] [stderr] Downloaded num v0.2.0 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded serde-hjson v0.8.2 [INFO] [stderr] Downloaded criterion-plot v0.2.5 [INFO] [stderr] Downloaded time v0.1.41 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded aho-corasick v0.6.9 [INFO] [stderr] Downloaded criterion-stats v0.2.5 [INFO] [stderr] Downloaded handlebars v0.32.4 [INFO] [stderr] Downloaded csv-core v0.1.4 [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded num-bigint v0.2.0 [INFO] [stderr] Downloaded pest_derive v1.0.8 [INFO] [stderr] Downloaded byteorder v1.2.7 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded num-complex v0.2.0 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded serde_codegen v0.8.23 [INFO] [stderr] Downloaded proc-macro2 v0.4.9 [INFO] [stderr] Downloaded fs2 v0.4.3 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] [stderr] Downloaded ryu v0.2.7 [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded serde_codegen_internals v0.11.3 [INFO] [stderr] Downloaded quote v0.6.4 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded redox_syscall v0.1.44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe287d3457d988b799962c924d4d022b86b579bd0beae9d94d58aefce6b5a9af [INFO] running `Command { std: "docker" "start" "-a" "fe287d3457d988b799962c924d4d022b86b579bd0beae9d94d58aefce6b5a9af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe287d3457d988b799962c924d4d022b86b579bd0beae9d94d58aefce6b5a9af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe287d3457d988b799962c924d4d022b86b579bd0beae9d94d58aefce6b5a9af", kill_on_drop: false }` [INFO] [stdout] fe287d3457d988b799962c924d4d022b86b579bd0beae9d94d58aefce6b5a9af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c6805974f7ecdfb927f51b8256d70d32b5c4712de16f5e197fe35febc643327f [INFO] running `Command { std: "docker" "start" "-a" "c6805974f7ecdfb927f51b8256d70d32b5c4712de16f5e197fe35febc643327f", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `lib` [INFO] [stderr] * `bin` target `chess_ai` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking pretty_assertions v0.2.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking uncover v0.1.1 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling serde_codegen_internals v0.11.3 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking itertools-num v0.1.3 [INFO] [stderr] Compiling serde_codegen v0.8.23 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking criterion-plot v0.2.5 [INFO] [stderr] Checking criterion-stats v0.2.5 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Compiling serde_derive v0.8.23 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking csv v1.0.2 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking handlebars v0.32.4 [INFO] [stderr] Compiling snapshot-proc-macro v0.1.0 (https://github.com/jacobgardner/snapshot-rs.git?branch=hjson#d3a9ccde) [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking snapshot v0.1.0 (https://github.com/jacobgardner/snapshot-rs.git?branch=hjson#d3a9ccde) [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chess/move_generator/sanity_checks.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ... format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] 31 + "Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chess/move_generator/sanity_checks.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ... format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] 31 + "Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.2.5 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chess/move_generator/sanity_checks.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ... format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] 31 + "Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.5, syn v0.10.8, syn v0.14.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c6805974f7ecdfb927f51b8256d70d32b5c4712de16f5e197fe35febc643327f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6805974f7ecdfb927f51b8256d70d32b5c4712de16f5e197fe35febc643327f", kill_on_drop: false }` [INFO] [stdout] c6805974f7ecdfb927f51b8256d70d32b5c4712de16f5e197fe35febc643327f [INFO] checking jacobgardner/chessAI against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobgardner%2FchessAI" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacobgardner/chessAI on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jacobgardner/chessAI [INFO] finished tweaking git repo https://github.com/jacobgardner/chessAI [INFO] tweaked toml for git repo https://github.com/jacobgardner/chessAI written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jacobgardner/chessAI 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-7-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `lib` [INFO] [stderr] * `bin` target `chess_ai` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44151f83d9ec51b69134ba597606fc70ffea59eb20eaae079f4245f76c95f039 [INFO] running `Command { std: "docker" "start" "-a" "44151f83d9ec51b69134ba597606fc70ffea59eb20eaae079f4245f76c95f039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44151f83d9ec51b69134ba597606fc70ffea59eb20eaae079f4245f76c95f039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44151f83d9ec51b69134ba597606fc70ffea59eb20eaae079f4245f76c95f039", kill_on_drop: false }` [INFO] [stdout] 44151f83d9ec51b69134ba597606fc70ffea59eb20eaae079f4245f76c95f039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0161ded77738b0d5a6a685a8afcd356e646b9b368abd0149211742ddff9d66d [INFO] running `Command { std: "docker" "start" "-a" "a0161ded77738b0d5a6a685a8afcd356e646b9b368abd0149211742ddff9d66d", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `lib` [INFO] [stderr] * `bin` target `chess_ai` [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking difference v1.0.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Checking pretty_assertions v0.2.1 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking time v0.1.41 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand v0.4.3 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking uncover v0.1.1 [INFO] [stderr] Checking thread-scoped v1.0.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking itertools-num v0.1.3 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking criterion-stats v0.2.5 [INFO] [stderr] Compiling serde_codegen_internals v0.11.3 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking criterion-plot v0.2.5 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Compiling serde_codegen v0.8.23 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Compiling serde_derive v0.8.23 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Checking serde_json v1.0.33 [INFO] [stderr] Checking csv v1.0.2 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking handlebars v0.32.4 [INFO] [stderr] Compiling snapshot-proc-macro v0.1.0 (https://github.com/jacobgardner/snapshot-rs.git?branch=hjson#d3a9ccde) [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking snapshot v0.1.0 (https://github.com/jacobgardner/snapshot-rs.git?branch=hjson#d3a9ccde) [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_BoardError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_BoardError` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/chess/move_generator/sanity_checks.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ... format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] 31 + "Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/chess/piece_type.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_PieceType` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/chess/player.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_Player` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/chess/rank_file.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_RankFile` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a0161ded77738b0d5a6a685a8afcd356e646b9b368abd0149211742ddff9d66d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0161ded77738b0d5a6a685a8afcd356e646b9b368abd0149211742ddff9d66d", kill_on_drop: false }` [INFO] [stdout] a0161ded77738b0d5a6a685a8afcd356e646b9b368abd0149211742ddff9d66d