[INFO] fetching crate chatrs 0.1.0... [INFO] testing chatrs-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate chatrs 0.1.0 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chatrs 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate chatrs 0.1.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] Downloading crates ... [INFO] [stderr] Downloaded phf v0.10.0 [INFO] [stderr] Downloaded crypto-common v0.1.0 [INFO] [stderr] Downloaded digest v0.10.0 [INFO] [stderr] Downloaded sha2 v0.10.0 [INFO] [stderr] Downloaded buf-min v0.4.0 [INFO] [stderr] Downloaded hmac v0.12.0 [INFO] [stderr] Downloaded postgres-types v0.2.2 [INFO] [stderr] Downloaded tokio-postgres v0.7.5 [INFO] [stderr] Downloaded v_escape_derive v0.8.5 [INFO] [stderr] Downloaded handlebars v4.1.6 [INFO] [stderr] Downloaded v_escape v0.15.0 [INFO] [stderr] Downloaded v_htmlescape v0.12.0 [INFO] [stderr] Downloaded actix-files v0.5.0 [INFO] [stderr] Downloaded actix-http v2.2.1 [INFO] [stderr] Downloaded postgres-protocol v0.6.3 [INFO] [stderr] Downloaded libc v0.2.111 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41e6dd48ed946bdd0d7b793dfcb8c931ec529df83ce4d30693e523c0443f5bee [INFO] running `Command { std: "docker" "start" "-a" "41e6dd48ed946bdd0d7b793dfcb8c931ec529df83ce4d30693e523c0443f5bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41e6dd48ed946bdd0d7b793dfcb8c931ec529df83ce4d30693e523c0443f5bee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41e6dd48ed946bdd0d7b793dfcb8c931ec529df83ce4d30693e523c0443f5bee", kill_on_drop: false }` [INFO] [stdout] 41e6dd48ed946bdd0d7b793dfcb8c931ec529df83ce4d30693e523c0443f5bee [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d336faf47f3cd90137c75967da0332a38a5508ad855357645377c17f4c9e8d6e [INFO] running `Command { std: "docker" "start" "-a" "d336faf47f3cd90137c75967da0332a38a5508ad855357645377c17f4c9e8d6e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.111 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling crypto-common v0.1.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling digest v0.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling v_escape v0.15.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling sha2 v0.10.0 [INFO] [stderr] Compiling md-5 v0.10.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling buf-min v0.4.0 [INFO] [stderr] Compiling v_htmlescape v0.12.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling phf v0.10.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-util v0.6.9 [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 pin-project-internal v1.0.8 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [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 v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [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 brotli2 v0.3.2 [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 serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling handlebars v4.1.6 [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 awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-web-actors v3.0.0 [INFO] [stderr] Compiling actix-files v0.5.0 [INFO] [stderr] Compiling chatrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ActorContext`, `ActorFuture`, `ContextFutureSpawner`, `WrapFuture`, `fut::FutureWrap`, `fut`, and `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 doc comment [INFO] [stdout] --> src/chat.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | .try_send(ConnMess { /// try to send a connection message to register in the chat [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | addr_res: addr_ws.recipient(), //this chatsock [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` 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: unused imports: `Message`, `Recipient`, and `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`, and `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: unused doc comment [INFO] [stdout] --> src/chat.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | .try_send(ConnMess { /// try to send a connection message to register in the chat [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | addr_res: addr_ws.recipient(), //this chatsock [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [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 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 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: `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: `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: 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: 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: function `get_counter` is never used [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d336faf47f3cd90137c75967da0332a38a5508ad855357645377c17f4c9e8d6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d336faf47f3cd90137c75967da0332a38a5508ad855357645377c17f4c9e8d6e", kill_on_drop: false }` [INFO] [stdout] d336faf47f3cd90137c75967da0332a38a5508ad855357645377c17f4c9e8d6e [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7ca593af177946ecb7d09e87a7250916a6d8917e938517aec9523fd2066275bf [INFO] running `Command { std: "docker" "start" "-a" "7ca593af177946ecb7d09e87a7250916a6d8917e938517aec9523fd2066275bf", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `ActorContext`, `ActorFuture`, `ContextFutureSpawner`, `WrapFuture`, `fut::FutureWrap`, `fut`, and `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 doc comment [INFO] [stdout] --> src/chat.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | .try_send(ConnMess { /// try to send a connection message to register in the chat [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | addr_res: addr_ws.recipient(), //this chatsock [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chatrs v0.1.0 (/opt/rustwide/workdir) [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: unused imports: `ActorContext`, `ActorFuture`, `ContextFutureSpawner`, `WrapFuture`, `fut::FutureWrap`, `fut`, and `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 doc comment [INFO] [stdout] --> src/chat.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | .try_send(ConnMess { /// try to send a connection message to register in the chat [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | addr_res: addr_ws.recipient(), //this chatsock [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Message`, `Recipient`, and `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`, and `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: unused doc comment [INFO] [stdout] --> src/chat.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | .try_send(ConnMess { /// try to send a connection message to register in the chat [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | addr_res: addr_ws.recipient(), //this chatsock [INFO] [stdout] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [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 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: 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 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: `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: `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: 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: 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: function `get_counter` is never used [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7ca593af177946ecb7d09e87a7250916a6d8917e938517aec9523fd2066275bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca593af177946ecb7d09e87a7250916a6d8917e938517aec9523fd2066275bf", kill_on_drop: false }` [INFO] [stdout] 7ca593af177946ecb7d09e87a7250916a6d8917e938517aec9523fd2066275bf [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ada6d3ddd7a000db54f8faa65dcacb160ee45b45278cb2e28960f4834c2a2e42 [INFO] running `Command { std: "docker" "start" "-a" "ada6d3ddd7a000db54f8faa65dcacb160ee45b45278cb2e28960f4834c2a2e42", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ActorContext`, `ActorFuture`, `ContextFutureSpawner`, `WrapFuture`, `fut::FutureWrap`, `fut`, and `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 doc comment [INFO] [stderr] --> src/chat.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | .try_send(ConnMess { /// try to send a connection message to register in the chat [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 95 | addr_res: addr_ws.recipient(), //this chatsock [INFO] [stderr] | ----------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` 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 6 warnings (run `cargo fix --lib -p chatrs` to apply 1 suggestion) [INFO] [stderr] warning: `chatrs` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: unused imports: `Message`, `Recipient`, and `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`, and `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 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 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: `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: 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: 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: 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: function `get_counter` is never used [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 18 warnings (4 duplicates) (run `cargo fix --bin "chatrs" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/chatrs-7052c95f7815b681) [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 src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/chatrs-56f48a7486a20ba4) [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" "ada6d3ddd7a000db54f8faa65dcacb160ee45b45278cb2e28960f4834c2a2e42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada6d3ddd7a000db54f8faa65dcacb160ee45b45278cb2e28960f4834c2a2e42", kill_on_drop: false }` [INFO] [stdout] ada6d3ddd7a000db54f8faa65dcacb160ee45b45278cb2e28960f4834c2a2e42