[INFO] cloning repository https://github.com/echoturing/chat-demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/echoturing/chat-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechoturing%2Fchat-demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechoturing%2Fchat-demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7085d3d383d32b5bd1df9582fdd23d2cdeff921 [INFO] building echoturing/chat-demo against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fechoturing%2Fchat-demo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/echoturing/chat-demo [INFO] finished tweaking git repo https://github.com/echoturing/chat-demo [INFO] tweaked toml for git repo https://github.com/echoturing/chat-demo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/echoturing/chat-demo on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/echoturing/chat-demo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-render v0.2.0 [INFO] [stderr] Downloaded httparse v1.9.3 [INFO] [stderr] Downloaded zerovec-derive v0.10.2 [INFO] [stderr] Downloaded actix-web-actors v4.3.0 [INFO] [stderr] Downloaded jsonwebtoken v9.3.0 [INFO] [stderr] Downloaded jobserver v0.1.31 [INFO] [stderr] Downloaded simple_asn1 v0.6.2 [INFO] [stderr] Downloaded implicit-clone v0.4.9 [INFO] [stderr] Downloaded gloo-timers v0.2.6 [INFO] [stderr] Downloaded gloo-render v0.1.1 [INFO] [stderr] Downloaded gloo-file v0.3.0 [INFO] [stderr] Downloaded gloo-storage v0.3.0 [INFO] [stderr] Downloaded gloo-file v0.2.3 [INFO] [stderr] Downloaded gloo-net v0.4.0 [INFO] [stderr] Downloaded gloo v0.10.0 [INFO] [stderr] Downloaded gloo-console v0.3.0 [INFO] [stderr] Downloaded implicit-clone-derive v0.1.1 [INFO] [stderr] Downloaded zerocopy v0.7.34 [INFO] [stderr] Downloaded gloo-net v0.5.0 [INFO] [stderr] Downloaded gloo-worker v0.4.0 [INFO] [stderr] Downloaded zerovec v0.10.2 [INFO] [stderr] Downloaded url v2.5.1 [INFO] [stderr] Downloaded idna v1.0.0 [INFO] [stderr] Downloaded gloo-worker v0.2.1 [INFO] [stderr] Downloaded yew-macro v0.21.0 [INFO] [stderr] Downloaded gloo v0.8.1 [INFO] [stderr] Downloaded zerocopy-derive v0.7.34 [INFO] [stderr] Downloaded redox_syscall v0.5.1 [INFO] [stderr] Downloaded gloo-dialogs v0.2.0 [INFO] [stderr] Downloaded actix-http v3.7.0 [INFO] [stderr] Downloaded gloo-worker-macros v0.1.0 [INFO] [stderr] Downloaded yew v0.21.0 [INFO] [stderr] Downloaded gloo-storage v0.2.2 [INFO] [stderr] Downloaded gloo-console v0.2.3 [INFO] [stderr] Downloaded pinned v0.1.0 [INFO] [stderr] Downloaded boolinator v2.4.0 [INFO] [stderr] Downloaded actix_derive v0.6.1 [INFO] [stderr] Downloaded actix-server v2.4.0 [INFO] [stderr] Downloaded object v0.36.0 [INFO] [stderr] Downloaded miniz_oxide v0.7.3 [INFO] [stderr] Downloaded gloo-dialogs v0.1.1 [INFO] [stderr] Downloaded prettyplease v0.2.20 [INFO] [stderr] Downloaded icu_properties v1.5.0 [INFO] [stderr] Downloaded actix-web v4.7.0 [INFO] [stderr] Downloaded num-bigint v0.4.5 [INFO] [stderr] Downloaded syn v2.0.66 [INFO] [stderr] Downloaded gloo-events v0.2.0 [INFO] [stderr] Downloaded gloo-history v0.2.2 [INFO] [stderr] Downloaded toml_datetime v0.6.6 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.5.0 [INFO] [stderr] Downloaded gloo-net v0.3.1 [INFO] [stderr] Downloaded gloo-utils v0.1.7 [INFO] [stderr] Downloaded serde_json v1.0.117 [INFO] [stderr] Downloaded gloo-events v0.1.2 [INFO] [stderr] Downloaded gloo-history v0.1.5 [INFO] [stderr] Downloaded cc v1.0.99 [INFO] [stderr] Downloaded prokio v0.1.0 [INFO] [stderr] Downloaded displaydoc v0.2.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dffa5077ac5fc004c4c07085f6f731c47c92dacdddd1779ace0739c93f31b8dd [INFO] running `Command { std: "docker" "start" "-a" "dffa5077ac5fc004c4c07085f6f731c47c92dacdddd1779ace0739c93f31b8dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dffa5077ac5fc004c4c07085f6f731c47c92dacdddd1779ace0739c93f31b8dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dffa5077ac5fc004c4c07085f6f731c47c92dacdddd1779ace0739c93f31b8dd", kill_on_drop: false }` [INFO] [stdout] dffa5077ac5fc004c4c07085f6f731c47c92dacdddd1779ace0739c93f31b8dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 724888b1809318ae6cda2de9ebb44d5c7102a5fcc07eede2b81018727f3654cf [INFO] running `Command { std: "docker" "start" "-a" "724888b1809318ae6cda2de9ebb44d5c7102a5fcc07eede2b81018727f3654cf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling httparse v1.9.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix_derive v0.6.1 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling implicit-clone v0.4.9 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling zerovec v0.10.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling js-sys v0.3.69 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.4.0 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stderr] Compiling icu_properties v1.5.0 [INFO] [stderr] Compiling web-sys v0.3.69 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.42 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna v1.0.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling url v2.5.1 [INFO] [stderr] Compiling actix-http v3.7.0 [INFO] [stderr] Compiling actix-web v4.7.0 [INFO] [stderr] Compiling actix-web-actors v4.3.0 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-events v0.2.0 [INFO] [stderr] Compiling gloo-render v0.2.0 [INFO] [stderr] Compiling gloo-dialogs v0.2.0 [INFO] [stderr] Compiling chat-server v0.1.0 (/opt/rustwide/workdir/chat-server) [INFO] [stderr] Compiling gloo-file v0.3.0 [INFO] [stdout] warning: unused import: `Actor` [INFO] [stdout] --> chat-server/src/handlers/ws_handlers.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Actor, Addr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Algorithm`, `DecodingKey`, `Validation`, and `decode` [INFO] [stdout] --> chat-server/src/jwt.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use jsonwebtoken::{encode, decode, Header, Algorithm, Validation, EncodingKey, DecodingKey}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::user::User` [INFO] [stdout] --> chat-server/src/conversation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_actors::ws` [INFO] [stdout] --> chat-server/src/conversation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web_actors::ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gloo-console v0.3.0 [INFO] [stderr] Compiling gloo-history v0.2.2 [INFO] [stderr] Compiling gloo-storage v0.3.0 [INFO] [stderr] Compiling gloo-worker v0.4.0 [INFO] [stderr] Compiling gloo-net v0.4.0 [INFO] [stderr] Compiling gloo-net v0.5.0 [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> chat-server/src/server.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle(&mut self, msg: ChatMessage, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> chat-server/src/jwt.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(user_id: String) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `encode` are never used [INFO] [stdout] --> chat-server/src/jwt.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Claims { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(user_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn encode(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gloo v0.10.0 [INFO] [stderr] Compiling yew v0.21.0 [INFO] [stderr] Compiling local-test v0.1.0 (/opt/rustwide/workdir/local-test) [INFO] [stderr] Compiling chat-client v0.1.0 (/opt/rustwide/workdir/chat-client) [INFO] [stdout] warning: unused import: `crate::components::user::User` [INFO] [stdout] --> chat-client/src/components/chat_message.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `props` [INFO] [stdout] --> chat-client/src/components/messages_window.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::{function_component, html, props, Html, Properties}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::AttrValue` [INFO] [stdout] --> chat-client/src/components/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::AttrValue; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> chat-client/src/client_app.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 22s [INFO] running `Command { std: "docker" "inspect" "724888b1809318ae6cda2de9ebb44d5c7102a5fcc07eede2b81018727f3654cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "724888b1809318ae6cda2de9ebb44d5c7102a5fcc07eede2b81018727f3654cf", kill_on_drop: false }` [INFO] [stdout] 724888b1809318ae6cda2de9ebb44d5c7102a5fcc07eede2b81018727f3654cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bfcba4c145ddbc8ff2034679543fb22953fe8a975f80496ae53c4d7790eb87a [INFO] running `Command { std: "docker" "start" "-a" "0bfcba4c145ddbc8ff2034679543fb22953fe8a975f80496ae53c4d7790eb87a", kill_on_drop: false }` [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: unused import: `crate::components::user::User` [INFO] [stdout] --> chat-client/src/components/chat_message.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `props` [INFO] [stdout] --> chat-client/src/components/messages_window.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::{function_component, html, props, Html, Properties}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::AttrValue` [INFO] [stdout] --> chat-client/src/components/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::AttrValue; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> chat-client/src/client_app.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chat-client v0.1.0 (/opt/rustwide/workdir/chat-client) [INFO] [stdout] warning: unused import: `Actor` [INFO] [stdout] --> chat-server/src/handlers/ws_handlers.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Actor, Addr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Algorithm`, `DecodingKey`, `Validation`, and `decode` [INFO] [stdout] --> chat-server/src/jwt.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use jsonwebtoken::{encode, decode, Header, Algorithm, Validation, EncodingKey, DecodingKey}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::user::User` [INFO] [stdout] --> chat-server/src/conversation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_actors::ws` [INFO] [stdout] --> chat-server/src/conversation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web_actors::ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> chat-server/src/server.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle(&mut self, msg: ChatMessage, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> chat-server/src/jwt.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(user_id: String) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling chat-server v0.1.0 (/opt/rustwide/workdir/chat-server) [INFO] [stdout] warning: associated items `new` and `encode` are never used [INFO] [stdout] --> chat-server/src/jwt.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Claims { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(user_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn encode(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling local-test v0.1.0 (/opt/rustwide/workdir/local-test) [INFO] [stdout] warning: unused import: `Actor` [INFO] [stdout] --> chat-server/src/handlers/ws_handlers.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use actix::{Actor, Addr}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Algorithm`, `DecodingKey`, `Validation`, and `decode` [INFO] [stdout] --> chat-server/src/jwt.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use jsonwebtoken::{encode, decode, Header, Algorithm, Validation, EncodingKey, DecodingKey}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::user::User` [INFO] [stdout] --> chat-server/src/conversation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web_actors::ws` [INFO] [stdout] --> chat-server/src/conversation.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web_actors::ws; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::user::User` [INFO] [stdout] --> chat-client/src/components/chat_message.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `props` [INFO] [stdout] --> chat-client/src/components/messages_window.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::{function_component, html, props, Html, Properties}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::AttrValue` [INFO] [stdout] --> chat-client/src/components/user.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::AttrValue; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> chat-server/src/server.rs:42:44 [INFO] [stdout] | [INFO] [stdout] 42 | fn handle(&mut self, msg: ChatMessage, ctx: &mut Self::Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> chat-server/src/jwt.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(user_id: String) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> chat-client/src/client_app.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `encode` are never used [INFO] [stdout] --> chat-server/src/jwt.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Claims { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 19 | pub fn new(user_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn encode(&self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> chat-server/src/jwt.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | test(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = test(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.48s [INFO] running `Command { std: "docker" "inspect" "0bfcba4c145ddbc8ff2034679543fb22953fe8a975f80496ae53c4d7790eb87a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bfcba4c145ddbc8ff2034679543fb22953fe8a975f80496ae53c4d7790eb87a", kill_on_drop: false }` [INFO] [stdout] 0bfcba4c145ddbc8ff2034679543fb22953fe8a975f80496ae53c4d7790eb87a