[INFO] fetching crate poirebot-licorice 0.1.2-fork1... [INFO] checking poirebot-licorice-0.1.2-fork1 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate poirebot-licorice 0.1.2-fork1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate poirebot-licorice 0.1.2-fork1 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-9/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shakmaty v0.17.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7051e503b7ffeee17af2dc848f5e942754bb8af03a05f5efe1f9fb577d5729e [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" "a7051e503b7ffeee17af2dc848f5e942754bb8af03a05f5efe1f9fb577d5729e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7051e503b7ffeee17af2dc848f5e942754bb8af03a05f5efe1f9fb577d5729e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7051e503b7ffeee17af2dc848f5e942754bb8af03a05f5efe1f9fb577d5729e", kill_on_drop: false }` [INFO] [stdout] a7051e503b7ffeee17af2dc848f5e942754bb8af03a05f5efe1f9fb577d5729e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46a2504b57ad338fe01a52ac8bafbd2a8042194fb6934361b81f55e06ccca9d2 [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" "46a2504b57ad338fe01a52ac8bafbd2a8042194fb6934361b81f55e06ccca9d2", 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] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling shakmaty v0.17.2 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking base64 v0.13.0 [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 futures-channel v0.3.13 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking want v0.3.0 [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 quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking btoi v0.4.2 [INFO] [stderr] Checking idna v0.2.2 [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 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] Compiling darling v0.12.2 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Checking structopt v0.3.21 [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 v1.0.125 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_with v1.7.0 [INFO] [stderr] Checking reqwest v0.11.2 [INFO] [stderr] Checking poirebot-licorice v0.1.2-fork1 (/opt/rustwide/workdir) [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 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 `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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "46a2504b57ad338fe01a52ac8bafbd2a8042194fb6934361b81f55e06ccca9d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46a2504b57ad338fe01a52ac8bafbd2a8042194fb6934361b81f55e06ccca9d2", kill_on_drop: false }` [INFO] [stdout] 46a2504b57ad338fe01a52ac8bafbd2a8042194fb6934361b81f55e06ccca9d2