[INFO] cloning repository https://github.com/vickyone0/backend_actix
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vickyone0/backend_actix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvickyone0%2Fbackend_actix", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvickyone0%2Fbackend_actix'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44e49f34ad0b7627cfd6ae0dff31e60e1b23848c
[INFO] testing vickyone0/backend_actix against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvickyone0%2Fbackend_actix" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/vickyone0/backend_actix
[INFO] finished tweaking git repo https://github.com/vickyone0/backend_actix
[INFO] tweaked toml for git repo https://github.com/vickyone0/backend_actix written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/vickyone0/backend_actix on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/vickyone0/backend_actix 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fallible-iterator v0.2.0
[INFO] [stderr]   Downloaded phf v0.11.3
[INFO] [stderr]   Downloaded whoami v1.6.0
[INFO] [stderr]   Downloaded sanitize-filename v0.5.0
[INFO] [stderr]   Downloaded redox_syscall v0.5.12
[INFO] [stderr]   Downloaded tinyvec v1.9.0
[INFO] [stderr]   Downloaded postgres-types v0.2.9
[INFO] [stderr]   Downloaded postgres-protocol v0.6.8
[INFO] [stderr]   Downloaded tokio-postgres v0.7.13
[INFO] [stderr]   Downloaded sqlx-macros v0.7.4
[INFO] [stderr]   Downloaded anstyle-query v1.1.3
[INFO] [stderr]   Downloaded bumpalo v3.18.1
[INFO] [stderr]   Downloaded phf_shared v0.11.3
[INFO] [stderr]   Downloaded deadpool-postgres v0.12.1
[INFO] [stderr]   Downloaded anstyle-wincon v3.0.9
[INFO] [stderr]   Downloaded actix-multipart-derive v0.6.1
[INFO] [stderr]   Downloaded sqlformat v0.2.6
[INFO] [stderr]   Downloaded deadpool-runtime v0.1.4
[INFO] [stderr]   Downloaded anstream v0.6.19
[INFO] [stderr]   Downloaded bb8 v0.8.6
[INFO] [stderr]   Downloaded hashlink v0.8.4
[INFO] [stderr]   Downloaded siphasher v1.0.1
[INFO] [stderr]   Downloaded actix-multipart v0.6.2
[INFO] [stderr]   Downloaded deadpool v0.10.0
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.4
[INFO] [stderr]   Downloaded password-hash v0.5.0
[INFO] [stderr]   Downloaded tracing-attributes v0.1.29
[INFO] [stderr]   Downloaded argon2 v0.5.3
[INFO] [stderr]   Downloaded blake2 v0.10.6
[INFO] [stderr]   Downloaded actix-server v2.6.0
[INFO] [stderr]   Downloaded uuid v1.17.0
[INFO] [stderr]   Downloaded cc v1.2.26
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.4
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.4
[INFO] [stderr]   Downloaded jiff-static v0.2.14
[INFO] [stderr]   Downloaded unicode_categories v0.1.1
[INFO] [stderr]   Downloaded sqlx-core v0.7.4
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.4
[INFO] [stderr]   Downloaded hashbrown v0.15.3
[INFO] [stderr]   Downloaded actix-http v3.11.0
[INFO] [stderr]   Downloaded sqlx v0.7.4
[INFO] [stderr]   Downloaded brotli-decompressor v5.0.0
[INFO] [stderr]   Downloaded actix-web v4.11.0
[INFO] [stderr]   Downloaded redis v0.23.3
[INFO] [stderr]   Downloaded jiff v0.2.14
[INFO] [stderr]   Downloaded brotli v8.0.1
[INFO] [stderr]   Downloaded libsqlite3-sys v0.27.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63e56735948d4f6e015900c9ba91242d6077ce754cc9520709b54335a39fd4e0
[INFO] running `Command { std: "docker" "start" "-a" "63e56735948d4f6e015900c9ba91242d6077ce754cc9520709b54335a39fd4e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63e56735948d4f6e015900c9ba91242d6077ce754cc9520709b54335a39fd4e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63e56735948d4f6e015900c9ba91242d6077ce754cc9520709b54335a39fd4e0", kill_on_drop: false }`
[INFO] [stdout] 63e56735948d4f6e015900c9ba91242d6077ce754cc9520709b54335a39fd4e0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d7423c1d990bddb9fe7349f6966f8edfc6d1aa1052b49bb57bf25392cf87e940
[INFO] running `Command { std: "docker" "start" "-a" "d7423c1d990bddb9fe7349f6966f8edfc6d1aa1052b49bb57bf25392cf87e940", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling cc v1.2.26
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.29
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]    Compiling local-waker v0.1.4
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling brotli-decompressor v5.0.0
[INFO] [stderr]    Compiling actix-utils v3.0.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling actix-service v2.0.3
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling siphasher v1.0.1
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling brotli v8.0.1
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling postgres-protocol v0.6.8
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling zstd v0.13.3
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling local-channel v0.1.5
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling language-tags v0.3.2
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling postgres-types v0.2.9
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling actix-server v2.6.0
[INFO] [stderr]    Compiling actix-http v3.11.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling deadpool-runtime v0.1.4
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling parse-size v1.1.0
[INFO] [stderr]    Compiling impl-more v0.1.9
[INFO] [stderr]    Compiling actix-multipart-derive v0.6.1
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling deadpool v0.10.0
[INFO] [stderr]    Compiling simple_asn1 v0.6.3
[INFO] [stderr]    Compiling tokio-postgres v0.7.13
[INFO] [stderr]    Compiling serde_plain v1.0.2
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling pem v3.0.5
[INFO] [stderr]    Compiling actix-web v4.11.0
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling sha1_smol v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling jiff v0.2.14
[INFO] [stderr]    Compiling sanitize-filename v0.5.0
[INFO] [stderr]    Compiling deadpool-postgres v0.12.1
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling jsonwebtoken v9.3.1
[INFO] [stderr]    Compiling bb8 v0.8.6
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling actix-multipart v0.6.2
[INFO] [stderr]    Compiling redis v0.23.3
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling backend_actix v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected item, found keyword `match`
[INFO] [stdout]   --> src/jwttoken.rs:96:1
[INFO] [stdout]    |
[INFO] [stdout] 96 | match verify_token(&token, &config) {
[INFO] [stdout]    | ^^^^^ expected item
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repository/users.rs:18:16
[INFO] [stdout]    |
[INFO] [stdout] 18 |       let user = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 19 | |         User,
[INFO] [stdout] 20 | |         r#"
[INFO] [stdout] 21 | |         INSERT INTO users (username, email, password_hash)
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         hash
[INFO] [stdout] 28 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repository/users.rs:39:16
[INFO] [stdout]    |
[INFO] [stdout] 39 |       let user = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 40 | |         User,
[INFO] [stdout] 41 | |         r#"SELECT id, username, email, password_hash, created_at
[INFO] [stdout] 42 | |            FROM users WHERE id = $1"#,
[INFO] [stdout] 43 | |         user_id.into_inner()   
[INFO] [stdout] 44 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repository/users.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |       let users = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 62 | |         User,
[INFO] [stdout] 63 | |         r#"SELECT id, username, email, password_hash, created_at
[INFO] [stdout] 64 | |            FROM users
[INFO] [stdout] ...  |
[INFO] [stdout] 68 | |         query.offset.unwrap_or(0)   
[INFO] [stdout] 69 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/repository/users.rs:94:16
[INFO] [stdout]     |
[INFO] [stdout]  94 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout]  95 | |         User,
[INFO] [stdout]  96 | |         r#"
[INFO] [stdout]  97 | |         UPDATE users
[INFO] [stdout] ...   |
[INFO] [stdout] 106 | |         user_id.into_inner()
[INFO] [stdout] 107 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/repository/users.rs:123:18
[INFO] [stdout]     |
[INFO] [stdout] 123 |       let result = sqlx::query!(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 124 | |         "DELETE FROM users WHERE id = $1",
[INFO] [stdout] 125 | |         user_id.into_inner()
[INFO] [stdout] 126 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repository/notes.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |       let note = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 18 | |         Note,
[INFO] [stdout] 19 | |         r#"
[INFO] [stdout] 20 | |         INSERT INTO notes (title, content)
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |         form.content
[INFO] [stdout] 26 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repository/notes.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | /     sqlx::query_as!(
[INFO] [stdout] 41 | |         PopularPost,
[INFO] [stdout] 42 | |         r#"
[INFO] [stdout] 43 | |         SELECT p.title, p.like_count
[INFO] [stdout] ...  |
[INFO] [stdout] 52 | |         threshold
[INFO] [stdout] 53 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repository/notes.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | /     sqlx::query_as!(
[INFO] [stdout] 61 | |         User,
[INFO] [stdout] 62 | |         r#"
[INFO] [stdout] 63 | |         SELECT u.*
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |         "#
[INFO] [stdout] 71 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `bb8_redis`
[INFO] [stdout]   --> src/sectionmanagement.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | use bb8_redis::{bb8, RedisConnectionManager};
[INFO] [stdout]    |     ^^^^^^^^^ use of unresolved module or unlinked crate `bb8_redis`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `bb8_redis`, use `cargo add bb8_redis` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `uuid`
[INFO] [stdout]  --> src/models/user.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `uuid`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `uuid`
[INFO] [stdout]  --> src/repository/notes.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `uuid`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `uuid`, use `cargo add uuid` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `validator`
[INFO] [stdout]  --> src/repository/notes.rs:3:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(serde::Deserialize, validator::Validate)]
[INFO] [stdout]   |                              ^^^^^^^^^ use of unresolved module or unlinked crate `validator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]  --> src/models/user.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 |     #[serde(skip_serializing)]
[INFO] [stdout]   |       ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `serde` is an attribute that can be used by the derive macros `Deserialize` and `Serialize`, you might be missing a `derive` attribute
[INFO] [stdout]   = note: `serde` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Validate` in this scope
[INFO] [stdout]   --> src/models/user.rs:16:30
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Deserialize, Validate)] // Add validation
[INFO] [stdout]    |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `validate` in this scope
[INFO] [stdout]   --> src/models/user.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[validate(length(min = 3, max = 24))]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `validate` in this scope
[INFO] [stdout]   --> src/models/user.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     #[validate(email)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `validate` in this scope
[INFO] [stdout]   --> src/models/user.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 |     #[validate(length(min = 8))]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]   --> src/repository/users.rs:78:10
[INFO] [stdout]    |
[INFO] [stdout] 78 | #[derive(Deserialize, Validate)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout]  1 + use serde::Deserialize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Validate` in this scope
[INFO] [stdout]   --> src/repository/users.rs:78:23
[INFO] [stdout]    |
[INFO] [stdout] 78 | #[derive(Deserialize, Validate)]
[INFO] [stdout]    |                       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `validate` in this scope
[INFO] [stdout]   --> src/repository/users.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 |     #[validate(length(min = 3, max = 24))]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `validate` in this scope
[INFO] [stdout]   --> src/repository/users.rs:83:7
[INFO] [stdout]    |
[INFO] [stdout] 83 |     #[validate(email)]
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `validate` in this scope
[INFO] [stdout]  --> src/repository/notes.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 |     #[validate(length(min = 1, max = 255))]
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `validate` in this scope
[INFO] [stdout]  --> src/repository/notes.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[validate(length(min = 1))]
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]  --> src/repository/users.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pool: web::Data<PgPool>,
[INFO] [stdout]   |           ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 1 + use actix_web::web;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope
[INFO] [stdout]  --> src/repository/users.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pool: web::Data<PgPool>,
[INFO] [stdout]   |                     ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]   |
[INFO] [stdout] 1 + use sqlx::PgPool;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]  --> src/repository/users.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 |     form: web::Json<CreateUser>,
[INFO] [stdout]   |           ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 1 + use actix_web::web;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreateUser` in this scope
[INFO] [stdout]   --> src/repository/users.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 |     form: web::Json<CreateUser>,
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 | pub struct UpdateUser {
[INFO] [stdout]    | --------------------- similarly named struct `UpdateUser` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout]  9 -     form: web::Json<CreateUser>,
[INFO] [stdout]  9 +     form: web::Json<UpdateUser>,
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::models::user::CreateUser;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]   --> src/repository/users.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pool: web::Data<PgPool>,
[INFO] [stdout]    |           ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope
[INFO] [stdout]   --> src/repository/users.rs:36:21
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pool: web::Data<PgPool>,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::PgPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]   --> src/repository/users.rs:37:14
[INFO] [stdout]    |
[INFO] [stdout] 37 |     user_id: web::Path<Uuid>,
[INFO] [stdout]    |              ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope
[INFO] [stdout]   --> src/repository/users.rs:37:24
[INFO] [stdout]    |
[INFO] [stdout] 37 |     user_id: web::Path<Uuid>,
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::types::Uuid;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]   --> src/repository/users.rs:49:26
[INFO] [stdout]    |
[INFO] [stdout] 49 |         Some(user) => Ok(Json(user)),
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_multipart::form::json::Json;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::web::Json;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use jsonwebtoken::errors::ErrorKind::Json;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::types::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ErrorNotFound` in this scope
[INFO] [stdout]   --> src/repository/users.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |         None => Err(ErrorNotFound("User not found")),
[INFO] [stdout]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::error::ErrorNotFound;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]   --> src/repository/users.rs:58:11
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pool: web::Data<PgPool>,
[INFO] [stdout]    |           ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope
[INFO] [stdout]   --> src/repository/users.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 58 |     pool: web::Data<PgPool>,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::PgPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]   --> src/repository/users.rs:59:12
[INFO] [stdout]    |
[INFO] [stdout] 59 |     query: web::Query<Pagination>,
[INFO] [stdout]    |            ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Pagination` in this scope
[INFO] [stdout]   --> src/repository/users.rs:59:23
[INFO] [stdout]    |
[INFO] [stdout] 59 |     query: web::Query<Pagination>,
[INFO] [stdout]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub async fn list_users<Pagination>(
[INFO] [stdout]    |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]   --> src/repository/users.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 |     Ok(Json(users))
[INFO] [stdout]    |        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_multipart::form::json::Json;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::web::Json;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use jsonwebtoken::errors::ErrorKind::Json;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::types::Json;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]   --> src/repository/users.rs:88:11
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pool: web::Data<PgPool>,
[INFO] [stdout]    |           ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope
[INFO] [stdout]   --> src/repository/users.rs:88:21
[INFO] [stdout]    |
[INFO] [stdout] 88 |     pool: web::Data<PgPool>,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::PgPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]   --> src/repository/users.rs:89:14
[INFO] [stdout]    |
[INFO] [stdout] 89 |     user_id: web::Path<Uuid>,
[INFO] [stdout]    |              ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope
[INFO] [stdout]   --> src/repository/users.rs:89:24
[INFO] [stdout]    |
[INFO] [stdout] 89 |     user_id: web::Path<Uuid>,
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::types::Uuid;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]   --> src/repository/users.rs:90:11
[INFO] [stdout]    |
[INFO] [stdout] 90 |     form: web::Json<UpdateUser>,
[INFO] [stdout]    |           ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]    --> src/repository/users.rs:112:26
[INFO] [stdout]     |
[INFO] [stdout] 112 |         Some(user) => Ok(Json(user)),
[INFO] [stdout]     |                          ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use actix_multipart::form::json::Json;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use actix_web::web::Json;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use jsonwebtoken::errors::ErrorKind::Json;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sqlx::types::Json;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ErrorNotFound` in this scope
[INFO] [stdout]    --> src/repository/users.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |         None => Err(ErrorNotFound("User not found")),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use actix_web::error::ErrorNotFound;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]    --> src/repository/users.rs:120:11
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pool: web::Data<PgPool>,
[INFO] [stdout]     |           ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   1 + use actix_web::web;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope
[INFO] [stdout]    --> src/repository/users.rs:120:21
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pool: web::Data<PgPool>,
[INFO] [stdout]     |                     ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sqlx::PgPool;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]    --> src/repository/users.rs:121:14
[INFO] [stdout]     |
[INFO] [stdout] 121 |     user_id: web::Path<Uuid>,
[INFO] [stdout]     |              ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout]   1 + use actix_web::web;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope
[INFO] [stdout]    --> src/repository/users.rs:121:24
[INFO] [stdout]     |
[INFO] [stdout] 121 |     user_id: web::Path<Uuid>,
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]   1 + use sqlx::types::Uuid;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ErrorNotFound` in this scope
[INFO] [stdout]    --> src/repository/users.rs:131:20
[INFO] [stdout]     |
[INFO] [stdout] 131 |         return Err(ErrorNotFound("User not found"));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use actix_web::error::ErrorNotFound;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]   --> src/repository/notes.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 |     state: web::Data<AppState>,
[INFO] [stdout]    |            ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope
[INFO] [stdout]   --> src/repository/notes.rs:12:22
[INFO] [stdout]    |
[INFO] [stdout] 12 |     state: web::Data<AppState>,
[INFO] [stdout]    |                      ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn create_note<AppState>(
[INFO] [stdout]    |                         ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web`
[INFO] [stdout]   --> src/repository/notes.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     form: web::Json<CreatedNoteRequest>,
[INFO] [stdout]    |           ^^^ use of unresolved module or unlinked crate `web`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web`, use `cargo add web` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::web;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `CreatedNoteRequest` in this scope
[INFO] [stdout]   --> src/repository/notes.rs:13:21
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub struct CreateNoteRequest {
[INFO] [stdout]    | ---------------------------- similarly named struct `CreateNoteRequest` defined here
[INFO] [stdout] ...
[INFO] [stdout] 13 |     form: web::Json<CreatedNoteRequest>,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 13 -     form: web::Json<CreatedNoteRequest>,
[INFO] [stdout] 13 +     form: web::Json<CreateNoteRequest>,
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn create_note<CreatedNoteRequest>(
[INFO] [stdout]    |                         ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HttpResponse` in this scope
[INFO] [stdout]   --> src/repository/notes.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | ) -> Result<HttpResponse, ApiError> {
[INFO] [stdout]    |             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::HttpResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `ApiError` in this scope
[INFO] [stdout]   --> src/repository/notes.rs:14:27
[INFO] [stdout]    |
[INFO] [stdout] 14 | ) -> Result<HttpResponse, ApiError> {
[INFO] [stdout]    |                           ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn create_note<ApiError>(
[INFO] [stdout]    |                         ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HttpResponse`
[INFO] [stdout]   --> src/repository/notes.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 |     Ok(HttpResponse::Created().json(note))
[INFO] [stdout]    |        ^^^^^^^^^^^^ use of undeclared type `HttpResponse`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::HttpResponse;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope
[INFO] [stdout]   --> src/repository/notes.rs:39:34
[INFO] [stdout]    |
[INFO] [stdout] 39 | async fn get_popular_post(pool: &PgPool, threshold: i64) -> Result<Vec<PopularPost>, sqlx::Error> {
[INFO] [stdout]    |                                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::PgPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PgPool` in this scope
[INFO] [stdout]   --> src/repository/notes.rs:59:37
[INFO] [stdout]    |
[INFO] [stdout] 59 | async fn get_user_with_posts(pool: &PgPool) -> Result<Vec<User>, sqlx::Error> {
[INFO] [stdout]    |                                     ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::PgPool;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `User` in this scope
[INFO] [stdout]   --> src/repository/notes.rs:59:59
[INFO] [stdout]    |
[INFO] [stdout] 59 | async fn get_user_with_posts(pool: &PgPool) -> Result<Vec<User>, sqlx::Error> {
[INFO] [stdout]    |                                                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::models::user::User;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope
[INFO] [stdout]   --> src/sectionmanagement.rs:11:21
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub session_id: Uuid,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::types::Uuid;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid`
[INFO] [stdout]   --> src/sectionmanagement.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let session_id = Uuid::new_v4();
[INFO] [stdout]    |                      ^^^^ use of undeclared type `Uuid`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::types::Uuid;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope
[INFO] [stdout]   --> src/sectionmanagement.rs:69:18
[INFO] [stdout]    |
[INFO] [stdout] 69 |     session_id: &Uuid,
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::types::Uuid;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SessionError` in this scope
[INFO] [stdout]   --> src/sectionmanagement.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 | ) -> Result<(), SessionError> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub async fn save_session<SessionError>(
[INFO] [stdout]    |                          ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Uuid` in this scope
[INFO] [stdout]   --> src/sectionmanagement.rs:85:18
[INFO] [stdout]    |
[INFO] [stdout] 85 |     session_id: &Uuid,
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use sqlx::types::Uuid;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `SessionError` in this scope
[INFO] [stdout]   --> src/sectionmanagement.rs:86:29
[INFO] [stdout]    |
[INFO] [stdout] 86 | ) -> Result<Option<String>, SessionError> {
[INFO] [stdout]    |                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub async fn validate_session<SessionError>(
[INFO] [stdout]    |                              ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpServer`, and `post`
[INFO] [stdout]  --> src/filesave.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::{post, web, App, HttpResponse, HttpServer, Responder};
[INFO] [stdout]   |                 ^^^^       ^^^                ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/models/user.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::{Serialize, Deserialize};
[INFO] [stdout]   |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::FromRow`
[INFO] [stdout]  --> src/models/user.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sqlx::FromRow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::future::ok`
[INFO] [stdout]  --> src/sectionmanagement.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use futures_util::future::ok;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `redis::RedisConnectionInfo`
[INFO] [stdout]  --> src/sectionmanagement.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use redis::RedisConnectionInfo;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/repository/users.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | ) -> Result<impl Responder> {
[INFO] [stdout]    |      ^^^^^^ -------------- supplied 1 generic argument
[INFO] [stdout]    |      |
[INFO] [stdout]    |      expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 10 | ) -> Result<impl Responder, E> {
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/repository/users.rs:38:6
[INFO] [stdout]    |
[INFO] [stdout] 38 | ) -> Result<impl Responder> {
[INFO] [stdout]    |      ^^^^^^ -------------- supplied 1 generic argument
[INFO] [stdout]    |      |
[INFO] [stdout]    |      expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 38 | ) -> Result<impl Responder, E> {
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/repository/users.rs:60:6
[INFO] [stdout]    |
[INFO] [stdout] 60 | ) -> Result<impl Responder> {
[INFO] [stdout]    |      ^^^^^^ -------------- supplied 1 generic argument
[INFO] [stdout]    |      |
[INFO] [stdout]    |      expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 60 | ) -> Result<impl Responder, E> {
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/repository/users.rs:91:6
[INFO] [stdout]    |
[INFO] [stdout] 91 | ) -> Result<impl Responder> {
[INFO] [stdout]    |      ^^^^^^ -------------- supplied 1 generic argument
[INFO] [stdout]    |      |
[INFO] [stdout]    |      expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 91 | ) -> Result<impl Responder, E> {
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/repository/users.rs:122:6
[INFO] [stdout]     |
[INFO] [stdout] 122 | ) -> Result<impl Responder> {
[INFO] [stdout]     |      ^^^^^^ -------------- supplied 1 generic argument
[INFO] [stdout]     |      |
[INFO] [stdout]     |      expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 122 | ) -> Result<impl Responder, E> {
[INFO] [stdout]     |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this function depends on never type fallback being `()`
[INFO] [stdout]   --> src/repository/users.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout]  7 | / pub async fn create_user(
[INFO] [stdout]  8 | |     pool: web::Data<PgPool>,
[INFO] [stdout]  9 | |     form: web::Json<CreateUser>,
[INFO] [stdout] 10 | | ) -> Result<impl Responder> {
[INFO] [stdout]    | |___________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/never-type-fallback.html>
[INFO] [stdout]    = help: specify the types explicitly
[INFO] [stdout] note: in edition 2024, the requirement `!: filesave::_::_serde::Serialize` will fail
[INFO] [stdout]   --> src/repository/users.rs:32:37
[INFO] [stdout]    |
[INFO] [stdout] 32 |     Ok(HttpResponse::Created().json(user))
[INFO] [stdout]    |                                     ^^^^
[INFO] [stdout]    = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let user: () = sqlx::query_as!(
[INFO] [stdout]    |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/repository/users.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let result = sqlx::query!(
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     if result.rows_affected() == 0 {
[INFO] [stdout]     |        ------ type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `result` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let result: /* Type */ = sqlx::query!(
[INFO] [stdout]     |               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/sectionmanagement.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 | /     bb8::Pool::builder()
[INFO] [stdout] 59 | |         .max_size(15)
[INFO] [stdout] 60 | |         .build(manager)
[INFO] [stdout] 61 | |         .await
[INFO] [stdout]    | |______________^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/sectionmanagement.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let mut conn = pool.get().await?;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 74 |     conn.set_ex(
[INFO] [stdout]    |     ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `conn` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let mut conn: /* Type */ = pool.get().await?;
[INFO] [stdout]    |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/sectionmanagement.rs:87:9
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut conn = pool.get().await?;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 88 |     let user_id: Option<String> = conn.get(format!("session:{}", session_id)).await?;
[INFO] [stdout]    |                                   ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `conn` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 87 |     let mut conn: /* Type */ = pool.get().await?;
[INFO] [stdout]    |                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `clone` found for struct `SessionClaims` in the current scope
[INFO] [stdout]   --> src/sectionmanagement.rs:43:25
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct SessionClaims {
[INFO] [stdout]    | ------------------------ method `clone` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 43 |         ..access_claims.clone()
[INFO] [stdout]    |                         ^^^^^ method not found in `SessionClaims`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `clone`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `Clone`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encode_acesss_token` in this scope
[INFO] [stdout]   --> src/sectionmanagement.rs:46:24
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let access_token = encode_acesss_token(&access_claims, config);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `encode_refresh_token` in this scope
[INFO] [stdout]   --> src/sectionmanagement.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let refresh_token = encode_refresh_token(&refresh_claims, config);
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0282, E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `backend_actix` (lib) due to 81 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d7423c1d990bddb9fe7349f6966f8edfc6d1aa1052b49bb57bf25392cf87e940", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d7423c1d990bddb9fe7349f6966f8edfc6d1aa1052b49bb57bf25392cf87e940", kill_on_drop: false }`
[INFO] [stdout] d7423c1d990bddb9fe7349f6966f8edfc6d1aa1052b49bb57bf25392cf87e940
