[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeorgyangelov%2Fchess-lib" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/georgyangelov/chess-lib on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-0/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70cee8a60fb129f483c3dbe6412da5409634ce5b1044975339cf4f94bcc6bd0e [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" "70cee8a60fb129f483c3dbe6412da5409634ce5b1044975339cf4f94bcc6bd0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70cee8a60fb129f483c3dbe6412da5409634ce5b1044975339cf4f94bcc6bd0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70cee8a60fb129f483c3dbe6412da5409634ce5b1044975339cf4f94bcc6bd0e", kill_on_drop: false }` [INFO] [stdout] 70cee8a60fb129f483c3dbe6412da5409634ce5b1044975339cf4f94bcc6bd0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] dfd86b5c1194f1a2a71e87023404e4821e6ab29845f73326c8f38aeb939a862b [INFO] running `Command { std: "docker" "start" "-a" "dfd86b5c1194f1a2a71e87023404e4821e6ab29845f73326c8f38aeb939a862b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.69 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling wasm-bindgen v0.2.69 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [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 wasm-bindgen-macro v0.2.69 [INFO] [stderr] Checking js-sys v0.3.46 [INFO] [stderr] Checking pgn-lib v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pgn_lib` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/parser/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0425]: cannot find value `value` in this scope [INFO] [stderr] --> src/parser/mod.rs:241:76 [INFO] [stderr] | [INFO] [stderr] 241 | let number = consume_value_optional!(self, Token::Integer(_value), value); [INFO] [stderr] | ^^^^^ help: a local variable with a similar name exists: `_value` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] error[E0425]: cannot find value `value` in this scope [INFO] [stdout] --> src/parser/mod.rs:241:76 [INFO] [stdout] | [INFO] [stdout] 241 | let number = consume_value_optional!(self, Token::Integer(_value), value); [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `_value` [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] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pgn-lib` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "dfd86b5c1194f1a2a71e87023404e4821e6ab29845f73326c8f38aeb939a862b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfd86b5c1194f1a2a71e87023404e4821e6ab29845f73326c8f38aeb939a862b", kill_on_drop: false }` [INFO] [stdout] dfd86b5c1194f1a2a71e87023404e4821e6ab29845f73326c8f38aeb939a862b