[INFO] fetching crate revolute 0.1.0... [INFO] checking revolute-0.1.0 against master#0d56e340472882fa673d4b98d0802b9a799879d0 for pr-101692 [INFO] extracting crate revolute 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate revolute 0.1.0 on toolchain 0d56e340472882fa673d4b98d0802b9a799879d0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate revolute 0.1.0 [INFO] finished tweaking crates.io crate revolute 0.1.0 [INFO] tweaked toml for crates.io crate revolute 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded revolt_api v0.5.5 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a7939b229630b2796ceb6ae7807a0ff1e1307981e2c9eab7e6811e9a391bd6b [INFO] running `Command { std: "docker" "start" "-a" "4a7939b229630b2796ceb6ae7807a0ff1e1307981e2c9eab7e6811e9a391bd6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a7939b229630b2796ceb6ae7807a0ff1e1307981e2c9eab7e6811e9a391bd6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a7939b229630b2796ceb6ae7807a0ff1e1307981e2c9eab7e6811e9a391bd6b", kill_on_drop: false }` [INFO] [stdout] 4a7939b229630b2796ceb6ae7807a0ff1e1307981e2c9eab7e6811e9a391bd6b [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" "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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+0d56e340472882fa673d4b98d0802b9a799879d0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40a4ec0010f1891861a8f6d8bc9ccb787bd04db10513ba029aaf82b41ea11124 [INFO] running `Command { std: "docker" "start" "-a" "40a4ec0010f1891861a8f6d8bc9ccb787bd04db10513ba029aaf82b41ea11124", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking async-task v4.3.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling polling v2.3.0 [INFO] [stderr] Compiling async-io v1.9.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.9 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking concurrent-queue v1.2.4 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking async-lock v2.5.0 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking async-channel v1.7.1 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking blocking v1.2.0 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Compiling ctor v0.1.23 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-global-executor v2.3.0 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking revolt_api v0.5.5 [INFO] [stderr] Checking revolute v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | models::{self} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | models::{self} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `configuration`, `revolt_config` and `session` are never read [INFO] [stdout] --> src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 10 | pub configuration: apis::configuration::Configuration, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub revolt_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub session: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Client` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `connect` is never used [INFO] [stdout] --> src/lib.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | pub async fn connect(&mut self) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fetch_configuration` is never used [INFO] [stdout] --> src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | pub async fn fetch_configuration(&mut self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_headers` is never used [INFO] [stdout] --> src/lib.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn update_headers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `login_bot` is never used [INFO] [stdout] --> src/lib.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn login_bot(&mut self, token: String) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `session` is never read [INFO] [stdout] --> src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub session: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Client` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_headers` is never used [INFO] [stdout] --> src/lib.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn update_headers(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `login_bot` is never used [INFO] [stdout] --> src/lib.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | pub async fn login_bot(&mut self, token: String) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "40a4ec0010f1891861a8f6d8bc9ccb787bd04db10513ba029aaf82b41ea11124", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a4ec0010f1891861a8f6d8bc9ccb787bd04db10513ba029aaf82b41ea11124", kill_on_drop: false }` [INFO] [stdout] 40a4ec0010f1891861a8f6d8bc9ccb787bd04db10513ba029aaf82b41ea11124