[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 master#9ba3d315b4b2bea7485071eaf4b2681320cd2a27 for pr-124592 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frugyoga%2Fchess-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rugyoga/chess-rust on toolchain 9ba3d315b4b2bea7485071eaf4b2681320cd2a27 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+9ba3d315b4b2bea7485071eaf4b2681320cd2a27" "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] checking rugyoga/chess-rust against try#2466b92ed5feb282a98bb984f45d1e6d39f8c1aa for pr-124592 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frugyoga%2Fchess-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rugyoga/chess-rust on toolchain 2466b92ed5feb282a98bb984f45d1e6d39f8c1aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 848e53a80722a376ebfa36db21fc6fc3486d05400fdf6f3aee8eed9463a6b24f [INFO] running `Command { std: "docker" "start" "-a" "848e53a80722a376ebfa36db21fc6fc3486d05400fdf6f3aee8eed9463a6b24f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "848e53a80722a376ebfa36db21fc6fc3486d05400fdf6f3aee8eed9463a6b24f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "848e53a80722a376ebfa36db21fc6fc3486d05400fdf6f3aee8eed9463a6b24f", kill_on_drop: false }` [INFO] [stdout] 848e53a80722a376ebfa36db21fc6fc3486d05400fdf6f3aee8eed9463a6b24f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+2466b92ed5feb282a98bb984f45d1e6d39f8c1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e5bda2c70ddeb7093634f0b69c6dd12d4c13822fe3a729a228bc8961a66055b [INFO] running `Command { std: "docker" "start" "-a" "0e5bda2c70ddeb7093634f0b69c6dd12d4c13822fe3a729a228bc8961a66055b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [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] Compiling quote v1.0.35 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling num-derive v0.3.3 [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, they should be avoided as they go against expectation [INFO] [stdout] --> src/pieces.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone,Copy,Debug,FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Piece` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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, they should be avoided as they go against expectation [INFO] [stdout] --> src/pieces.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone,Copy,Debug,FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Square` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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, they should be avoided as they go against expectation [INFO] [stdout] --> src/pieces.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone,Copy,Debug,FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Piece` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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, they should be avoided as they go against expectation [INFO] [stdout] --> src/pieces.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Clone,Copy,Debug,FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Square` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.71s [INFO] running `Command { std: "docker" "inspect" "0e5bda2c70ddeb7093634f0b69c6dd12d4c13822fe3a729a228bc8961a66055b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e5bda2c70ddeb7093634f0b69c6dd12d4c13822fe3a729a228bc8961a66055b", kill_on_drop: false }` [INFO] [stdout] 0e5bda2c70ddeb7093634f0b69c6dd12d4c13822fe3a729a228bc8961a66055b