[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 master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaze%2Fbruhbot" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haze/bruhbot on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/serenity-rs/serenity` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37d92b6788500198111199ef25303a8a5617ae4b67822e6cb51801ede81fabe0 [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" "37d92b6788500198111199ef25303a8a5617ae4b67822e6cb51801ede81fabe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37d92b6788500198111199ef25303a8a5617ae4b67822e6cb51801ede81fabe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d92b6788500198111199ef25303a8a5617ae4b67822e6cb51801ede81fabe0", kill_on_drop: false }` [INFO] [stdout] 37d92b6788500198111199ef25303a8a5617ae4b67822e6cb51801ede81fabe0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69d7a50eb85a7a3d36e6644765d9d2b77d71e501079fc7dd829dd969b50d0b29 [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" "69d7a50eb85a7a3d36e6644765d9d2b77d71e501079fc7dd829dd969b50d0b29", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling serenity v0.9.2 (https://github.com/serenity-rs/serenity?branch=current#35c8f7b9) [INFO] [stderr] Compiling typemap_rev v0.1.4 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling indexmap v1.6.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 miniz_oxide v0.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling ring v0.16.18 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty-bytes v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling ctrlc v3.1.7 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling command_attr v0.3.1 (https://github.com/serenity-rs/serenity?branch=current#35c8f7b9) [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling async-tungstenite v0.9.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde-aux v0.6.1 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.9 [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 `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] warning: use of deprecated associated function `serenity::Client::new`: please use `builder` instead [INFO] [stdout] --> src/main.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | let mut client = Client::new(&token) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:114:51 [INFO] [stdout] | [INFO] [stdout] 114 | data.insert::(Arc::clone(&client.voice_manager)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `Arc`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Arc<_>` [INFO] [stdout] found reference `&std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `brobot` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "69d7a50eb85a7a3d36e6644765d9d2b77d71e501079fc7dd829dd969b50d0b29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d7a50eb85a7a3d36e6644765d9d2b77d71e501079fc7dd829dd969b50d0b29", kill_on_drop: false }` [INFO] [stdout] 69d7a50eb85a7a3d36e6644765d9d2b77d71e501079fc7dd829dd969b50d0b29