[INFO] cloning repository https://github.com/rndrmu/revolt-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rndrmu/revolt-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frndrmu%2Frevolt-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frndrmu%2Frevolt-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2a5950a55bfd469b04a34ac8a05f0ff0ee0bb1b [INFO] building rndrmu/revolt-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frndrmu%2Frevolt-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rndrmu/revolt-rs [INFO] finished tweaking git repo https://github.com/rndrmu/revolt-rs [INFO] tweaked toml for git repo https://github.com/rndrmu/revolt-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rndrmu/revolt-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rndrmu/revolt-rs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-util v0.7.2 [INFO] [stderr] Downloaded dotenv v0.13.0 [INFO] [stderr] Downloaded backtrace v0.3.65 [INFO] [stderr] Downloaded openssl-sys v0.9.73 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] [stderr] Downloaded object v0.28.4 [INFO] [stderr] Downloaded openssl v0.10.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad617eab3a0299e1161dd3e4a2e50f83794c9218330155ea8425e1fb4d018866 [INFO] running `Command { std: "docker" "start" "-a" "ad617eab3a0299e1161dd3e4a2e50f83794c9218330155ea8425e1fb4d018866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad617eab3a0299e1161dd3e4a2e50f83794c9218330155ea8425e1fb4d018866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad617eab3a0299e1161dd3e4a2e50f83794c9218330155ea8425e1fb4d018866", kill_on_drop: false }` [INFO] [stdout] ad617eab3a0299e1161dd3e4a2e50f83794c9218330155ea8425e1fb4d018866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fd0df2fd1a7bd238d3399a0f3f94195e8ba6138e0d323e9709ae88f52c03c7c [INFO] running `Command { std: "docker" "start" "-a" "4fd0df2fd1a7bd238d3399a0f3f94195e8ba6138e0d323e9709ae88f52c03c7c", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling ataraxia-voice v0.1.0 (/opt/rustwide/workdir/ataraxia-voice) [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tungstenite v0.17.2 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.17.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling ataraxia v0.1.0 (/opt/rustwide/workdir/ataraxia) [INFO] [stdout] warning: unused import: `ops::DerefMut` [INFO] [stdout] --> ataraxia/src/websocket.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{sync::{Arc}, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_url` is never read [INFO] [stdout] --> ataraxia/src/websocket.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | api_url: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> ataraxia/src/context.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct VoiceChannel { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.43s [INFO] running `Command { std: "docker" "inspect" "4fd0df2fd1a7bd238d3399a0f3f94195e8ba6138e0d323e9709ae88f52c03c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd0df2fd1a7bd238d3399a0f3f94195e8ba6138e0d323e9709ae88f52c03c7c", kill_on_drop: false }` [INFO] [stdout] 4fd0df2fd1a7bd238d3399a0f3f94195e8ba6138e0d323e9709ae88f52c03c7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88defdef5f114e987fbd45dc1bdcc33e02b00d735eabd54dd71623f31d44d1f4 [INFO] running `Command { std: "docker" "start" "-a" "88defdef5f114e987fbd45dc1bdcc33e02b00d735eabd54dd71623f31d44d1f4", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling ataraxia-voice v0.1.0 (/opt/rustwide/workdir/ataraxia-voice) [INFO] [stderr] Compiling ataraxia v0.1.0 (/opt/rustwide/workdir/ataraxia) [INFO] [stderr] Compiling ataraxia-examples v0.0.0 (/opt/rustwide/workdir/examples) [INFO] [stdout] warning: unused import: `ops::DerefMut` [INFO] [stdout] --> ataraxia/src/websocket.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{sync::{Arc}, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_url` is never read [INFO] [stdout] --> ataraxia/src/websocket.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | api_url: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> ataraxia/src/context.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct VoiceChannel { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Http` [INFO] [stdout] --> examples/basic_bot.rs:9:59 [INFO] [stdout] | [INFO] [stdout] 9 | use ataraxia::{models::message::Message as RevoltMessage, http::Http}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::DerefMut` [INFO] [stdout] --> ataraxia/src/websocket.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{sync::{Arc}, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/basic_bot.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Client::new(token).await.run(Handler).await; [INFO] [stdout] | ^^^^^^^^^^^------- argument #2 of type `Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/ataraxia/src/websocket.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn new(token: String, api_url: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 61 | Client::new(token, /* Option */).await.run(Handler).await; [INFO] [stdout] | ++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> examples/basic_bot.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | async fn ready(&self, ctx: Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vc` [INFO] [stdout] --> examples/basic_bot.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let vc = ctx.join_voice_channel(voice_channel_id).await.unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ataraxia-examples` (example "ping-pong-bot") due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `api_url` is never read [INFO] [stdout] --> ataraxia/src/websocket.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | api_url: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> ataraxia/src/context.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct VoiceChannel { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "88defdef5f114e987fbd45dc1bdcc33e02b00d735eabd54dd71623f31d44d1f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88defdef5f114e987fbd45dc1bdcc33e02b00d735eabd54dd71623f31d44d1f4", kill_on_drop: false }` [INFO] [stdout] 88defdef5f114e987fbd45dc1bdcc33e02b00d735eabd54dd71623f31d44d1f4