[INFO] cloning repository https://github.com/Chess-on-Chain/canister [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Chess-on-Chain/canister" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChess-on-Chain%2Fcanister", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChess-on-Chain%2Fcanister'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2fa0bebad0628f2d7ce41f8df51a6735ba3c974 [INFO] linting Chess-on-Chain/canister against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChess-on-Chain%2Fcanister" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Chess-on-Chain/canister [INFO] finished tweaking git repo https://github.com/Chess-on-Chain/canister [INFO] tweaked toml for git repo https://github.com/Chess-on-Chain/canister written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Chess-on-Chain/canister on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Chess-on-Chain/canister 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk v0.17.2 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded candid_derive v0.10.16 [INFO] [stderr] Downloaded ic-cdk-macros v0.17.2 [INFO] [stderr] Downloaded ic-cdk-executor v0.1.0 [INFO] [stderr] Downloaded chess v3.2.0 [INFO] [stderr] Downloaded candid v0.10.16 [INFO] [stderr] Downloaded cc v1.2.31 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 647cf9529df3586209fa24b5823788b864c377403f707f5bcdbde010e1a18e9a [INFO] running `Command { std: "docker" "start" "-a" "647cf9529df3586209fa24b5823788b864c377403f707f5bcdbde010e1a18e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "647cf9529df3586209fa24b5823788b864c377403f707f5bcdbde010e1a18e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647cf9529df3586209fa24b5823788b864c377403f707f5bcdbde010e1a18e9a", kill_on_drop: false }` [INFO] [stdout] 647cf9529df3586209fa24b5823788b864c377403f707f5bcdbde010e1a18e9a [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 298e05313337d2612a201b27883f9ef7fafe4d244639c5a1847e435dcee2557c [INFO] running `Command { std: "docker" "start" "-a" "298e05313337d2612a201b27883f9ef7fafe4d244639c5a1847e435dcee2557c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.31 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling candid_derive v0.10.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling chess v3.2.0 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking candid v0.10.16 [INFO] [stderr] Compiling ic-cdk-macros v0.17.2 [INFO] [stderr] Checking ic-cdk v0.17.2 [INFO] [stderr] Checking chess_engine v0.1.0 (/opt/rustwide/workdir/src/chess_engine) [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/chess_engine/src/lib.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | if !result.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `result.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/chess_engine/src/lib.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | if !result.is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `result.is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "298e05313337d2612a201b27883f9ef7fafe4d244639c5a1847e435dcee2557c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "298e05313337d2612a201b27883f9ef7fafe4d244639c5a1847e435dcee2557c", kill_on_drop: false }` [INFO] [stdout] 298e05313337d2612a201b27883f9ef7fafe4d244639c5a1847e435dcee2557c