[INFO] fetching crate poirebot-licorice 0.1.2-fork1... [INFO] checking poirebot-licorice-0.1.2-fork1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate poirebot-licorice 0.1.2-fork1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate poirebot-licorice 0.1.2-fork1 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 crates.io crate poirebot-licorice 0.1.2-fork1 [INFO] finished tweaking crates.io crate poirebot-licorice 0.1.2-fork1 [INFO] tweaked toml for crates.io crate poirebot-licorice 0.1.2-fork1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate poirebot-licorice 0.1.2-fork1 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_with v1.7.0 [INFO] [stderr] Downloaded shakmaty v0.17.2 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1065e93d2848cac2e13b04c1c08303ae6068707c3066105412b80a51920c83b2 [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" "1065e93d2848cac2e13b04c1c08303ae6068707c3066105412b80a51920c83b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1065e93d2848cac2e13b04c1c08303ae6068707c3066105412b80a51920c83b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1065e93d2848cac2e13b04c1c08303ae6068707c3066105412b80a51920c83b2", kill_on_drop: false }` [INFO] [stdout] 1065e93d2848cac2e13b04c1c08303ae6068707c3066105412b80a51920c83b2 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0d9628e89e7da03ae7f6d69204cc68cdd37c7db5513b8ad77e7376c6de17bff [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" "c0d9628e89e7da03ae7f6d69204cc68cdd37c7db5513b8ad77e7376c6de17bff", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] num-traits v0.2.14: std [INFO] [stderr] syn v1.0.65 (as host dependency): visit [INFO] [stderr] tokio v1.4.0: macros, num_cpus, rt-multi-thread, tokio-macros [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling shakmaty v0.17.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking btoi v0.4.2 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Compiling darling_core v0.12.2 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling darling_macro v0.12.2 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Compiling darling v0.12.2 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking tokio-util v0.6.5 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking serde_with v1.7.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.2 [INFO] [stderr] Checking poirebot-licorice v0.1.2-fork1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/exhaustive.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/playfish.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `licorice` [INFO] [stdout] --> examples/exhaustive.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use licorice::client::{Lichess, LichessResult}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `licorice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `licorice` [INFO] [stdout] --> examples/exhaustive.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use licorice::models::game::Player; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `licorice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `licorice` [INFO] [stdout] --> examples/exhaustive.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use licorice::models::user::PerfType; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `licorice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> examples/exhaustive.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | if let Player::Entity(white_entity) = players.white { [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> examples/exhaustive.rs:110:24 [INFO] [stdout] | [INFO] [stdout] 110 | if let Player::Entity(black_entity) = players.black { [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LichessResult` in this scope [INFO] [stdout] --> examples/exhaustive.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | async fn main() -> LichessResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 | use poirebot_licorice::client::LichessResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lichess` [INFO] [stdout] --> examples/exhaustive.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | let lichess = Lichess::new(env::var("LICHESS_PAT_0").unwrap()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use poirebot_licorice::client::Lichess; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `poirebot-licorice` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `licorice` [INFO] [stdout] --> examples/playfish.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use licorice::client::Lichess; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `licorice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `licorice` [INFO] [stdout] --> examples/playfish.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use licorice::models::board::BoardState; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `licorice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoardState` [INFO] [stdout] --> examples/playfish.rs:146:24 [INFO] [stdout] | [INFO] [stdout] 146 | } else if let Some(BoardState::GameFull(game_full)) = first { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BoardState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoardState` [INFO] [stdout] --> examples/playfish.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | } else if let Some(BoardState::GameState(game_state)) = board_stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `BoardState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lichess` [INFO] [stdout] --> examples/playfish.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 123 | let lichess = Lichess::new(opt.token); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use poirebot_licorice::client::Lichess; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::TryStreamExt` [INFO] [stdout] --> examples/playfish.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures_util::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [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" "c0d9628e89e7da03ae7f6d69204cc68cdd37c7db5513b8ad77e7376c6de17bff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d9628e89e7da03ae7f6d69204cc68cdd37c7db5513b8ad77e7376c6de17bff", kill_on_drop: false }` [INFO] [stdout] c0d9628e89e7da03ae7f6d69204cc68cdd37c7db5513b8ad77e7376c6de17bff