[INFO] cloning repository https://github.com/DevNulPavel/oauth_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DevNulPavel/oauth_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevNulPavel%2Foauth_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevNulPavel%2Foauth_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7f4290fd1bd94c47c4263bb7133de53a0ae3e093 [INFO] checking DevNulPavel/oauth_server/7f4290fd1bd94c47c4263bb7133de53a0ae3e093 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevNulPavel%2Foauth_server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DevNulPavel/oauth_server on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DevNulPavel/oauth_server [INFO] finished tweaking git repo https://github.com/DevNulPavel/oauth_server [INFO] tweaked toml for git repo https://github.com/DevNulPavel/oauth_server written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DevNulPavel/oauth_server 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63f099c29fff403a0cf3346e86037c4d0d51f6824d756e4c02f5ac6bc49dbe5a [INFO] running `Command { std: "docker" "start" "-a" "63f099c29fff403a0cf3346e86037c4d0d51f6824d756e4c02f5ac6bc49dbe5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63f099c29fff403a0cf3346e86037c4d0d51f6824d756e4c02f5ac6bc49dbe5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63f099c29fff403a0cf3346e86037c4d0d51f6824d756e4c02f5ac6bc49dbe5a", kill_on_drop: false }` [INFO] [stdout] 63f099c29fff403a0cf3346e86037c4d0d51f6824d756e4c02f5ac6bc49dbe5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec5c6490cd37d1a57bc43dd705b9d404a3b1978f27ce9a3a95200dc920deaff9 [INFO] running `Command { std: "docker" "start" "-a" "ec5c6490cd37d1a57bc43dd705b9d404a3b1978f27ce9a3a95200dc920deaff9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-sink v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Checking indexmap v1.6.2 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling whoami v1.1.1 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling v_escape v0.15.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling webpki-roots v0.21.0 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking buf-min v0.4.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling v_htmlescape v0.12.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling darling_core v0.12.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking quick-error v2.0.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling darling_macro v0.12.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling v_escape_derive v0.8.4 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking time v0.2.26 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling darling v0.12.2 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Checking sqlx-rt v0.2.0 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking serde_with v1.7.0 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling sqlx-core v0.4.2 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking actix-http v2.2.0 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Checking handlebars v3.5.3 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Compiling sqlx-macros v0.4.2 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking actix-web v3.3.2 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking actix-files v0.5.0 [INFO] [stderr] Checking actix-identity v0.3.1 [INFO] [stderr] Checking tracing-actix-web v0.2.1 [INFO] [stderr] Checking sqlx v0.4.2 [INFO] [stderr] Checking oauth_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `message`, `code`, `error_subcode`, `fbtrace_id`, and `err_type` are never read [INFO] [stdout] --> src/responses/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FacebookErrorValue{ [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 37 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub error_subcode: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub fbtrace_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub err_type: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FacebookErrorValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `other` are never read [INFO] [stdout] --> src/responses/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct FacebookErrorResponse{ [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 47 | pub error: FacebookErrorValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub other: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FacebookErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_type` and `expires_in` are never read [INFO] [stdout] --> src/responses/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct FacebookTokenResponse{ [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 57 | pub access_token: String, [INFO] [stdout] 58 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | pub expires_in: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FacebookTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `other` are never read [INFO] [stdout] --> src/responses/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct FacebookUserInfoResponse{ [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 69 | pub id: String, [INFO] [stdout] 70 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub other: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FacebookUserInfoResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `code`, `error_subcode`, `fbtrace_id`, and `err_type` are never read [INFO] [stdout] --> src/responses/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct GoogleErrorValue{ [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 82 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 83 | pub code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | pub error_subcode: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 85 | pub fbtrace_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub err_type: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleErrorValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `other` are never read [INFO] [stdout] --> src/responses/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct GoogleErrorResponse{ [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 92 | pub error: GoogleErrorValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub other: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_type` and `expires_in` are never read [INFO] [stdout] --> src/responses/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct GoogleTokenResponse{ [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 102 | pub access_token: String, [INFO] [stdout] 103 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 104 | pub expires_in: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `verified_email`, `picture`, and `other` are never read [INFO] [stdout] --> src/responses/mod.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct GoogleUserInfoResponse{ [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 114 | pub id: String, [INFO] [stdout] 115 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 116 | pub verified_email: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 117 | pub picture: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub other: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleUserInfoResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_id`, `redirect_uris`, and `auth_provider_x509_cert_url` are never read [INFO] [stdout] --> src/app_params/env_app_params/google.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct GoogleEnvParams{ [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub project_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub redirect_uris: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub auth_provider_x509_cert_url: url::Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleEnvParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 143 | let app_env_params = web::Data::new(AppEnvParams::get_from_env()); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | let facebook_env_params = web::Data::new(FacebookEnvParams::get_from_env()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | let google_env_params = web::Data::new(GoogleEnvParams::get_from_env()); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let sqlite_conn = web::Data::new(Database::open().await); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let handlebars = web::Data::new(create_templates()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | let http_client = web::Data::new(reqwest::Client::new()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | / App::new() [INFO] [stdout] 179 | | .wrap(identity_middleware) [INFO] [stdout] 180 | | .wrap(TracingLogger) [INFO] [stdout] 181 | | .app_data(sqlite_conn.clone()) [INFO] [stdout] ... | [INFO] [stdout] 185 | | .app_data(google_env_params.clone()) [INFO] [stdout] 186 | | .app_data(http_client.clone()) [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] 31 | | TemplateRenderError(trace: SpanTrace, err: handlebars::RenderError){ [INFO] [stdout] 32 | | from(err: handlebars::RenderError) -> (SpanTrace::capture(), err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] ... | [INFO] [stdout] 37 | | from(err: actix_web::Error) -> (SpanTrace::capture(), err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] ... | [INFO] [stdout] 57 | | from(err: FacebookErrorResponse) -> (SpanTrace::capture(), err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] ... | [INFO] [stdout] 62 | | from(err: GoogleErrorResponse) -> (SpanTrace::capture(), err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] ... | [INFO] [stdout] 67 | | from(err: sqlx::Error) -> (SpanTrace::capture(), err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:52:69 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] ... | [INFO] [stdout] 52 | | context(context: &'static str, err: reqwest::Error) -> (SpanTrace::capture(), context, err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 86 | let data = json!({ [INFO] [stdout] | _____________----___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | | "code": self.status_code().as_u16(), [INFO] [stdout] 88 | | "message": self.to_string() [INFO] [stdout] 89 | | }); [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | HttpResponseBuilder::new(self.status_code()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app_middlewares/get_user_info.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn create_user_info_middleware(no_user_response_fn: F) -> UserInfoProvider [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | no_user_response_fn: Arc::new(no_user_response_fn) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app_middlewares/get_user_info.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 155 | fn call(&mut self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | // Делаем клоны Arc для передачи в лямбду [INFO] [stdout] 157 | let mut srv = self.service.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | let no_user_response_fn = self.no_user_response_fn.clone(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | let (user_id, req) = get_user_id_from_request(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | let db = req [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 170 | | // TODO: Кеширование в redis? [INFO] [stdout] 171 | | [INFO] [stdout] 172 | | // Дергаем данные [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app_middlewares/user_auth_check.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create_auth_check_middleware(if_exists: bool, fail_callback: F) -> AuthCheck [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | fail_callback: Arc::new(fail_callback) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app_middlewares/user_auth_check.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 134 | fn call(&mut self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | // Делаем клоны Arc для передачи в лямбду [INFO] [stdout] 136 | let mut srv = self.service.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let fail_callback = self.fail_callback.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | let (user_uuid, req) = get_user_id_from_request(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | let db = req [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 150 | | // Дергаем данные [INFO] [stdout] 151 | | let user_exists = match user_uuid { [INFO] [stdout] 152 | | Some(user_uuid) => { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] 176 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/http_handlers/mod.rs:59:80 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn index(req: web::HttpRequest, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | handlebars: web::Data>, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | app_params: web::Data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | query: web::Query, [INFO] [stdout] 59 | full_info: UserInfo) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 60 | | [INFO] [stdout] 61 | | // Custom application url? [INFO] [stdout] 62 | | let mut game_url = match query.custom_client_url.as_ref() { [INFO] [stdout] ... | [INFO] [stdout] 104 | | Ok(response.body(body)) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/http_handlers/mod.rs:112:101 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn login_page(req: web::HttpRequest, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | handlebars: web::Data>, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | query: web::Query) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________________^ [INFO] [stdout] 113 | | let body = handlebars.render(constants::LOGIN_TEMPLATE, &serde_json::json!({})) [INFO] [stdout] 114 | | .tap_err(|err|{ [INFO] [stdout] 115 | | error!("Template render failed: {}", err); [INFO] [stdout] ... | [INFO] [stdout] 138 | | Ok(response.body(body)) [INFO] [stdout] 139 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/http_handlers/mod.rs:144:74 [INFO] [stdout] | [INFO] [stdout] 144 | pub async fn logout(id: Identity) -> Result { [INFO] [stdout] | _____________________--___________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | | id.forget(); [INFO] [stdout] 146 | | [INFO] [stdout] 147 | | // Возвращаем код 302 и Location в заголовках для перехода [INFO] [stdout] ... | [INFO] [stdout] 150 | | .finish()) [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/auth_handlers/facebook.rs:74:114 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn login_with_facebook(req: actix_web::HttpRequest, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | app_params: web::Data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | fb_params: web::Data) -> Result { [INFO] [stdout] | __________________________________---------_______________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | | debug!("Request object: {:?}", req); [INFO] [stdout] 76 | | [INFO] [stdout] 77 | | // Адрес нашего сайта + адрес коллбека [INFO] [stdout] ... | [INFO] [stdout] 104 | | .finish()) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/auth_handlers/facebook.rs:122:101 [INFO] [stdout] | [INFO] [stdout] 116 | pub async fn facebook_auth_callback(req: actix_web::HttpRequest, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | app_params: web::Data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | query_params: web::Query, [INFO] [stdout] 119 | identity: Identity, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | fb_params: web::Data, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | http_client: web::Data, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | db: web::Data) -> Result { [INFO] [stdout] | _____________________________________--______________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | | // debug!("Request object: {:?}", req); [INFO] [stdout] 124 | | // debug!("Facebook auth callback query params: {:?}", query_params); [INFO] [stdout] ... | [INFO] [stdout] 236 | | Ok(response.finish()) [INFO] [stdout] 237 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/auth_handlers/google.rs:70:110 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn login_with_google(app_params: web::Data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | google_params: web::Data, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | fb_params: web::Data) -> Result { [INFO] [stdout] | ________________________________---------_____________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | // Адрес нашего сайта + адрес коллбека [INFO] [stdout] 73 | | let callback_site_address = get_callback_address(app_params.app_base_url.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 93 | | .finish()) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/auth_handlers/google.rs:110:99 [INFO] [stdout] | [INFO] [stdout] 104 | pub async fn google_auth_callback(req: actix_web::HttpRequest, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | app_params: web::Data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | query_params: web::Query, [INFO] [stdout] 107 | identity: Identity, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | google_params: web::Data, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | http_client: web::Data, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | db: web::Data) -> Result { [INFO] [stdout] | ___________________________________--______________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | | // debug!("Request object: {:?}", req); [INFO] [stdout] 112 | | // debug!("Google auth callback query params: {:?}", query_params); [INFO] [stdout] ... | [INFO] [stdout] 225 | | Ok(response.finish()) [INFO] [stdout] 226 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oauth_server` (bin "oauth_server" test) due to 20 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `message`, `code`, `error_subcode`, `fbtrace_id`, and `err_type` are never read [INFO] [stdout] --> src/responses/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FacebookErrorValue{ [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 37 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | pub code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub error_subcode: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub fbtrace_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub err_type: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FacebookErrorValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `other` are never read [INFO] [stdout] --> src/responses/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct FacebookErrorResponse{ [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 47 | pub error: FacebookErrorValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub other: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FacebookErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_type` and `expires_in` are never read [INFO] [stdout] --> src/responses/mod.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct FacebookTokenResponse{ [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 57 | pub access_token: String, [INFO] [stdout] 58 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 59 | pub expires_in: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FacebookTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `other` are never read [INFO] [stdout] --> src/responses/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct FacebookUserInfoResponse{ [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 69 | pub id: String, [INFO] [stdout] 70 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub other: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FacebookUserInfoResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `code`, `error_subcode`, `fbtrace_id`, and `err_type` are never read [INFO] [stdout] --> src/responses/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct GoogleErrorValue{ [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 82 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 83 | pub code: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 84 | pub error_subcode: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 85 | pub fbtrace_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub err_type: String [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleErrorValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `other` are never read [INFO] [stdout] --> src/responses/mod.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct GoogleErrorResponse{ [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 92 | pub error: GoogleErrorValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub other: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleErrorResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_type` and `expires_in` are never read [INFO] [stdout] --> src/responses/mod.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct GoogleTokenResponse{ [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 102 | pub access_token: String, [INFO] [stdout] 103 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 104 | pub expires_in: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleTokenResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email`, `verified_email`, `picture`, and `other` are never read [INFO] [stdout] --> src/responses/mod.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct GoogleUserInfoResponse{ [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 114 | pub id: String, [INFO] [stdout] 115 | pub email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 116 | pub verified_email: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 117 | pub picture: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub other: HashMap [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleUserInfoResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_id`, `redirect_uris`, and `auth_provider_x509_cert_url` are never read [INFO] [stdout] --> src/app_params/env_app_params/google.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct GoogleEnvParams{ [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub project_id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub redirect_uris: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub auth_provider_x509_cert_url: url::Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoogleEnvParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 143 | let app_env_params = web::Data::new(AppEnvParams::get_from_env()); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | let facebook_env_params = web::Data::new(FacebookEnvParams::get_from_env()); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | let google_env_params = web::Data::new(GoogleEnvParams::get_from_env()); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let sqlite_conn = web::Data::new(Database::open().await); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | let handlebars = web::Data::new(create_templates()); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | let http_client = web::Data::new(reqwest::Client::new()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | / App::new() [INFO] [stdout] 179 | | .wrap(identity_middleware) [INFO] [stdout] 180 | | .wrap(TracingLogger) [INFO] [stdout] 181 | | .app_data(sqlite_conn.clone()) [INFO] [stdout] ... | [INFO] [stdout] 185 | | .app_data(google_env_params.clone()) [INFO] [stdout] 186 | | .app_data(http_client.clone()) [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:32:52 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] 31 | | TemplateRenderError(trace: SpanTrace, err: handlebars::RenderError){ [INFO] [stdout] 32 | | from(err: handlebars::RenderError) -> (SpanTrace::capture(), err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] ... | [INFO] [stdout] 37 | | from(err: actix_web::Error) -> (SpanTrace::capture(), err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] ... | [INFO] [stdout] 57 | | from(err: FacebookErrorResponse) -> (SpanTrace::capture(), err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] ... | [INFO] [stdout] 62 | | from(err: GoogleErrorResponse) -> (SpanTrace::capture(), err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] ... | [INFO] [stdout] 67 | | from(err: sqlx::Error) -> (SpanTrace::capture(), err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:52:69 [INFO] [stdout] | [INFO] [stdout] 27 | / quick_error!{ [INFO] [stdout] 28 | | #[derive(Debug)] [INFO] [stdout] 29 | | pub enum AppError{ [INFO] [stdout] 30 | | /// Не смогли отрендерить шаблон [INFO] [stdout] ... | [INFO] [stdout] 52 | | context(context: &'static str, err: reqwest::Error) -> (SpanTrace::capture(), context, err) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/error/mod.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 86 | let data = json!({ [INFO] [stdout] | _____________----___- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | | "code": self.status_code().as_u16(), [INFO] [stdout] 88 | | "message": self.to_string() [INFO] [stdout] 89 | | }); [INFO] [stdout] | |__________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 90 | HttpResponseBuilder::new(self.status_code()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app_middlewares/get_user_info.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn create_user_info_middleware(no_user_response_fn: F) -> UserInfoProvider [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 89 | no_user_response_fn: Arc::new(no_user_response_fn) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app_middlewares/get_user_info.rs:169:18 [INFO] [stdout] | [INFO] [stdout] 155 | fn call(&mut self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | // Делаем клоны Arc для передачи в лямбду [INFO] [stdout] 157 | let mut srv = self.service.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | let no_user_response_fn = self.no_user_response_fn.clone(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | let (user_id, req) = get_user_id_from_request(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | let db = req [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 169 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 170 | | // TODO: Кеширование в redis? [INFO] [stdout] 171 | | [INFO] [stdout] 172 | | // Дергаем данные [INFO] [stdout] ... | [INFO] [stdout] 194 | | } [INFO] [stdout] 195 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app_middlewares/user_auth_check.rs:66:24 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create_auth_check_middleware(if_exists: bool, fail_callback: F) -> AuthCheck [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 66 | fail_callback: Arc::new(fail_callback) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app_middlewares/user_auth_check.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 134 | fn call(&mut self, req: ServiceRequest) -> Self::Future { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 135 | // Делаем клоны Arc для передачи в лямбду [INFO] [stdout] 136 | let mut srv = self.service.clone(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 137 | let fail_callback = self.fail_callback.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | let (user_uuid, req) = get_user_id_from_request(req); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | let db = req [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | Box::pin(async move { [INFO] [stdout] | __________________^ [INFO] [stdout] 150 | | // Дергаем данные [INFO] [stdout] 151 | | let user_exists = match user_uuid { [INFO] [stdout] 152 | | Some(user_uuid) => { [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] 176 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/http_handlers/mod.rs:59:80 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn index(req: web::HttpRequest, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | handlebars: web::Data>, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | app_params: web::Data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | query: web::Query, [INFO] [stdout] 59 | full_info: UserInfo) -> Result { [INFO] [stdout] | ________________________________________________________________________________^ [INFO] [stdout] 60 | | [INFO] [stdout] 61 | | // Custom application url? [INFO] [stdout] 62 | | let mut game_url = match query.custom_client_url.as_ref() { [INFO] [stdout] ... | [INFO] [stdout] 104 | | Ok(response.body(body)) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/http_handlers/mod.rs:112:101 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn login_page(req: web::HttpRequest, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | handlebars: web::Data>, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 112 | query: web::Query) -> Result { [INFO] [stdout] | _____________________________________________________________________________________________________^ [INFO] [stdout] 113 | | let body = handlebars.render(constants::LOGIN_TEMPLATE, &serde_json::json!({})) [INFO] [stdout] 114 | | .tap_err(|err|{ [INFO] [stdout] 115 | | error!("Template render failed: {}", err); [INFO] [stdout] ... | [INFO] [stdout] 138 | | Ok(response.body(body)) [INFO] [stdout] 139 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/http_handlers/mod.rs:144:74 [INFO] [stdout] | [INFO] [stdout] 144 | pub async fn logout(id: Identity) -> Result { [INFO] [stdout] | _____________________--___________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | | id.forget(); [INFO] [stdout] 146 | | [INFO] [stdout] 147 | | // Возвращаем код 302 и Location в заголовках для перехода [INFO] [stdout] ... | [INFO] [stdout] 150 | | .finish()) [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/auth_handlers/facebook.rs:74:114 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn login_with_facebook(req: actix_web::HttpRequest, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | app_params: web::Data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | fb_params: web::Data) -> Result { [INFO] [stdout] | __________________________________---------_______________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | | debug!("Request object: {:?}", req); [INFO] [stdout] 76 | | [INFO] [stdout] 77 | | // Адрес нашего сайта + адрес коллбека [INFO] [stdout] ... | [INFO] [stdout] 104 | | .finish()) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/auth_handlers/facebook.rs:122:101 [INFO] [stdout] | [INFO] [stdout] 116 | pub async fn facebook_auth_callback(req: actix_web::HttpRequest, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | app_params: web::Data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | query_params: web::Query, [INFO] [stdout] 119 | identity: Identity, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | fb_params: web::Data, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | http_client: web::Data, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 122 | db: web::Data) -> Result { [INFO] [stdout] | _____________________________________--______________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | | // debug!("Request object: {:?}", req); [INFO] [stdout] 124 | | // debug!("Facebook auth callback query params: {:?}", query_params); [INFO] [stdout] ... | [INFO] [stdout] 236 | | Ok(response.finish()) [INFO] [stdout] 237 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/auth_handlers/google.rs:70:110 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn login_with_google(app_params: web::Data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | google_params: web::Data, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | fb_params: web::Data) -> Result { [INFO] [stdout] | ________________________________---------_____________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | // Адрес нашего сайта + адрес коллбека [INFO] [stdout] 73 | | let callback_site_address = get_callback_address(app_params.app_base_url.as_str()); [INFO] [stdout] ... | [INFO] [stdout] 93 | | .finish()) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/handlers/auth_handlers/google.rs:110:99 [INFO] [stdout] | [INFO] [stdout] 104 | pub async fn google_auth_callback(req: actix_web::HttpRequest, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | app_params: web::Data, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | query_params: web::Query, [INFO] [stdout] 107 | identity: Identity, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | google_params: web::Data, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 109 | http_client: web::Data, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | db: web::Data) -> Result { [INFO] [stdout] | ___________________________________--______________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | | // debug!("Request object: {:?}", req); [INFO] [stdout] 112 | | // debug!("Google auth callback query params: {:?}", query_params); [INFO] [stdout] ... | [INFO] [stdout] 225 | | Ok(response.finish()) [INFO] [stdout] 226 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oauth_server` (bin "oauth_server") due to 20 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ec5c6490cd37d1a57bc43dd705b9d404a3b1978f27ce9a3a95200dc920deaff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec5c6490cd37d1a57bc43dd705b9d404a3b1978f27ce9a3a95200dc920deaff9", kill_on_drop: false }` [INFO] [stdout] ec5c6490cd37d1a57bc43dd705b9d404a3b1978f27ce9a3a95200dc920deaff9