[INFO] cloning repository https://github.com/Egidijus01/rust_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Egidijus01/rust_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgidijus01%2Frust_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgidijus01%2Frust_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4962ba49f34abc9de0b4909880ea4125901adeeb
[INFO] checking Egidijus01/rust_api against nightly-2024-02-05 for check-cfg
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgidijus01%2Frust_api" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Egidijus01/rust_api on toolchain nightly-2024-02-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Egidijus01/rust_api
[INFO] finished tweaking git repo https://github.com/Egidijus01/rust_api
[INFO] tweaked toml for git repo https://github.com/Egidijus01/rust_api written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Egidijus01/rust_api 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlx-macros v0.7.1
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.1
[INFO] [stderr]   Downloaded worker-macros v0.0.10
[INFO] [stderr]   Downloaded worker-sys v0.0.10
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.1
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.1
[INFO] [stderr]   Downloaded sqlx v0.7.1
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.1
[INFO] [stderr]   Downloaded sqlx-core v0.7.1
[INFO] [stderr]   Downloaded worker v0.0.18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 08707e46d2c9cccb35534a70cc5edab1a4b34e74338bc4b356b9fd6b2f1d309e
[INFO] running `Command { std: "docker" "start" "-a" "08707e46d2c9cccb35534a70cc5edab1a4b34e74338bc4b356b9fd6b2f1d309e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "08707e46d2c9cccb35534a70cc5edab1a4b34e74338bc4b356b9fd6b2f1d309e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08707e46d2c9cccb35534a70cc5edab1a4b34e74338bc4b356b9fd6b2f1d309e", kill_on_drop: false }`
[INFO] [stdout] 08707e46d2c9cccb35534a70cc5edab1a4b34e74338bc4b356b9fd6b2f1d309e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9be21db41e528baf2ecf83c6f02b2cdd130fd29233db4d3ae6a27055229305c
[INFO] running `Command { std: "docker" "start" "-a" "c9be21db41e528baf2ecf83c6f02b2cdd130fd29233db4d3ae6a27055229305c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.86
[INFO] [stderr]    Compiling bumpalo v3.14.0
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]    Compiling serde_json v1.0.107
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]    Compiling wasm-bindgen v0.2.86
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling ahash v0.8.3
[INFO] [stderr]    Compiling thiserror v1.0.48
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]     Checking cpufeatures v0.2.9
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking futures-io v0.3.28
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling openssl v0.10.57
[INFO] [stderr]    Compiling aho-corasick v1.1.1
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking http v0.2.9
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking percent-encoding v2.3.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]     Checking form_urlencoded v1.2.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking socket2 v0.5.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking tracing-core v0.1.31
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling openssl-sys v0.9.93
[INFO] [stderr]    Compiling sha2 v0.10.7
[INFO] [stderr]    Compiling libsqlite3-sys v0.26.0
[INFO] [stderr]     Checking url v2.4.1
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling rustix v0.38.14
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling crc-catalog v2.2.0
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking iana-time-zone v0.1.57
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.7
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling walkdir v2.4.0
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.86
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]    Compiling flate2 v1.0.27
[INFO] [stderr]     Checking sha1 v0.10.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.0
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling fastrand v2.0.0
[INFO] [stderr]    Compiling chrono-tz-build v0.2.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling async-trait v0.1.73
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.86
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling zip v0.6.6
[INFO] [stderr]    Compiling rust-embed-utils v7.8.1
[INFO] [stderr]    Compiling shellexpand v2.1.2
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling tempfile v3.8.0
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]     Checking base64 v0.21.4
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling chrono-tz v0.8.3
[INFO] [stderr]    Compiling utoipa-swagger-ui v3.1.5
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking rustls-pemfile v1.0.3
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking matchit v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.86
[INFO] [stderr]    Compiling thiserror-impl v1.0.48
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling tracing-attributes v0.1.26
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling rust-embed-impl v6.8.1
[INFO] [stderr]    Compiling utoipa-gen v3.5.0
[INFO] [stderr]     Checking js-sys v0.3.63
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]     Checking tungstenite v0.18.0
[INFO] [stderr]     Checking rust-embed v6.8.1
[INFO] [stderr]     Checking flume v0.10.14
[INFO] [stderr]     Checking pem v0.8.3
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking wasm-bindgen-futures v0.4.36
[INFO] [stderr]     Checking web-sys v0.3.63
[INFO] [stderr]     Checking futures v0.3.28
[INFO] [stderr]    Compiling worker-sys v0.0.10
[INFO] [stderr]     Checking wasm-streams v0.3.0
[INFO] [stderr]     Checking tokio-util v0.7.9
[INFO] [stderr]     Checking tokio-tungstenite v0.18.0
[INFO] [stderr]    Compiling worker-macros v0.0.10
[INFO] [stderr]     Checking h2 v0.3.21
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]     Checking serde-wasm-bindgen v0.5.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking utoipa v3.5.0
[INFO] [stderr]     Checking worker-kv v0.6.0
[INFO] [stderr]     Checking sqlformat v0.2.2
[INFO] [stderr]     Checking simple_asn1 v0.4.1
[INFO] [stderr]     Checking jsonwebtoken v7.2.0
[INFO] [stderr]     Checking sqlx-core v0.7.1
[INFO] [stderr]     Checking hyper v0.14.27
[INFO] [stderr]     Checking worker v0.0.18
[INFO] [stderr]     Checking sqlx-sqlite v0.7.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.1
[INFO] [stderr]     Checking warp v0.3.5
[INFO] [stderr]    Compiling sqlx-macros v0.7.1
[INFO] [stderr]     Checking sqlx v0.7.1
[INFO] [stderr]     Checking rest_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::models::posts::Post`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::posts::Post;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::authors::Author`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::authors::Author;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::posts::Post`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::models::posts::Post;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::authors::Author`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::authors::Author;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]  --> src/handlers/author_handler.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use base64::decode;
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/handlers/author_handler.rs:175:27
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let decoded = decode(photo);
[INFO] [stdout]     |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/handlers/author_handler.rs:257:27
[INFO] [stdout]     |
[INFO] [stdout] 257 |             let decoded = decode(photo);
[INFO] [stdout]     |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]  --> src/handlers/posts_handler.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use base64::decode;
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/handlers/posts_handler.rs:155:31
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let decoded = decode(file);
[INFO] [stdout]     |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/handlers/posts_handler.rs:311:31
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 let decoded = decode(file);
[INFO] [stdout]     |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/handlers/posts_handler.rs:482:55
[INFO] [stdout]     |
[INFO] [stdout] 482 |                 let file_data_base64_single = base64::encode(&file_data);
[INFO] [stdout]     |                                                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]  --> src/handlers/author_handler.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use base64::decode;
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/handlers/author_handler.rs:175:27
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let decoded = decode(photo);
[INFO] [stdout]     |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/handlers/author_handler.rs:257:27
[INFO] [stdout]     |
[INFO] [stdout] 257 |             let decoded = decode(photo);
[INFO] [stdout]     |                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]  --> src/handlers/posts_handler.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use base64::decode;
[INFO] [stdout]   |             ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/handlers/posts_handler.rs:155:31
[INFO] [stdout]     |
[INFO] [stdout] 155 |                 let decoded = decode(file);
[INFO] [stdout]     |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/handlers/posts_handler.rs:311:31
[INFO] [stdout]     |
[INFO] [stdout] 311 |                 let decoded = decode(file);
[INFO] [stdout]     |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/handlers/posts_handler.rs:482:55
[INFO] [stdout]     |
[INFO] [stdout] 482 |                 let file_data_base64_single = base64::encode(&file_data);
[INFO] [stdout]     |                                                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/ws/ws_handler.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |     while let Some(result) = client_ws_rcv.next().await {
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/ws/ws_handler.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |     while let Some(result) = client_ws_rcv.next().await {
[INFO] [stdout]    |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_file_format` is never used
[INFO] [stdout]   --> src/Middleware/mime_check.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn check_file_format(data: &[u8]) -> Option<&str> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/handlers/author_handler.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 | struct MyError(sqlx::Error);
[INFO] [stdout]    |        ------- ^^^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 43 | struct MyError(());
[INFO] [stdout]    |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DB_URL` is never used
[INFO] [stdout]  --> src/swagger.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const DB_URL: &str = "sqlite://sqlite.db";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Middleware` should have a snake case name
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | mod Middleware;
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `middleware`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_file_format` is never used
[INFO] [stdout]   --> src/Middleware/mime_check.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn check_file_format(data: &[u8]) -> Option<&str> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/handlers/author_handler.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 | struct MyError(sqlx::Error);
[INFO] [stdout]    |        ------- ^^^^^^^^^^^
[INFO] [stdout]    |        |
[INFO] [stdout]    |        field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 43 | struct MyError(());
[INFO] [stdout]    |                ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DB_URL` is never used
[INFO] [stdout]  --> src/swagger.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const DB_URL: &str = "sqlite://sqlite.db";
[INFO] [stdout]   |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Middleware` should have a snake case name
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | mod Middleware;
[INFO] [stdout]    |     ^^^^^^^^^^ help: convert the identifier to snake case: `middleware`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 27.48s
[INFO] running `Command { std: "docker" "inspect" "c9be21db41e528baf2ecf83c6f02b2cdd130fd29233db4d3ae6a27055229305c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9be21db41e528baf2ecf83c6f02b2cdd130fd29233db4d3ae6a27055229305c", kill_on_drop: false }`
[INFO] [stdout] c9be21db41e528baf2ecf83c6f02b2cdd130fd29233db4d3ae6a27055229305c
