[INFO] cloning repository https://github.com/georgyangelov/chess-lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/georgyangelov/chess-lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeorgyangelov%2Fchess-lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeorgyangelov%2Fchess-lib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd666c6d8f625ae08021a11bf228c9e4ce45e9de [INFO] checking georgyangelov/chess-lib against master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeorgyangelov%2Fchess-lib" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/georgyangelov/chess-lib on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/georgyangelov/chess-lib [INFO] finished tweaking git repo https://github.com/georgyangelov/chess-lib [INFO] tweaked toml for git repo https://github.com/georgyangelov/chess-lib written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/georgyangelov/chess-lib already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5fbf3d9d690a4684ea80129fed2c274cec7e99696a974a2fa5e7da575ede7e4c [INFO] running `Command { std: "docker" "start" "-a" "5fbf3d9d690a4684ea80129fed2c274cec7e99696a974a2fa5e7da575ede7e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fbf3d9d690a4684ea80129fed2c274cec7e99696a974a2fa5e7da575ede7e4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fbf3d9d690a4684ea80129fed2c274cec7e99696a974a2fa5e7da575ede7e4c", kill_on_drop: false }` [INFO] [stdout] 5fbf3d9d690a4684ea80129fed2c274cec7e99696a974a2fa5e7da575ede7e4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60d604905ca082241cbe3deec299b3b74e16c1bfd7305a3d7db3bd42c4510c89 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "60d604905ca082241cbe3deec299b3b74e16c1bfd7305a3d7db3bd42c4510c89", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.69 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.69 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.69 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking js-sys v0.3.46 [INFO] [stderr] Checking pgn-lib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PGNMove` [INFO] [stdout] --> src/game/mod.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use super::parser::{Parser, ParseError, PGNMove}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PGNMove` [INFO] [stdout] --> src/game/mod.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | use super::parser::{Parser, ParseError, PGNMove}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/parser/mod.rs:241:67 [INFO] [stdout] | [INFO] [stdout] 241 | let number = consume_value_optional!(self, Token::Integer(value), value); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> src/game/mod.rs:727:13 [INFO] [stdout] | [INFO] [stdout] 727 | let chars: Vec = notation.chars().collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `promotion_piece` [INFO] [stdout] --> src/game/mod.rs:740:13 [INFO] [stdout] | [INFO] [stdout] 740 | let promotion_piece = matches.name("promotion").and_then( |m| Self::parse_piece_letter(m.as_str()) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_promotion_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/parser/mod.rs:241:67 [INFO] [stdout] | [INFO] [stdout] 241 | let number = consume_value_optional!(self, Token::Integer(value), value); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chars` [INFO] [stdout] --> src/game/mod.rs:727:13 [INFO] [stdout] | [INFO] [stdout] 727 | let chars: Vec = notation.chars().collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `promotion_piece` [INFO] [stdout] --> src/game/mod.rs:740:13 [INFO] [stdout] | [INFO] [stdout] 740 | let promotion_piece = matches.name("promotion").and_then( |m| Self::parse_piece_letter(m.as_str()) ); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_promotion_piece` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/mod.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | _ => panic!(format!("Invalid piece letter '{}'", letter)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 190 | _ => panic!("Invalid piece letter '{}'", letter) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "60d604905ca082241cbe3deec299b3b74e16c1bfd7305a3d7db3bd42c4510c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60d604905ca082241cbe3deec299b3b74e16c1bfd7305a3d7db3bd42c4510c89", kill_on_drop: false }` [INFO] [stdout] 60d604905ca082241cbe3deec299b3b74e16c1bfd7305a3d7db3bd42c4510c89