[INFO] cloning repository https://github.com/SamKG/Moosical [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SamKG/Moosical" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamKG%2FMoosical", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamKG%2FMoosical'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0ecc7897ec3b68615832055c836bacc338431fb [INFO] testing SamKG/Moosical against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamKG%2FMoosical" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SamKG/Moosical on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SamKG/Moosical [INFO] finished tweaking git repo https://github.com/SamKG/Moosical [INFO] tweaked toml for git repo https://github.com/SamKG/Moosical written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SamKG/Moosical already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded leaky-bucket-lite v0.2.2 [INFO] [stderr] Downloaded twilight-gateway v0.8.5 [INFO] [stderr] Downloaded twilight-http v0.8.5 [INFO] [stderr] Downloaded twilight-model v0.8.5 [INFO] [stderr] Downloaded youtube_dl v0.6.3 [INFO] [stderr] Downloaded twilight-gateway-queue v0.8.1 [INFO] [stderr] Downloaded twilight-http-ratelimiting v0.8.4 [INFO] [stderr] Downloaded twilight-util v0.8.2 [INFO] [stderr] Downloaded twilight-cache-inmemory v0.8.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70f7a929bd6abdd502c349e8068f39c51e1fb688305d1f09d2f762c3dd975137 [INFO] running `Command { std: "docker" "start" "-a" "70f7a929bd6abdd502c349e8068f39c51e1fb688305d1f09d2f762c3dd975137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70f7a929bd6abdd502c349e8068f39c51e1fb688305d1f09d2f762c3dd975137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70f7a929bd6abdd502c349e8068f39c51e1fb688305d1f09d2f762c3dd975137", kill_on_drop: false }` [INFO] [stdout] 70f7a929bd6abdd502c349e8068f39c51e1fb688305d1f09d2f762c3dd975137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 417ca6cd3fd09ebd1bb5fe184f892889da5053fb840d015bdf96a0a61a79c029 [INFO] running `Command { std: "docker" "start" "-a" "417ca6cd3fd09ebd1bb5fe184f892889da5053fb840d015bdf96a0a61a79c029", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling rustls-native-certs v0.6.1 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.16.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling twilight-http-ratelimiting v0.8.4 [INFO] [stderr] Compiling leaky-bucket-lite v0.2.2 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-tungstenite v0.16.1 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling twilight-model v0.8.5 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling youtube_dl v0.6.3 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling twilight-http v0.8.5 [INFO] [stderr] Compiling twilight-util v0.8.2 [INFO] [stderr] Compiling twilight-cache-inmemory v0.8.6 [INFO] [stderr] Compiling twilight-gateway-queue v0.8.1 [INFO] [stderr] Compiling twilight-gateway v0.8.5 [INFO] [stderr] Compiling moosicyak v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::helpers::youtube::search::VideoInfo` [INFO] [stdout] --> src/commands/application/search.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::helpers::youtube::search::VideoInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuildState` [INFO] [stdout] --> src/commands/message/search.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::state::{ApplicationState, EnqueuedVideo, GuildState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> src/state/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryStreamExt` [INFO] [stdout] --> src/commands/message/search.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_audio` is never used [INFO] [stdout] --> src/helpers/youtube/download.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) async fn download_audio( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `title`, `user`, and `downloaded_path` are never read [INFO] [stdout] --> src/state/mod.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct EnqueuedVideo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 26 | pub(crate) url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | pub(crate) title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub(crate) user: User, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub(crate) downloaded_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnqueuedVideo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_handle` is never read [INFO] [stdout] --> src/state/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct GuildState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | pub(crate) sender: mpsc::Sender, [INFO] [stdout] 35 | thread_handle: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GuildState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `twilight-http` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/61223975d46f794466efa832bc7562b9707ecc46/bin/rustc --crate-name twilight_http --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/twilight-http-0.8.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="brotli"' --cfg 'feature="decompression"' --cfg 'feature="default"' --cfg 'feature="hyper-rustls"' --cfg 'feature="rustls"' --cfg 'feature="rustls-native-roots"' --cfg 'feature="tracing"' -C metadata=cb101f2a52ca7faf -C extra-filename=-cb101f2a52ca7faf --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern brotli=/opt/rustwide/target/debug/deps/libbrotli-87216db696561c01.rmeta --extern hyper=/opt/rustwide/target/debug/deps/libhyper-bf8db35ee1ea484d.rlib --extern hyper_rustls=/opt/rustwide/target/debug/deps/libhyper_rustls-d1ac37bd44738b88.rmeta --extern percent_encoding=/opt/rustwide/target/debug/deps/libpercent_encoding-cd7356c23e34a112.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-14797d31bf942a83.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-0abc4951cf5684c3.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-719d614f5ecaf980.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-6d2784b94d52ddc2.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-969dbda2c80d696c.rmeta --extern twilight_http_ratelimiting=/opt/rustwide/target/debug/deps/libtwilight_http_ratelimiting-a45a572707dabcaa.rmeta --extern twilight_model=/opt/rustwide/target/debug/deps/libtwilight_model-e6b9eb329c19ddd5.rmeta --cap-lints allow --cap-lints=forbid -Copt-level=3 -L native=/opt/rustwide/target/debug/build/ring-2f311d335e6044bd/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "417ca6cd3fd09ebd1bb5fe184f892889da5053fb840d015bdf96a0a61a79c029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "417ca6cd3fd09ebd1bb5fe184f892889da5053fb840d015bdf96a0a61a79c029", kill_on_drop: false }` [INFO] [stdout] 417ca6cd3fd09ebd1bb5fe184f892889da5053fb840d015bdf96a0a61a79c029 [INFO] testing SamKG/Moosical against try#d073071d77ce0f93b4fd8cc567a1e2b9e1b22126+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamKG%2FMoosical" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SamKG/Moosical on toolchain d073071d77ce0f93b4fd8cc567a1e2b9e1b22126 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SamKG/Moosical [INFO] finished tweaking git repo https://github.com/SamKG/Moosical [INFO] tweaked toml for git repo https://github.com/SamKG/Moosical written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SamKG/Moosical already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8aa94884697019fdd0f976e89d5655a8ac510dcaeba2c0287a6a9ed3b642cb9d [INFO] running `Command { std: "docker" "start" "-a" "8aa94884697019fdd0f976e89d5655a8ac510dcaeba2c0287a6a9ed3b642cb9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aa94884697019fdd0f976e89d5655a8ac510dcaeba2c0287a6a9ed3b642cb9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aa94884697019fdd0f976e89d5655a8ac510dcaeba2c0287a6a9ed3b642cb9d", kill_on_drop: false }` [INFO] [stdout] 8aa94884697019fdd0f976e89d5655a8ac510dcaeba2c0287a6a9ed3b642cb9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6150e0732ae38f0b031ed7c1b13b93325dc703736bea5d8db736bca29fa756e [INFO] running `Command { std: "docker" "start" "-a" "f6150e0732ae38f0b031ed7c1b13b93325dc703736bea5d8db736bca29fa756e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling rustls-native-certs v0.6.1 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling brotli v3.3.3 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.16.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling twilight-http-ratelimiting v0.8.4 [INFO] [stderr] Compiling leaky-bucket-lite v0.2.2 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling tokio-tungstenite v0.16.1 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling twilight-model v0.8.5 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling youtube_dl v0.6.3 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling twilight-http v0.8.5 [INFO] [stderr] Compiling twilight-cache-inmemory v0.8.6 [INFO] [stderr] Compiling twilight-util v0.8.2 [INFO] [stderr] Compiling twilight-gateway-queue v0.8.1 [INFO] [stderr] Compiling twilight-gateway v0.8.5 [INFO] [stderr] Compiling moosicyak v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::helpers::youtube::search::VideoInfo` [INFO] [stdout] --> src/commands/application/search.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::helpers::youtube::search::VideoInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuildState` [INFO] [stdout] --> src/commands/message/search.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::state::{ApplicationState, EnqueuedVideo, GuildState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> src/state/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryStreamExt` [INFO] [stdout] --> src/commands/message/search.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_audio` is never used [INFO] [stdout] --> src/helpers/youtube/download.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) async fn download_audio( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `title`, `user`, and `downloaded_path` are never read [INFO] [stdout] --> src/state/mod.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct EnqueuedVideo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 26 | pub(crate) url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | pub(crate) title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub(crate) user: User, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub(crate) downloaded_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnqueuedVideo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_handle` is never read [INFO] [stdout] --> src/state/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct GuildState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | pub(crate) sender: mpsc::Sender, [INFO] [stdout] 35 | thread_handle: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GuildState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lock::Mutex` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{lock::Mutex, stream::StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let user_id = http.current_user().exec().await?.model().await?.id; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "f6150e0732ae38f0b031ed7c1b13b93325dc703736bea5d8db736bca29fa756e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6150e0732ae38f0b031ed7c1b13b93325dc703736bea5d8db736bca29fa756e", kill_on_drop: false }` [INFO] [stdout] f6150e0732ae38f0b031ed7c1b13b93325dc703736bea5d8db736bca29fa756e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91c9708dd2f993cca2d209d42245c9023d8b38350efd96bdf5f66840436bfa7e [INFO] running `Command { std: "docker" "start" "-a" "91c9708dd2f993cca2d209d42245c9023d8b38350efd96bdf5f66840436bfa7e", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::helpers::youtube::search::VideoInfo` [INFO] [stdout] --> src/commands/application/search.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::helpers::youtube::search::VideoInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuildState` [INFO] [stdout] --> src/commands/message/search.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::state::{ApplicationState, EnqueuedVideo, GuildState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> src/state/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryStreamExt` [INFO] [stdout] --> src/commands/message/search.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_audio` is never used [INFO] [stdout] --> src/helpers/youtube/download.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) async fn download_audio( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `title`, `user`, and `downloaded_path` are never read [INFO] [stdout] --> src/state/mod.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct EnqueuedVideo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 26 | pub(crate) url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | pub(crate) title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub(crate) user: User, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub(crate) downloaded_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnqueuedVideo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling moosicyak v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `thread_handle` is never read [INFO] [stdout] --> src/state/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct GuildState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | pub(crate) sender: mpsc::Sender, [INFO] [stdout] 35 | thread_handle: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GuildState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lock::Mutex` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{lock::Mutex, stream::StreamExt}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::helpers::youtube::search::VideoInfo` [INFO] [stdout] --> src/commands/application/search.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::helpers::youtube::search::VideoInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuildState` [INFO] [stdout] --> src/commands/message/search.rs:2:53 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::state::{ApplicationState, EnqueuedVideo, GuildState}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> src/state/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/main.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let user_id = http.current_user().exec().await?.model().await?.id; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryStreamExt` [INFO] [stdout] --> src/commands/message/search.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures::TryStreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `title`, `user`, and `downloaded_path` are never read [INFO] [stdout] --> src/state/mod.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct EnqueuedVideo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 26 | pub(crate) url: Url, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | pub(crate) title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | pub(crate) user: User, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | pub(crate) downloaded_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnqueuedVideo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `thread_handle` is never read [INFO] [stdout] --> src/state/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct GuildState { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | pub(crate) sender: mpsc::Sender, [INFO] [stdout] 35 | thread_handle: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GuildState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.19s [INFO] running `Command { std: "docker" "inspect" "91c9708dd2f993cca2d209d42245c9023d8b38350efd96bdf5f66840436bfa7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c9708dd2f993cca2d209d42245c9023d8b38350efd96bdf5f66840436bfa7e", kill_on_drop: false }` [INFO] [stdout] 91c9708dd2f993cca2d209d42245c9023d8b38350efd96bdf5f66840436bfa7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d073071d77ce0f93b4fd8cc567a1e2b9e1b22126" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c665c65971092a8af4cb82afab7cc81e71bee43b5ff582630f6f0fff5202be14 [INFO] running `Command { std: "docker" "start" "-a" "c665c65971092a8af4cb82afab7cc81e71bee43b5ff582630f6f0fff5202be14", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::helpers::youtube::search::VideoInfo` [INFO] [stderr] --> src/commands/application/search.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::helpers::youtube::search::VideoInfo; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `GuildState` [INFO] [stderr] --> src/commands/message/search.rs:2:53 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::state::{ApplicationState, EnqueuedVideo, GuildState}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::lock::Mutex` [INFO] [stderr] --> src/state/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::lock::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::TryStreamExt` [INFO] [stderr] --> src/commands/message/search.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use futures::TryStreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `download_audio` is never used [INFO] [stderr] --> src/helpers/youtube/download.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | pub(crate) async fn download_audio( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `url`, `title`, `user`, and `downloaded_path` are never read [INFO] [stderr] --> src/state/mod.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct EnqueuedVideo { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 26 | pub(crate) url: Url, [INFO] [stderr] | ^^^ [INFO] [stderr] 27 | pub(crate) title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 28 | pub(crate) user: User, [INFO] [stderr] | ^^^^ [INFO] [stderr] 29 | pub(crate) downloaded_path: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EnqueuedVideo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `thread_handle` is never read [INFO] [stderr] --> src/state/mod.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct GuildState { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 34 | pub(crate) sender: mpsc::Sender, [INFO] [stderr] 35 | thread_handle: JoinHandle<()>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GuildState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `url`, `title`, `user`, and `downloaded_path` are never read [INFO] [stderr] --> src/state/mod.rs:26:16 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct EnqueuedVideo { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 26 | pub(crate) url: Url, [INFO] [stderr] | ^^^ [INFO] [stderr] 27 | pub(crate) title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 28 | pub(crate) user: User, [INFO] [stderr] | ^^^^ [INFO] [stderr] 29 | pub(crate) downloaded_path: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EnqueuedVideo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `moosicyak` (lib) generated 7 warnings (run `cargo fix --lib -p moosicyak` to apply 3 suggestions) [INFO] [stderr] warning: `moosicyak` (lib test) generated 6 warnings (5 duplicates) [INFO] [stderr] warning: unused import: `lock::Mutex` [INFO] [stderr] --> src/main.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use futures::{lock::Mutex, stream::StreamExt}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_id` [INFO] [stderr] --> src/main.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let user_id = http.current_user().exec().await?.model().await?.id; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `moosicyak` (bin "moosicyak" test) generated 2 warnings (run `cargo fix --bin "moosicyak" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/moosicyak-f781d5955dc443d8) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test helpers::youtube::download::tests::test_download_audio ... FAILED [INFO] [stdout] test helpers::youtube::search::tests::test_query_videos ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- helpers::youtube::download::tests::test_download_audio stdout ---- [INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] ---- helpers::youtube::search::tests::test_query_videos stdout ---- [INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] helpers::youtube::download::tests::test_download_audio [INFO] [stdout] helpers::youtube::search::tests::test_query_videos [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "c665c65971092a8af4cb82afab7cc81e71bee43b5ff582630f6f0fff5202be14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c665c65971092a8af4cb82afab7cc81e71bee43b5ff582630f6f0fff5202be14", kill_on_drop: false }` [INFO] [stdout] c665c65971092a8af4cb82afab7cc81e71bee43b5ff582630f6f0fff5202be14