[INFO] cloning repository https://github.com/Merkist/Chat_app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Merkist/Chat_app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMerkist%2FChat_app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMerkist%2FChat_app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80d73fd8c91890a0c197f01ba7af50b507e335a3 [INFO] testing Merkist/Chat_app against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMerkist%2FChat_app" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Merkist/Chat_app [INFO] finished tweaking git repo https://github.com/Merkist/Chat_app [INFO] tweaked toml for git repo https://github.com/Merkist/Chat_app written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Merkist/Chat_app on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Merkist/Chat_app 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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_meta v2.7.15 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded http-range v0.1.5 [INFO] [stderr] Downloaded pest_generator v2.7.15 [INFO] [stderr] Downloaded v_htmlescape v0.15.8 [INFO] [stderr] Downloaded actix-files v0.6.6 [INFO] [stderr] Downloaded actix-session v0.10.1 [INFO] [stderr] Downloaded actix v0.13.5 [INFO] [stderr] Downloaded pest_derive v2.7.15 [INFO] [stderr] Downloaded rsa v0.9.7 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.1 [INFO] [stderr] Downloaded pest v2.7.15 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded base64 v0.20.0 [INFO] [stderr] Downloaded ignore v0.4.23 [INFO] [stderr] Downloaded actix-web-actors v4.3.1+deprecated [INFO] [stderr] Downloaded actix_derive v0.6.2 [INFO] [stderr] Downloaded globset v0.4.15 [INFO] [stderr] Downloaded impl-more v0.1.8 [INFO] [stderr] Downloaded thiserror-impl v2.0.7 [INFO] [stderr] Downloaded thiserror v2.0.7 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dc59904d70c6d9aa41cd5e7d9393c41e351d38689d90ce94e0b42fe6280286d [INFO] running `Command { std: "docker" "start" "-a" "5dc59904d70c6d9aa41cd5e7d9393c41e351d38689d90ce94e0b42fe6280286d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dc59904d70c6d9aa41cd5e7d9393c41e351d38689d90ce94e0b42fe6280286d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dc59904d70c6d9aa41cd5e7d9393c41e351d38689d90ce94e0b42fe6280286d", kill_on_drop: false }` [INFO] [stdout] 5dc59904d70c6d9aa41cd5e7d9393c41e351d38689d90ce94e0b42fe6280286d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e072d0ddf90554e0b5f0a69e6b5668c9c10da35394b29c6e044253357a801c6f [INFO] running `Command { std: "docker" "start" "-a" "e072d0ddf90554e0b5f0a69e6b5668c9c10da35394b29c6e044253357a801c6f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.7 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling bstr v1.11.1 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling impl-more v0.1.8 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.7 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.2 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling actix-web-actors v4.3.1+deprecated [INFO] [stderr] Compiling actix-session v0.10.1 [INFO] [stderr] Compiling Chat_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pages.rs:23:119 [INFO] [stdout] | [INFO] [stdout] 23 | let chats = Chat::get_chats_for_user(pool, user_id.parse::().unwrap()).await.unwrap_or_default();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `actix_web::HttpResponseBuilder::header`: Replaced with `append_header((key, value))`. Will be removed in v5. [INFO] [stdout] --> src/pages.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | .header("Location", "/") // Перенаправлення на головну сторінку [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `actix_web::HttpResponseBuilder::header`: Replaced with `append_header((key, value))`. Will be removed in v5. [INFO] [stdout] --> src/pages.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | .header("Location", "/") // Перенаправлення на головну сторінку [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `actix_web::HttpResponseBuilder::header`: Replaced with `append_header((key, value))`. Will be removed in v5. [INFO] [stdout] --> src/pages.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | .header("Location", "/") // Перенаправлення на головну сторінку [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/pages.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | pub async fn logout_user(session: Session, tera: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chat` [INFO] [stdout] --> src/pages.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 226 | Ok(chat) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_chat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/websocket.rs:55:71 [INFO] [stdout] | [INFO] [stdout] 55 | fn handle(&mut self, msg: Result, 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: `msg` [INFO] [stdout] --> src/websocket.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | fn handle(&mut self, msg: UserLeft, _: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/websocket.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct UserLeft { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 94 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "e072d0ddf90554e0b5f0a69e6b5668c9c10da35394b29c6e044253357a801c6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e072d0ddf90554e0b5f0a69e6b5668c9c10da35394b29c6e044253357a801c6f", kill_on_drop: false }` [INFO] [stdout] e072d0ddf90554e0b5f0a69e6b5668c9c10da35394b29c6e044253357a801c6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ac3a96f501dac74a4cb88001f607d7adfb6979c3a802f7a703d3a0876079478 [INFO] running `Command { std: "docker" "start" "-a" "1ac3a96f501dac74a4cb88001f607d7adfb6979c3a802f7a703d3a0876079478", kill_on_drop: false }` [INFO] [stderr] Compiling Chat_app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/pages.rs:23:119 [INFO] [stdout] | [INFO] [stdout] 23 | let chats = Chat::get_chats_for_user(pool, user_id.parse::().unwrap()).await.unwrap_or_default();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `actix_web::HttpResponseBuilder::header`: Replaced with `append_header((key, value))`. Will be removed in v5. [INFO] [stdout] --> src/pages.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | .header("Location", "/") // Перенаправлення на головну сторінку [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `actix_web::HttpResponseBuilder::header`: Replaced with `append_header((key, value))`. Will be removed in v5. [INFO] [stdout] --> src/pages.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | .header("Location", "/") // Перенаправлення на головну сторінку [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `actix_web::HttpResponseBuilder::header`: Replaced with `append_header((key, value))`. Will be removed in v5. [INFO] [stdout] --> src/pages.rs:228:22 [INFO] [stdout] | [INFO] [stdout] 228 | .header("Location", "/") // Перенаправлення на головну сторінку [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tera` [INFO] [stdout] --> src/pages.rs:132:44 [INFO] [stdout] | [INFO] [stdout] 132 | pub async fn logout_user(session: Session, tera: web::Data) -> impl Responder { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chat` [INFO] [stdout] --> src/pages.rs:226:16 [INFO] [stdout] | [INFO] [stdout] 226 | Ok(chat) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_chat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/websocket.rs:55:71 [INFO] [stdout] | [INFO] [stdout] 55 | fn handle(&mut self, msg: Result, 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: `msg` [INFO] [stdout] --> src/websocket.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | fn handle(&mut self, msg: UserLeft, _: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `user_id` is never read [INFO] [stdout] --> src/websocket.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct UserLeft { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 94 | pub user_id: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.13s [INFO] running `Command { std: "docker" "inspect" "1ac3a96f501dac74a4cb88001f607d7adfb6979c3a802f7a703d3a0876079478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac3a96f501dac74a4cb88001f607d7adfb6979c3a802f7a703d3a0876079478", kill_on_drop: false }` [INFO] [stdout] 1ac3a96f501dac74a4cb88001f607d7adfb6979c3a802f7a703d3a0876079478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a2b4e1fc2b3287fa1fc7c19bd546df58a2ecd6e61f1f64f73b5a8e7cb0e4ef5b [INFO] running `Command { std: "docker" "start" "-a" "a2b4e1fc2b3287fa1fc7c19bd546df58a2ecd6e61f1f64f73b5a8e7cb0e4ef5b", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/pages.rs:23:119 [INFO] [stderr] | [INFO] [stderr] 23 | let chats = Chat::get_chats_for_user(pool, user_id.parse::().unwrap()).await.unwrap_or_default();; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `actix_web::HttpResponseBuilder::header`: Replaced with `append_header((key, value))`. Will be removed in v5. [INFO] [stderr] --> src/pages.rs:104:22 [INFO] [stderr] | [INFO] [stderr] 104 | .header("Location", "/") // Перенаправлення на головну сторінку [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `actix_web::HttpResponseBuilder::header`: Replaced with `append_header((key, value))`. Will be removed in v5. [INFO] [stderr] --> src/pages.rs:137:10 [INFO] [stderr] | [INFO] [stderr] 137 | .header("Location", "/") // Перенаправлення на головну сторінку [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `actix_web::HttpResponseBuilder::header`: Replaced with `append_header((key, value))`. Will be removed in v5. [INFO] [stderr] --> src/pages.rs:228:22 [INFO] [stderr] | [INFO] [stderr] 228 | .header("Location", "/") // Перенаправлення на головну сторінку [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tera` [INFO] [stderr] --> src/pages.rs:132:44 [INFO] [stderr] | [INFO] [stderr] 132 | pub async fn logout_user(session: Session, tera: web::Data) -> impl Responder { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tera` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `chat` [INFO] [stderr] --> src/pages.rs:226:16 [INFO] [stderr] | [INFO] [stderr] 226 | Ok(chat) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_chat` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/websocket.rs:55:71 [INFO] [stderr] | [INFO] [stderr] 55 | fn handle(&mut self, msg: Result, ctx: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/websocket.rs:138:26 [INFO] [stderr] | [INFO] [stderr] 138 | fn handle(&mut self, msg: UserLeft, _: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: field `user_id` is never read [INFO] [stderr] --> src/websocket.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 93 | pub struct UserLeft { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 94 | pub user_id: i64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `Chat_app` (bin "Chat_app" test) generated 9 warnings (run `cargo fix --bin "Chat_app" -p Chat_app --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Chat_app-0764f1f48b5035d0) [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" "a2b4e1fc2b3287fa1fc7c19bd546df58a2ecd6e61f1f64f73b5a8e7cb0e4ef5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2b4e1fc2b3287fa1fc7c19bd546df58a2ecd6e61f1f64f73b5a8e7cb0e4ef5b", kill_on_drop: false }` [INFO] [stdout] a2b4e1fc2b3287fa1fc7c19bd546df58a2ecd6e61f1f64f73b5a8e7cb0e4ef5b