[INFO] cloning repository https://github.com/haze/bruhbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haze/bruhbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaze%2Fbruhbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaze%2Fbruhbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 055adc3759769b50cf37ee4d5763765bfc3d71ba [INFO] checking haze/bruhbot against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaze%2Fbruhbot" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haze/bruhbot 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 git repo https://github.com/haze/bruhbot [INFO] finished tweaking git repo https://github.com/haze/bruhbot [INFO] tweaked toml for git repo https://github.com/haze/bruhbot written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/serenity-rs/serenity` [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 pretty-bytes v0.2.2 [INFO] [stderr] Downloaded typemap_rev v0.1.5 [INFO] [stderr] Downloaded serde-aux v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd9018df583a13df42678e5a363221c3e2fda419146bce1cd8a4ae89e55f5ed1 [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" "dd9018df583a13df42678e5a363221c3e2fda419146bce1cd8a4ae89e55f5ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd9018df583a13df42678e5a363221c3e2fda419146bce1cd8a4ae89e55f5ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd9018df583a13df42678e5a363221c3e2fda419146bce1cd8a4ae89e55f5ed1", kill_on_drop: false }` [INFO] [stdout] dd9018df583a13df42678e5a363221c3e2fda419146bce1cd8a4ae89e55f5ed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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] c1b745ba5f9e68103fc67c45ed077de72b0b7be3d375cabb4a2c8162dcb831de [INFO] running `Command { std: "docker" "start" "-a" "c1b745ba5f9e68103fc67c45ed077de72b0b7be3d375cabb4a2c8162dcb831de", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling serenity v0.10.5 (https://github.com/serenity-rs/serenity?branch=current#b2565da3) [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling command_attr v0.3.5 (https://github.com/serenity-rs/serenity?branch=current#b2565da3) [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking openssl-sys v0.9.61 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty-bytes v0.2.2 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking openssl v0.10.33 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking serde-aux v0.6.1 [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] Checking native-tls v0.2.7 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking ctrlc v3.1.9 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking async-tungstenite v0.11.0 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking brobot v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `serenity::client::bridge::voice::ClientVoiceManager`, `serenity::voice` [INFO] [stdout] --> src/audio.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | client::bridge::voice::ClientVoiceManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ClientVoiceManager` in `client::bridge::voice` [INFO] [stdout] ... [INFO] [stdout] 17 | voice, [INFO] [stdout] | ^^^^^ no `voice` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `serenity::client::bridge::voice::ClientVoiceManager`, `serenity::voice` [INFO] [stdout] --> src/audio.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | client::bridge::voice::ClientVoiceManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ClientVoiceManager` in `client::bridge::voice` [INFO] [stdout] ... [INFO] [stdout] 17 | voice, [INFO] [stdout] | ^^^^^ no `voice` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/main.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/main.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `signal` in `tokio` [INFO] [stdout] --> src/main.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | tokio::signal::ctrl_c() [INFO] [stdout] | ^^^^^^ could not find `signal` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `signal` in `tokio` [INFO] [stdout] --> src/main.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | tokio::signal::ctrl_c() [INFO] [stdout] | ^^^^^^ could not find `signal` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `serenity::Client` in the current scope [INFO] [stdout] --> src/main.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | let mut client = Client::new(&token) [INFO] [stdout] | ^^^ function or associated item not found in `serenity::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `serenity::Client` in the current scope [INFO] [stdout] --> src/main.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | let mut client = Client::new(&token) [INFO] [stdout] | ^^^ function or associated item not found in `serenity::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/main.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | shard_manager_clone.lock().await.shutdown_all().await; [INFO] [stdout] | ^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `shard_manager_clone` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/main.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | shard_manager_clone.lock().await.shutdown_all().await; [INFO] [stdout] | ^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `shard_manager_clone` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/main.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(queue_map) = data_clone.read().await.get::() { [INFO] [stdout] | ^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `data_clone` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/main.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/main.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some(queue_map) = data_clone.read().await.get::() { [INFO] [stdout] | ^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `data_clone` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `json` found for struct `reqwest::Response` in the current scope [INFO] [stdout] --> src/audio.rs:646:20 [INFO] [stdout] | [INFO] [stdout] 646 | response.json::().await.ok() [INFO] [stdout] | ^^^^ method not found in `reqwest::Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `json` found for struct `reqwest::Response` in the current scope [INFO] [stdout] --> src/audio.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | response.json::().await.ok() [INFO] [stdout] | ^^^^ method not found in `reqwest::Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `json` found for struct `reqwest::Response` in the current scope [INFO] [stdout] --> src/audio.rs:646:20 [INFO] [stdout] | [INFO] [stdout] 646 | response.json::().await.ok() [INFO] [stdout] | ^^^^ method not found in `reqwest::Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `json` found for struct `reqwest::Response` in the current scope [INFO] [stdout] --> src/audio.rs:658:20 [INFO] [stdout] | [INFO] [stdout] 658 | response.json::().await.ok() [INFO] [stdout] | ^^^^ method not found in `reqwest::Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `json` found for struct `reqwest::Response` in the current scope [INFO] [stdout] --> src/search.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | .json::() [INFO] [stdout] | ^^^^ method not found in `reqwest::Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `json` found for struct `reqwest::Response` in the current scope [INFO] [stdout] --> src/search.rs:408:8 [INFO] [stdout] | [INFO] [stdout] 408 | .json::() [INFO] [stdout] | ^^^^ method not found in `reqwest::Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `json` found for struct `reqwest::Response` in the current scope [INFO] [stdout] --> src/search.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | .json::() [INFO] [stdout] | ^^^^ method not found in `reqwest::Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `json` found for struct `reqwest::Response` in the current scope [INFO] [stdout] --> src/search.rs:408:8 [INFO] [stdout] | [INFO] [stdout] 408 | .json::() [INFO] [stdout] | ^^^^ method not found in `reqwest::Response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brobot` [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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c1b745ba5f9e68103fc67c45ed077de72b0b7be3d375cabb4a2c8162dcb831de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1b745ba5f9e68103fc67c45ed077de72b0b7be3d375cabb4a2c8162dcb831de", kill_on_drop: false }` [INFO] [stdout] c1b745ba5f9e68103fc67c45ed077de72b0b7be3d375cabb4a2c8162dcb831de