[INFO] fetching crate chatrs 0.1.0... [INFO] testing chatrs-0.1.0 against master#404c8471aba60c2d837fa728e7c729a0f52d5830 for pr-87041-1 [INFO] extracting crate chatrs 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate chatrs 0.1.0 on toolchain 404c8471aba60c2d837fa728e7c729a0f52d5830 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate chatrs 0.1.0 [INFO] finished tweaking crates.io crate chatrs 0.1.0 [INFO] tweaked toml for crates.io crate chatrs 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate chatrs 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "fetch" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad8b972ccad32350fac04b32e2858c0e7e24f7c0b0ade57f0aeedf731655807d [INFO] running `Command { std: "docker" "start" "-a" "ad8b972ccad32350fac04b32e2858c0e7e24f7c0b0ade57f0aeedf731655807d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad8b972ccad32350fac04b32e2858c0e7e24f7c0b0ade57f0aeedf731655807d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad8b972ccad32350fac04b32e2858c0e7e24f7c0b0ade57f0aeedf731655807d", kill_on_drop: false }` [INFO] [stdout] ad8b972ccad32350fac04b32e2858c0e7e24f7c0b0ade57f0aeedf731655807d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ade42d93227a50f112fd7cd18cadeba6ae01a8491cc3986ab55b8a989d99936b [INFO] running `Command { std: "docker" "start" "-a" "ade42d93227a50f112fd7cd18cadeba6ae01a8491cc3986ab55b8a989d99936b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.111 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling v_escape v0.15.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling v_htmlescape v0.12.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling buf-min v0.4.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling phf v0.10.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.10.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling md-5 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.0 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling v_escape_derive v0.8.5 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix v0.10.0 [INFO] [stderr] Compiling actix-http v2.2.1 [INFO] [stderr] Compiling handlebars v4.1.6 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-files v0.5.0 [INFO] [stderr] Compiling actix-web-actors v3.0.0 [INFO] [stderr] Compiling chatrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ActorContext`, `ActorFuture`, `ContextFutureSpawner`, `WrapFuture`, `fut::FutureWrap`, `fut`, `prelude::Future` [INFO] [stdout] --> src/chat.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Actor, ActorFuture, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | ContextFutureSpawner, ActorContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 5 | WrapFuture, StreamHandler, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fut, fut::FutureWrap, prelude::Future}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | fn handle(&mut self, msg: ConnMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:198:40 [INFO] [stdout] | [INFO] [stdout] 198 | fn handle(&mut self, msg: CheckId, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | fn handle(&mut self, msg: DiscMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn handle(&mut self, msg: ChatSockMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Message`, `Recipient`, `StreamHandler` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use actix::{Actor, StreamHandler, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | Addr, AsyncContext, Message, Recipient, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/main.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActorContext`, `ActorFuture`, `ContextFutureSpawner`, `WrapFuture`, `fut::FutureWrap`, `fut`, `prelude::Future` [INFO] [stdout] --> src/chat.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Actor, ActorFuture, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | ContextFutureSpawner, ActorContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 5 | WrapFuture, StreamHandler, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fut, fut::FutureWrap, prelude::Future}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncContext` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | Addr, AsyncContext, Message, Recipient, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | async fn index(req: HttpRequest) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | async fn pedir_rfc(req: HttpRequest) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | async fn enter_chat(req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `th` [INFO] [stdout] --> src/main.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let th = thread::spawn(move || { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_th` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:184:28 [INFO] [stdout] | [INFO] [stdout] 184 | .then(|res, s, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | fn handle(&mut self, msg: ConnMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:198:40 [INFO] [stdout] | [INFO] [stdout] 198 | fn handle(&mut self, msg: CheckId, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | fn handle(&mut self, msg: DiscMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn handle(&mut self, msg: ChatSockMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | let mut file = File::open(path); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_counter` [INFO] [stdout] --> src/main.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | async fn get_counter(data: web::Data>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 38.40s [INFO] running `Command { std: "docker" "inspect" "ade42d93227a50f112fd7cd18cadeba6ae01a8491cc3986ab55b8a989d99936b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade42d93227a50f112fd7cd18cadeba6ae01a8491cc3986ab55b8a989d99936b", kill_on_drop: false }` [INFO] [stdout] ade42d93227a50f112fd7cd18cadeba6ae01a8491cc3986ab55b8a989d99936b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83e742dfe0bb5bdfc0b266ffb54d43579c707394e2551bdce93efb627a0a1f3d [INFO] running `Command { std: "docker" "start" "-a" "83e742dfe0bb5bdfc0b266ffb54d43579c707394e2551bdce93efb627a0a1f3d", kill_on_drop: false }` [INFO] [stderr] Compiling chatrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ActorContext`, `ActorFuture`, `ContextFutureSpawner`, `WrapFuture`, `fut::FutureWrap`, `fut`, `prelude::Future` [INFO] [stdout] --> src/chat.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Actor, ActorFuture, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | ContextFutureSpawner, ActorContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 5 | WrapFuture, StreamHandler, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fut, fut::FutureWrap, prelude::Future}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | fn handle(&mut self, msg: ConnMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:198:40 [INFO] [stdout] | [INFO] [stdout] 198 | fn handle(&mut self, msg: CheckId, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | fn handle(&mut self, msg: DiscMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn handle(&mut self, msg: ChatSockMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Message`, `Recipient`, `StreamHandler` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use actix::{Actor, StreamHandler, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 5 | Addr, AsyncContext, Message, Recipient, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/main.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActorContext`, `ActorFuture`, `ContextFutureSpawner`, `WrapFuture`, `fut::FutureWrap`, `fut`, `prelude::Future` [INFO] [stdout] --> src/chat.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Actor, ActorFuture, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | ContextFutureSpawner, ActorContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 5 | WrapFuture, StreamHandler, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fut, fut::FutureWrap, prelude::Future}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | thread::sleep_ms(1000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActorContext`, `ActorFuture`, `ContextFutureSpawner`, `WrapFuture`, `fut::FutureWrap`, `fut`, `prelude::Future` [INFO] [stdout] --> src/chat.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Actor, ActorFuture, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 4 | ContextFutureSpawner, ActorContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 5 | WrapFuture, StreamHandler, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fut, fut::FutureWrap, prelude::Future}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncContext` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | Addr, AsyncContext, Message, Recipient, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | async fn index(req: HttpRequest) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | async fn pedir_rfc(req: HttpRequest) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | async fn enter_chat(req: HttpRequest, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `th` [INFO] [stdout] --> src/main.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | let th = thread::spawn(move || { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_th` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/main.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:184:28 [INFO] [stdout] | [INFO] [stdout] 184 | .then(|res, s, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | fn handle(&mut self, msg: ConnMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:198:40 [INFO] [stdout] | [INFO] [stdout] 198 | fn handle(&mut self, msg: CheckId, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | fn handle(&mut self, msg: DiscMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn handle(&mut self, msg: ChatSockMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | fn handle(&mut self, msg: ConnMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:198:40 [INFO] [stdout] | [INFO] [stdout] 198 | fn handle(&mut self, msg: CheckId, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:208:41 [INFO] [stdout] | [INFO] [stdout] 208 | fn handle(&mut self, msg: DiscMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/chat.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn handle(&mut self, msg: ChatSockMess, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | let mut file = File::open(path); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_counter` [INFO] [stdout] --> src/main.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 250 | async fn get_counter(data: web::Data>>) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.18s [INFO] running `Command { std: "docker" "inspect" "83e742dfe0bb5bdfc0b266ffb54d43579c707394e2551bdce93efb627a0a1f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83e742dfe0bb5bdfc0b266ffb54d43579c707394e2551bdce93efb627a0a1f3d", kill_on_drop: false }` [INFO] [stdout] 83e742dfe0bb5bdfc0b266ffb54d43579c707394e2551bdce93efb627a0a1f3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a429bb59b7a3b4e7270a4b4c243bb115fc561d8f62ec34ef63a0a36cabf65dfd" "/opt/rustwide/cargo-home/bin/cargo" "+404c8471aba60c2d837fa728e7c729a0f52d5830" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e44e856cec958c1e11b6d6da7d3ec986c3c2da6deb5d23a5d1ed775e2fbc355 [INFO] running `Command { std: "docker" "start" "-a" "6e44e856cec958c1e11b6d6da7d3ec986c3c2da6deb5d23a5d1ed775e2fbc355", 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] [stderr] warning: unused imports: `ActorContext`, `ActorFuture`, `ContextFutureSpawner`, `WrapFuture`, `fut::FutureWrap`, `fut`, `prelude::Future` [INFO] [stderr] --> src/chat.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use actix::{Actor, ActorFuture, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 4 | ContextFutureSpawner, ActorContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] 5 | WrapFuture, StreamHandler, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 9 | fut, fut::FutureWrap, prelude::Future}; [INFO] [stderr] | ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/chat.rs:189:41 [INFO] [stderr] | [INFO] [stderr] 189 | fn handle(&mut self, msg: ConnMess, ctx: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/chat.rs:198:40 [INFO] [stderr] | [INFO] [stderr] 198 | fn handle(&mut self, msg: CheckId, ctx: &mut Self::Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/chat.rs:208:41 [INFO] [stderr] | [INFO] [stderr] 208 | fn handle(&mut self, msg: DiscMess, ctx: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/chat.rs:217:45 [INFO] [stderr] | [INFO] [stderr] 217 | fn handle(&mut self, msg: ChatSockMess, ctx: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: `chatrs` (lib) generated 5 warnings [INFO] [stderr] warning: `chatrs` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: unused imports: `Message`, `Recipient`, `StreamHandler` [INFO] [stderr] --> src/main.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | use actix::{Actor, StreamHandler, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 5 | Addr, AsyncContext, Message, Recipient, [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Serialize` [INFO] [stderr] --> src/main.rs:13:26 [INFO] [stderr] | [INFO] [stderr] 13 | use serde::{Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ActorContext`, `ActorFuture`, `ContextFutureSpawner`, `WrapFuture`, `fut::FutureWrap`, `fut`, `prelude::Future` [INFO] [stderr] --> src/chat.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use actix::{Actor, ActorFuture, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 4 | ContextFutureSpawner, ActorContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] 5 | WrapFuture, StreamHandler, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 9 | fut, fut::FutureWrap, prelude::Future}; [INFO] [stderr] | ^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stderr] --> src/main.rs:259:17 [INFO] [stderr] | [INFO] [stderr] 259 | thread::sleep_ms(1000); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncContext` [INFO] [stderr] --> src/main.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | Addr, AsyncContext, Message, Recipient, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/main.rs:37:16 [INFO] [stderr] | [INFO] [stderr] 37 | async fn index(req: HttpRequest) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/main.rs:56:20 [INFO] [stderr] | [INFO] [stderr] 56 | async fn pedir_rfc(req: HttpRequest) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/main.rs:201:21 [INFO] [stderr] | [INFO] [stderr] 201 | async fn enter_chat(req: HttpRequest, [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `th` [INFO] [stderr] --> src/main.rs:334:9 [INFO] [stderr] | [INFO] [stderr] 334 | let th = thread::spawn(move || { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_th` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/main.rs:190:25 [INFO] [stderr] | [INFO] [stderr] 190 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:184:28 [INFO] [stderr] | [INFO] [stderr] 184 | .then(|res, s, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/chat.rs:189:41 [INFO] [stderr] | [INFO] [stderr] 189 | fn handle(&mut self, msg: ConnMess, ctx: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:280:9 [INFO] [stderr] | [INFO] [stderr] 280 | let mut file = File::open(path); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_counter` [INFO] [stderr] --> src/main.rs:250:10 [INFO] [stderr] | [INFO] [stderr] 250 | async fn get_counter(data: web::Data>>) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `chatrs` (bin "chatrs" test) generated 17 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chatrs-3b4666a50b370612) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/chatrs-ba7cd0ba66d33185) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests chatrs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6e44e856cec958c1e11b6d6da7d3ec986c3c2da6deb5d23a5d1ed775e2fbc355", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e44e856cec958c1e11b6d6da7d3ec986c3c2da6deb5d23a5d1ed775e2fbc355", kill_on_drop: false }` [INFO] [stdout] 6e44e856cec958c1e11b6d6da7d3ec986c3c2da6deb5d23a5d1ed775e2fbc355