[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] testing haze/bruhbot against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaze%2Fbruhbot" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haze/bruhbot on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-aux v0.6.1 [INFO] [stderr] Downloaded hyper-rustls v0.23.0 [INFO] [stderr] Downloaded rustls-pemfile v0.2.1 [INFO] [stderr] Downloaded sct v0.7.0 [INFO] [stderr] Downloaded rustls v0.20.2 [INFO] [stderr] Downloaded webpki v0.22.0 [INFO] [stderr] Downloaded tokio-rustls v0.23.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db1aeccf303ad3097cd1b2856da29f1c996a1755bf8a0b00eccfbdfa09b83677 [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" "db1aeccf303ad3097cd1b2856da29f1c996a1755bf8a0b00eccfbdfa09b83677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db1aeccf303ad3097cd1b2856da29f1c996a1755bf8a0b00eccfbdfa09b83677", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db1aeccf303ad3097cd1b2856da29f1c996a1755bf8a0b00eccfbdfa09b83677", kill_on_drop: false }` [INFO] [stdout] db1aeccf303ad3097cd1b2856da29f1c996a1755bf8a0b00eccfbdfa09b83677 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ac0fdeef14cd9fec11ed9d7b511aba0d3c9d0673d27f5f2f65fc3c6f45ded68 [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" "0ac0fdeef14cd9fec11ed9d7b511aba0d3c9d0673d27f5f2f65fc3c6f45ded68", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.109 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serenity v0.10.9 (https://github.com/serenity-rs/serenity?branch=current#fe946df8) [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling nix v0.23.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling pretty-bytes v0.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling ctrlc v3.2.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling command_attr v0.3.7 (https://github.com/serenity-rs/serenity?branch=current#fe946df8) [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-aux v0.6.1 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling 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[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[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 `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/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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brobot` due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "0ac0fdeef14cd9fec11ed9d7b511aba0d3c9d0673d27f5f2f65fc3c6f45ded68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac0fdeef14cd9fec11ed9d7b511aba0d3c9d0673d27f5f2f65fc3c6f45ded68", kill_on_drop: false }` [INFO] [stdout] 0ac0fdeef14cd9fec11ed9d7b511aba0d3c9d0673d27f5f2f65fc3c6f45ded68