[INFO] cloning repository https://github.com/rugyoga/chess-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rugyoga/chess-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frugyoga%2Fchess-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frugyoga%2Fchess-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 54efb9010aef2bd1b20a6c5480f08be0ffa4b34b
[INFO] checking rugyoga/chess-rust against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frugyoga%2Fchess-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/rugyoga/chess-rust
[INFO] finished tweaking git repo https://github.com/rugyoga/chess-rust
[INFO] tweaked toml for git repo https://github.com/rugyoga/chess-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/rugyoga/chess-rust on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/rugyoga/chess-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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6475990baa18b62933a2231146e10ba94305f0f6428a4d179733ebe713e01066
[INFO] running `Command { std: "docker" "start" "-a" "6475990baa18b62933a2231146e10ba94305f0f6428a4d179733ebe713e01066", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6475990baa18b62933a2231146e10ba94305f0f6428a4d179733ebe713e01066", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6475990baa18b62933a2231146e10ba94305f0f6428a4d179733ebe713e01066", kill_on_drop: false }`
[INFO] [stdout] 6475990baa18b62933a2231146e10ba94305f0f6428a4d179733ebe713e01066
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d603fed437bb478a91e97f53bfbf2929aba493f021766fff0f6684d478a7a2c6
[INFO] running `Command { std: "docker" "start" "-a" "d603fed437bb478a91e97f53bfbf2929aba493f021766fff0f6684d478a7a2c6", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling num-bigint v0.3.3
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.3.1
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking num v0.3.1
[INFO] [stderr]     Checking chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Square` is more private than the item `square`
[INFO] [stdout]   --> src/pieces.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn square(file: File, rank: Rank) -> Square {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `square` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Square` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/pieces.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum Square {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Square` is more private than the item `file`
[INFO] [stdout]   --> src/pieces.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn file(square: Square) -> File {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `file` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Square` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/pieces.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum Square {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Square` is more private than the item `rank`
[INFO] [stdout]   --> src/pieces.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn rank(square: Square) -> Rank {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `rank` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Square` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/pieces.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum Square {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/pieces.rs:15:27
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Clone,Copy,Debug,FromPrimitive)]
[INFO] [stdout]    |                           ^------------
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `FromPrimitive` is not local
[INFO] [stdout]    |                           move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Piece`
[INFO] [stdout] 16 | enum Piece {
[INFO] [stdout]    |      ----- `Piece` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/pieces.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Clone,Copy,Debug,FromPrimitive)]
[INFO] [stdout]    |                           ^------------
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `FromPrimitive` is not local
[INFO] [stdout]    |                           move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Square`
[INFO] [stdout] 23 | enum Square {
[INFO] [stdout]    |      ------ `Square` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Square` is more private than the item `square`
[INFO] [stdout]   --> src/pieces.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn square(file: File, rank: Rank) -> Square {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `square` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Square` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/pieces.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum Square {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Square` is more private than the item `file`
[INFO] [stdout]   --> src/pieces.rs:43:1
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn file(square: Square) -> File {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `file` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Square` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/pieces.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum Square {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Square` is more private than the item `rank`
[INFO] [stdout]   --> src/pieces.rs:47:1
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn rank(square: Square) -> Rank {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `rank` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `Square` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/pieces.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | enum Square {
[INFO] [stdout]    | ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/pieces.rs:15:27
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Clone,Copy,Debug,FromPrimitive)]
[INFO] [stdout]    |                           ^------------
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `FromPrimitive` is not local
[INFO] [stdout]    |                           move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Piece`
[INFO] [stdout] 16 | enum Piece {
[INFO] [stdout]    |      ----- `Piece` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/pieces.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[derive(Clone,Copy,Debug,FromPrimitive)]
[INFO] [stdout]    |                           ^------------
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           `FromPrimitive` is not local
[INFO] [stdout]    |                           move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Square`
[INFO] [stdout] 23 | enum Square {
[INFO] [stdout]    |      ------ `Square` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.37s
[INFO] running `Command { std: "docker" "inspect" "d603fed437bb478a91e97f53bfbf2929aba493f021766fff0f6684d478a7a2c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d603fed437bb478a91e97f53bfbf2929aba493f021766fff0f6684d478a7a2c6", kill_on_drop: false }`
[INFO] [stdout] d603fed437bb478a91e97f53bfbf2929aba493f021766fff0f6684d478a7a2c6
