[INFO] cloning repository https://github.com/moka491/mio-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moka491/mio-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoka491%2Fmio-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoka491%2Fmio-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18acc361a91effd55d283fed5df322c5d4388c43 [INFO] checking moka491/mio-rs against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoka491%2Fmio-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moka491/mio-rs on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/moka491/mio-rs [INFO] finished tweaking git repo https://github.com/moka491/mio-rs [INFO] tweaked toml for git repo https://github.com/moka491/mio-rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/moka491/mio-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42033c7526e2f8bae0b3dd6bb250ceac2c2c68d5def9dfece0d92cac63895727 [INFO] running `Command { std: "docker" "start" "-a" "42033c7526e2f8bae0b3dd6bb250ceac2c2c68d5def9dfece0d92cac63895727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42033c7526e2f8bae0b3dd6bb250ceac2c2c68d5def9dfece0d92cac63895727", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42033c7526e2f8bae0b3dd6bb250ceac2c2c68d5def9dfece0d92cac63895727", kill_on_drop: false }` [INFO] [stdout] 42033c7526e2f8bae0b3dd6bb250ceac2c2c68d5def9dfece0d92cac63895727 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7095bc5a3dd95913570e826686290c841099a9b5b06796f070da391c15b2726e [INFO] running `Command { std: "docker" "start" "-a" "7095bc5a3dd95913570e826686290c841099a9b5b06796f070da391c15b2726e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling serenity v0.10.8 [INFO] [stderr] Compiling sysinfo v0.19.2 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking kankyo v0.3.0 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Compiling rustc_version_runtime v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling command_attr v0.3.7 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking async-tungstenite v0.11.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde-aux v2.2.0 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking aoyama-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `consts::MAIN_COLOR` [INFO] [stdout] --> src/commands/nsfw/nhentai.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::{checks::ISNSFW_CHECK, consts::MAIN_COLOR}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `consts::MAIN_COLOR` [INFO] [stdout] --> src/commands/nsfw/nhentai.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::{checks::ISNSFW_CHECK, consts::MAIN_COLOR}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/checks.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn is_admin( [INFO] [stdout] | ^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `for<'fut> fn(&'fut serenity::prelude::Context, &'fut serenity::model::channel::Message, &'fut mut serenity::framework::standard::Args, &'fut CommandOptions) -> std::pin::Pin> + std::marker::Send + 'fut)>>` [INFO] [stdout] found fn item `for<'fut> fn(&'fut mut serenity::prelude::Context, &'fut serenity::model::channel::Message, &'fut mut serenity::framework::standard::Args, &'fut CommandOptions) -> std::pin::Pin> + std::marker::Send + 'fut)>> {is_admin}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&mut serenity::prelude::Context as is_admin::{closure#0}::_::{closure#0}::TypeEq>::This == &serenity::prelude::Context` [INFO] [stdout] --> src/core/checks.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[check] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | types differ in mutability [INFO] [stdout] | required by a bound in this [INFO] [stdout] | required by this bound in `is_admin::{closure#0}::_::{closure#0}::assert_type_eq_all` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&serenity::prelude::Context` [INFO] [stdout] found type `&mut serenity::prelude::Context` [INFO] [stdout] = note: this error originates in the macro `serenity::static_assertions::assert_type_eq_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/checks.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn is_admin( [INFO] [stdout] | ^^^^^^^^ types differ in mutability [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `for<'fut> fn(&'fut serenity::prelude::Context, &'fut serenity::model::channel::Message, &'fut mut serenity::framework::standard::Args, &'fut CommandOptions) -> std::pin::Pin> + std::marker::Send + 'fut)>>` [INFO] [stdout] found fn item `for<'fut> fn(&'fut mut serenity::prelude::Context, &'fut serenity::model::channel::Message, &'fut mut serenity::framework::standard::Args, &'fut CommandOptions) -> std::pin::Pin> + std::marker::Send + 'fut)>> {is_admin}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `<&mut serenity::prelude::Context as is_admin::{closure#0}::_::{closure#0}::TypeEq>::This == &serenity::prelude::Context` [INFO] [stdout] --> src/core/checks.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[check] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | types differ in mutability [INFO] [stdout] | required by a bound in this [INFO] [stdout] | required by this bound in `is_admin::{closure#0}::_::{closure#0}::assert_type_eq_all` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&serenity::prelude::Context` [INFO] [stdout] found type `&mut serenity::prelude::Context` [INFO] [stdout] = note: this error originates in the macro `serenity::static_assertions::assert_type_eq_all` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Arc: CacheHttp` is not satisfied [INFO] [stdout] --> src/core/checks.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(member) = msg.member(&mut ctx.cache).await { [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `CacheHttp` is not implemented for `&mut Arc` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as CacheHttp> [INFO] [stdout] as CacheHttp> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/checks.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(member) = msg.member(&mut ctx.cache).await { [INFO] [stdout] | ^^^^^^^^^^^^ -------------------------------- this expression has type `Result` [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Result<(), Reason>: From` is not satisfied [INFO] [stdout] --> src/core/checks.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | false.into() [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Result<(), Reason>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] as From<&miniz_oxide::StreamResult>> [INFO] [stdout] as From<&miniz_oxide::StreamResult>> [INFO] [stdout] and 2 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut Arc: CacheHttp` is not satisfied [INFO] [stdout] --> src/core/checks.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(member) = msg.member(&mut ctx.cache).await { [INFO] [stdout] | ^^^^^^^^^^^^^^ the trait `CacheHttp` is not implemented for `&mut Arc` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as CacheHttp> [INFO] [stdout] as CacheHttp> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/core/checks.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(member) = msg.member(&mut ctx.cache).await { [INFO] [stdout] | ^^^^^^^^^^^^ -------------------------------- this expression has type `Result` [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoyama-bot` [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[E0277]: the trait bound `Result<(), Reason>: From` is not satisfied [INFO] [stdout] --> src/core/checks.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | false.into() [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `Result<(), Reason>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From> [INFO] [stdout] as From> [INFO] [stdout] as From<&miniz_oxide::StreamResult>> [INFO] [stdout] as From<&miniz_oxide::StreamResult>> [INFO] [stdout] and 2 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into>` for `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7095bc5a3dd95913570e826686290c841099a9b5b06796f070da391c15b2726e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7095bc5a3dd95913570e826686290c841099a9b5b06796f070da391c15b2726e", kill_on_drop: false }` [INFO] [stdout] 7095bc5a3dd95913570e826686290c841099a9b5b06796f070da391c15b2726e