[INFO] cloning repository https://github.com/blingblingdong/deploy_law_web
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blingblingdong/deploy_law_web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblingblingdong%2Fdeploy_law_web", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblingblingdong%2Fdeploy_law_web'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3edfd0f11979e101a92b64417fcc52bfdd8f68d1
[INFO] checking blingblingdong/deploy_law_web against master#8b6b15b877fbceb1ee5d9a5a4746e7515901574a for pr-147294
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblingblingdong%2Fdeploy_law_web" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/blingblingdong/deploy_law_web
[INFO] finished tweaking git repo https://github.com/blingblingdong/deploy_law_web
[INFO] tweaked toml for git repo https://github.com/blingblingdong/deploy_law_web written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/blingblingdong/deploy_law_web on toolchain 8b6b15b877fbceb1ee5d9a5a4746e7515901574a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b6b15b877fbceb1ee5d9a5a4746e7515901574a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/blingblingdong/deploy_law_web 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" "+8b6b15b877fbceb1ee5d9a5a4746e7515901574a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.tracing.featrues
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-retry2 v0.5.7
[INFO] [stderr]   Downloaded chinese-variant v1.1.3
[INFO] [stderr]   Downloaded rust-argon2 v1.0.1
[INFO] [stderr]   Downloaded paseto v2.0.2+1.0.3
[INFO] [stderr]   Downloaded chinese-number v0.6.5
[INFO] [stderr]   Downloaded anyhow v1.0.88
[INFO] [stderr]   Downloaded select v0.6.0
[INFO] [stderr]   Downloaded markup5ever_rcdom v0.2.0
[INFO] [stderr]   Downloaded redis v0.27.4
[INFO] [stderr]   Downloaded lol_html v0.3.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8b6b15b877fbceb1ee5d9a5a4746e7515901574a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2ffa11004cb5d58c10bed9e3d778a3ae64057f7f2f126a3fb274d15a2a0caeb9
[INFO] running `Command { std: "docker" "start" "-a" "2ffa11004cb5d58c10bed9e3d778a3ae64057f7f2f126a3fb274d15a2a0caeb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ffa11004cb5d58c10bed9e3d778a3ae64057f7f2f126a3fb274d15a2a0caeb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ffa11004cb5d58c10bed9e3d778a3ae64057f7f2f126a3fb274d15a2a0caeb9", kill_on_drop: false }`
[INFO] [stdout] 2ffa11004cb5d58c10bed9e3d778a3ae64057f7f2f126a3fb274d15a2a0caeb9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8b6b15b877fbceb1ee5d9a5a4746e7515901574a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8745e4b934060697113293c19b87234e4515315c3a9bb7246353dfa2a1cb322f
[INFO] running `Command { std: "docker" "start" "-a" "8745e4b934060697113293c19b87234e4515315c3a9bb7246353dfa2a1cb322f", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: dependencies.tracing.featrues
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling openssl-src v300.3.2+3.3.2
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]     Checking ring v0.17.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking phf v0.10.1
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling tokio v1.40.0
[INFO] [stderr]    Compiling unicode-properties v0.1.2
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]    Compiling webpki v0.22.4
[INFO] [stderr]    Compiling chrono v0.4.40
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]    Compiling futures-intrusive v0.4.2
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]     Checking getrandom v0.3.2
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling anyhow v1.0.88
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling platforms v2.0.0
[INFO] [stderr]     Checking dtoa v1.0.9
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking cipher v0.3.0
[INFO] [stderr]     Checking universal-hash v0.4.0
[INFO] [stderr]     Checking dtoa-short v0.3.5
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking object v0.36.4
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking destructure_traitobject v0.2.0
[INFO] [stderr]     Checking nodrop v0.1.14
[INFO] [stderr]     Checking ordered-multimap v0.4.3
[INFO] [stderr]     Checking blake2b_simd v1.0.2
[INFO] [stderr]     Checking servo_arc v0.1.1
[INFO] [stderr]     Checking poly1305 v0.7.2
[INFO] [stderr]     Checking chacha20 v0.7.1
[INFO] [stderr]     Checking unsafe-any-ors v1.0.0
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]     Checking ordered-float v2.10.1
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking aead v0.4.3
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking chinese-variant v1.1.3
[INFO] [stderr]     Checking thin-slice v0.1.1
[INFO] [stderr]    Compiling pulldown-cmark v0.9.6
[INFO] [stderr]     Checking chinese-number v0.6.5
[INFO] [stderr]     Checking blake2 v0.9.2
[INFO] [stderr]     Checking getopts v0.2.21
[INFO] [stderr]    Compiling law_web v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking chacha20poly1305 v0.8.0
[INFO] [stderr]     Checking rust-ini v0.18.0
[INFO] [stderr]     Checking typemap-ors v1.0.0
[INFO] [stderr]     Checking rust-argon2 v1.0.1
[INFO] [stderr]     Checking fancy-regex v0.11.0
[INFO] [stderr]     Checking thread-id v4.2.2
[INFO] [stderr]     Checking unicode-ident v1.0.13
[INFO] [stderr]     Checking pathdiff v0.2.2
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking log-mdc v0.1.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking flate2 v1.1.0
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling html5ever v0.26.0
[INFO] [stderr]    Compiling cssparser v0.27.2
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling sqlx-rt v0.6.3
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]     Checking thiserror v1.0.63
[INFO] [stderr]    Compiling pest v2.7.13
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]     Checking backtrace v0.3.74
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]     Checking hashbrown v0.13.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]     Checking indexmap v2.5.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]    Compiling pest_meta v2.7.13
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]    Compiling phf_codegen v0.10.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.2
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling phf_macros v0.8.0
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]    Compiling selectors v0.22.0
[INFO] [stderr]    Compiling pest_generator v2.7.13
[INFO] [stderr]    Compiling markup5ever v0.11.0
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]    Compiling pest_derive v2.7.13
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tokio-retry2 v0.5.7
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking string_cache v0.8.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking csv v1.3.0
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking ron v0.7.1
[INFO] [stderr]     Checking toml v0.5.11
[INFO] [stderr]     Checking serde-value v0.7.0
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking rustls v0.21.12
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]    Compiling sqlx-core v0.6.3
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking config v0.13.4
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking log4rs v1.3.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking lol_html v0.3.3
[INFO] [stderr]     Checking xml5ever v0.17.0
[INFO] [stderr]     Checking markup5ever_rcdom v0.2.0
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking select v0.6.0
[INFO] [stderr]     Checking note v0.1.0 (/opt/rustwide/workdir/note)
[INFO] [stdout] warning: unused import: `Children`
[INFO] [stdout]  --> note/src/lib.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | use select::node::{Children, Node};
[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: `uuid::Uuid`
[INFO] [stdout]  --> note/src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking redis v0.27.4
[INFO] [stderr]     Checking hyper v0.14.30
[INFO] [stderr]    Compiling sqlx-macros v0.6.3
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking warp v0.3.7
[INFO] [stderr]     Checking sqlx v0.6.3
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking new_law v0.1.0 (/opt/rustwide/workdir/new_law)
[INFO] [stderr]     Checking paseto v2.0.2+1.0.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stdout] warning: variable `attempts` is assigned to, but never used
[INFO] [stdout]    --> new_law/src/lib.rs:216:17
[INFO] [stdout]     |
[INFO] [stdout] 216 |         let mut attempts = 0;
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_attempts` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `attempts` is never read
[INFO] [stdout]    --> new_law/src/lib.rs:230:17
[INFO] [stdout]     |
[INFO] [stdout] 230 |                 attempts += 1;
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufRead`
[INFO] [stdout]  --> new_law/src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::BufRead;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `max_level` is assigned to, but never used
[INFO] [stdout]    --> new_law/src/lib.rs:157:17
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut max_level: usize;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_max_level` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `max_level` is never read
[INFO] [stdout]    --> new_law/src/lib.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 max_level = laws.count_chapter() - 1;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> new_law/src/lib.rs:157:13
[INFO] [stdout]     |
[INFO] [stdout] 157 |         let mut max_level: usize;
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `childChapters` should have a snake case name
[INFO] [stdout]   --> new_law/src/lib.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |     pub childChapters: Vec<ChapterUl>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `child_chapters`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking otherlawresource v0.1.0 (/opt/rustwide/workdir/otherlawresource)
[INFO] [stderr]     Checking handle-errors v0.1.0 (/opt/rustwide/workdir/handle-errors)
[INFO] [stdout] warning: unused import: `Predicate`
[INFO] [stdout]  --> otherlawresource/src/lib.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use select::predicate::{Name, Predicate};
[INFO] [stdout]   |                               ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> otherlawresource/src/lib.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 |         if (pre.text().starts_with("憲法法庭判決")) {
[INFO] [stdout]     |            ^                                      ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 163 -         if (pre.text().starts_with("憲法法庭判決")) {
[INFO] [stdout] 163 +         if pre.text().starts_with("憲法法庭判決")  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> otherlawresource/src/lib.rs:305:12
[INFO] [stdout]     |
[INFO] [stdout] 305 |         if (pre.text().starts_with("理 由 書：")) {
[INFO] [stdout]     |            ^                                    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 305 -         if (pre.text().starts_with("理 由 書：")) {
[INFO] [stdout] 305 +         if pre.text().starts_with("理 由 書：")  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]    --> otherlawresource/src/lib.rs:460:24
[INFO] [stdout]     |
[INFO] [stdout] 460 | use std::io::{BufRead, BufReader, Read};
[INFO] [stdout]     |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> otherlawresource/src/lib.rs:566:12
[INFO] [stdout]     |
[INFO] [stdout] 566 |         if (name.contains(ch)) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 566 -         if (name.contains(ch)) {
[INFO] [stdout] 566 +         if name.contains(ch)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> otherlawresource/src/lib.rs:571:12
[INFO] [stdout]     |
[INFO] [stdout] 571 |         if (name.contains(ch)) {
[INFO] [stdout]     |            ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 571 -         if (name.contains(ch)) {
[INFO] [stdout] 571 +         if name.contains(ch)  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `chapter_vec` is never read
[INFO] [stdout]    --> otherlawresource/src/lib.rs:679:13
[INFO] [stdout]     |
[INFO] [stdout] 679 |     let mut chapter_vec = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> otherlawresource/src/lib.rs:697:9
[INFO] [stdout]     |
[INFO] [stdout] 697 |     for mut law in &mut law_vec {
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufRead`
[INFO] [stdout]    --> otherlawresource/src/lib.rs:460:15
[INFO] [stdout]     |
[INFO] [stdout] 460 | use std::io::{BufRead, BufReader, Read};
[INFO] [stdout]     |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `scrapeNewInterpretation` should have a snake case name
[INFO] [stdout]    --> otherlawresource/src/lib.rs:146:14
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub async fn scrapeNewInterpretation(num: usize, href: String) -> NewInterpretation {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scrape_new_interpretation`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `scrapeOldInterpretation` should have a snake case name
[INFO] [stdout]    --> otherlawresource/src/lib.rs:285:14
[INFO] [stdout]     |
[INFO] [stdout] 285 | pub async fn scrapeOldInterpretation(num: String) -> OldInterpretation {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scrape_old_interpretation`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `scrapeResolution` should have a snake case name
[INFO] [stdout]    --> otherlawresource/src/lib.rs:462:8
[INFO] [stdout]     |
[INFO] [stdout] 462 | pub fn scrapeResolution(num: String) -> Resolution {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `scrape_resolution`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::file::File`
[INFO] [stdout]  --> src/routes/Library.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::file::File;
[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: `Duration`
[INFO] [stdout]  --> src/routes/authentication.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{Duration, Utc};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `paseto::v1::local_paseto`
[INFO] [stdout]  --> src/routes/authentication.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use paseto::v1::local_paseto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Account_with_Token` should have an upper camel case name
[INFO] [stdout]   --> src/routes/authentication.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Account_with_Token {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountWithToken`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Dictionary`
[INFO] [stdout]  --> src/routes/dictionary.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::types::dictionary::{Dictionary, VocabItem, VocabItemLaw};
[INFO] [stdout]   |                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::account::Session`
[INFO] [stdout]  --> src/routes/directory.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::types::account::Session;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `html_content::ContentType`
[INFO] [stdout]  --> src/routes/file.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use lol_html::{html_content::ContentType, HtmlRewriter, Settings};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `instrument`
[INFO] [stdout]   --> src/routes/file.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | use tracing::{info, instrument};
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warp::hyper::body::Bytes`
[INFO] [stdout]   --> src/routes/file.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | use warp::hyper::body::Bytes;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warp::multipart`
[INFO] [stdout]   --> src/routes/file.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | use warp::multipart;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `HashSet`
[INFO] [stdout]  --> src/routes/new_law.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::file::File`
[INFO] [stdout]  --> src/routes/Library.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::file::File;
[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: `Duration`
[INFO] [stdout]  --> src/routes/authentication.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono::{Duration, Utc};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `paseto::v1::local_paseto`
[INFO] [stdout]  --> src/routes/authentication.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use paseto::v1::local_paseto;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `instrument`
[INFO] [stdout]  --> src/routes/new_law.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{info, instrument};
[INFO] [stdout]   |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::account::Redis_Database`
[INFO] [stdout]  --> src/routes/note.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::types::account::Redis_Database;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::file::File`
[INFO] [stdout]  --> src/routes/note.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::types::file::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Account_with_Token` should have an upper camel case name
[INFO] [stdout]   --> src/routes/authentication.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Account_with_Token {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AccountWithToken`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::BufMut`
[INFO] [stdout]  --> src/routes/note.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use bytes::BufMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handle_errors::Error`
[INFO] [stdout]  --> src/routes/note.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use handle_errors::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `html_content::ContentType`
[INFO] [stdout]  --> src/routes/note.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use lol_html::{html_content::ContentType, HtmlRewriter, Settings};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Options`, `Parser`, and `html`
[INFO] [stdout]   --> src/routes/note.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 | use pulldown_cmark::{html, Options, Parser};
[INFO] [stdout]    |                      ^^^^  ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `select::document::Document`
[INFO] [stdout]   --> src/routes/note.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use select::document::Document;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `select::predicate::Predicate`
[INFO] [stdout]   --> src/routes/note.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use select::predicate::Predicate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Class` and `Name`
[INFO] [stdout]   --> src/routes/note.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 | use select::predicate::{Class, Name};
[INFO] [stdout]    |                         ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]   --> src/routes/note.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 | use serde::{Deserialize, Deserializer, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Dictionary`
[INFO] [stdout]  --> src/routes/dictionary.rs:2:32
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::types::dictionary::{Dictionary, VocabItem, VocabItemLaw};
[INFO] [stdout]   |                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `HashSet`
[INFO] [stdout]   --> src/routes/note.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                        ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]   --> src/routes/note.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::fs;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hash`
[INFO] [stdout]   --> src/routes/note.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::hash::{Hash, Hasher};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/routes/note.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::account::Session`
[INFO] [stdout]  --> src/routes/directory.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::types::account::Session;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Command` and `Stdio`
[INFO] [stdout]   --> src/routes/note.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 | use std::process::{Command, Stdio};
[INFO] [stdout]    |                    ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::fs::File as OtherFile`
[INFO] [stdout]   --> src/routes/note.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use tokio::fs::File as OtherFile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `instrument`
[INFO] [stdout]   --> src/routes/note.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 | use tracing::{info, instrument};
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warp::http::Response`
[INFO] [stdout]   --> src/routes/note.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use warp::http::Response;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Note_Date` should have an upper camel case name
[INFO] [stdout]   --> src/routes/note.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Note_Date {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to upper camel case: `NoteDate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `redis::pipe`
[INFO] [stdout]    --> src/routes/note.rs:220:5
[INFO] [stdout]     |
[INFO] [stdout] 220 | use redis::pipe;
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format`
[INFO] [stdout]    --> src/routes/note.rs:221:5
[INFO] [stdout]     |
[INFO] [stdout] 221 | use tracing_subscriber::fmt::format;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `html_content::ContentType`
[INFO] [stdout]  --> src/routes/file.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | use lol_html::{html_content::ContentType, HtmlRewriter, Settings};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `instrument`
[INFO] [stdout]   --> src/routes/file.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | use tracing::{info, instrument};
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warp::hyper::body::Bytes`
[INFO] [stdout]   --> src/routes/file.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 65 | use warp::hyper::body::Bytes;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warp::multipart`
[INFO] [stdout]   --> src/routes/file.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | use warp::multipart;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `HashSet`
[INFO] [stdout]  --> src/routes/new_law.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]   |                        ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `instrument`
[INFO] [stdout]  --> src/routes/new_law.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing::{info, instrument};
[INFO] [stdout]   |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::account::Redis_Database`
[INFO] [stdout]  --> src/routes/note.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::types::account::Redis_Database;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::types::file::File`
[INFO] [stdout]  --> src/routes/note.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::types::file::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bytes::BufMut`
[INFO] [stdout]  --> src/routes/note.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use bytes::BufMut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `handle_errors::Error`
[INFO] [stdout]  --> src/routes/note.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use handle_errors::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `html_content::ContentType`
[INFO] [stdout]  --> src/routes/note.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 | use lol_html::{html_content::ContentType, HtmlRewriter, Settings};
[INFO] [stdout]   |                ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Options`, `Parser`, and `html`
[INFO] [stdout]   --> src/routes/note.rs:13:22
[INFO] [stdout]    |
[INFO] [stdout] 13 | use pulldown_cmark::{html, Options, Parser};
[INFO] [stdout]    |                      ^^^^  ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `select::document::Document`
[INFO] [stdout]   --> src/routes/note.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use select::document::Document;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/routes/note.rs:357:8
[INFO] [stdout]     |
[INFO] [stdout] 357 |     if (&state == "true") {
[INFO] [stdout]     |        ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 357 -     if (&state == "true") {
[INFO] [stdout] 357 +     if &state == "true"  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `select::predicate::Predicate`
[INFO] [stdout]   --> src/routes/note.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use select::predicate::Predicate;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Class` and `Name`
[INFO] [stdout]   --> src/routes/note.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 18 | use select::predicate::{Class, Name};
[INFO] [stdout]    |                         ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/routes/note.rs:359:15
[INFO] [stdout]     |
[INFO] [stdout] 359 |     } else if (&state == "false") {
[INFO] [stdout]     |               ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 359 -     } else if (&state == "false") {
[INFO] [stdout] 359 +     } else if &state == "false"  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserializer`
[INFO] [stdout]   --> src/routes/note.rs:19:26
[INFO] [stdout]    |
[INFO] [stdout] 19 | use serde::{Deserialize, Deserializer, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `argon2::Config`
[INFO] [stdout]  --> src/store.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use argon2::Config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap` and `HashSet`
[INFO] [stdout]   --> src/routes/note.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 | use std::collections::{HashMap, HashSet};
[INFO] [stdout]    |                        ^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::error`
[INFO] [stdout]  --> src/store.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use log::error;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]   --> src/routes/note.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use std::fs;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/store.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hash`
[INFO] [stdout]   --> src/routes/note.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::hash::{Hash, Hasher};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/routes/note.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::path::Path;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncCommands`, `RedisError`, and `RedisResult`
[INFO] [stdout]  --> src/main.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use redis::{AsyncCommands, Client, RedisError, RedisResult};
[INFO] [stdout]   |             ^^^^^^^^^^^^^          ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Command` and `Stdio`
[INFO] [stdout]   --> src/routes/note.rs:25:20
[INFO] [stdout]    |
[INFO] [stdout] 25 | use std::process::{Command, Stdio};
[INFO] [stdout]    |                    ^^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `redis::AsyncCommands`
[INFO] [stdout]  --> src/types/account.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use redis::AsyncCommands;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Redis_Database` should have an upper camel case name
[INFO] [stdout]   --> src/types/account.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Redis_Database {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RedisDatabase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::routes::note::get_gzip_json`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::routes::note::get_gzip_json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `note::Block`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use note::Block;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/main.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `interval`
[INFO] [stdout]   --> src/main.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tokio::time::{interval, Duration};
[INFO] [stdout]    |                   ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::fs::File as OtherFile`
[INFO] [stdout]   --> src/routes/note.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use tokio::fs::File as OtherFile;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `instrument`
[INFO] [stdout]   --> src/routes/note.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 | use tracing::{info, instrument};
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warp::http::Response`
[INFO] [stdout]   --> src/routes/note.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | use warp::http::Response;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Note_Date` should have an upper camel case name
[INFO] [stdout]   --> src/routes/note.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Note_Date {
[INFO] [stdout]    |            ^^^^^^^^^ help: convert the identifier to upper camel case: `NoteDate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `redis::pipe`
[INFO] [stdout]    --> src/routes/note.rs:220:5
[INFO] [stdout]     |
[INFO] [stdout] 220 | use redis::pipe;
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format`
[INFO] [stdout]    --> src/routes/note.rs:221:5
[INFO] [stdout]     |
[INFO] [stdout] 221 | use tracing_subscriber::fmt::format;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/routes/note.rs:357:8
[INFO] [stdout]     |
[INFO] [stdout] 357 |     if (&state == "true") {
[INFO] [stdout]     |        ^                ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 357 -     if (&state == "true") {
[INFO] [stdout] 357 +     if &state == "true"  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/routes/note.rs:359:15
[INFO] [stdout]     |
[INFO] [stdout] 359 |     } else if (&state == "false") {
[INFO] [stdout]     |               ^                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 359 -     } else if (&state == "false") {
[INFO] [stdout] 359 +     } else if &state == "false"  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `argon2::Config`
[INFO] [stdout]  --> src/store.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use argon2::Config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::error`
[INFO] [stdout]  --> src/store.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use log::error;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/store.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncCommands`, `RedisError`, and `RedisResult`
[INFO] [stdout]  --> src/main.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use redis::{AsyncCommands, Client, RedisError, RedisResult};
[INFO] [stdout]   |             ^^^^^^^^^^^^^          ^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `redis::AsyncCommands`
[INFO] [stdout]  --> src/types/account.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use redis::AsyncCommands;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Redis_Database` should have an upper camel case name
[INFO] [stdout]   --> src/types/account.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Redis_Database {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RedisDatabase`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::routes::note::get_gzip_json`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::routes::note::get_gzip_json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `note::Block`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use note::Block;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]   --> src/main.rs:12:26
[INFO] [stdout]    |
[INFO] [stdout] 12 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `interval`
[INFO] [stdout]   --> src/main.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tokio::time::{interval, Duration};
[INFO] [stdout]    |                   ^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead.
[INFO] [stdout]   --> src/types/account.rs:21:33
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub connection: redis::aio::Connection
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead.
[INFO] [stdout]   --> src/types/account.rs:21:33
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub connection: redis::aio::Connection
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]    --> src/routes/directory.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |         Ok(dir) => {
[INFO] [stdout]     |            ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/routes/directory.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut s = String::new();
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/routes/directory.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut s = String::new();
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir`
[INFO] [stdout]    --> src/routes/directory.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 |         Ok(dir) => {
[INFO] [stdout]     |            ^^^ help: if this is intentional, prefix it with an underscore: `_dir`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/routes/directory.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut s = String::new();
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/routes/directory.rs:138:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     let mut s = String::new();
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/routes/note.rs:210:13
[INFO] [stdout]     |
[INFO] [stdout] 210 |         let x: String = redis
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/routes/note.rs:210:13
[INFO] [stdout]     |
[INFO] [stdout] 210 |         let x: String = redis
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> src/routes/note.rs:223:1
[INFO] [stdout]     |
[INFO] [stdout] 223 | / pub async fn update_content(
[INFO] [stdout] 224 | |     id: String,
[INFO] [stdout] 225 | |     mut redis: ConnectionManager,
[INFO] [stdout] 226 | |     content: UpdateContent,
[INFO] [stdout] 227 | | ) -> Result<impl warp::Reply, warp::Rejection> {
[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 `!: FromRedisValue` will fail
[INFO] [stdout]    --> src/routes/note.rs:234:10
[INFO] [stdout]     |
[INFO] [stdout] 234 |         .sadd("noteIdSet", &id)
[INFO] [stdout]     |          ^^^^
[INFO] [stdout]     = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 233 ~     let _: () = redis
[INFO] [stdout] 234 |         .sadd("noteIdSet", &id)
[INFO] [stdout] ...
[INFO] [stdout] 237 |     let compressed = gzip_string(&json);
[INFO] [stdout] 238 ~     let _: () = redis
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> src/routes/note.rs:223:1
[INFO] [stdout]     |
[INFO] [stdout] 223 | / pub async fn update_content(
[INFO] [stdout] 224 | |     id: String,
[INFO] [stdout] 225 | |     mut redis: ConnectionManager,
[INFO] [stdout] 226 | |     content: UpdateContent,
[INFO] [stdout] 227 | | ) -> Result<impl warp::Reply, warp::Rejection> {
[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 `!: FromRedisValue` will fail
[INFO] [stdout]    --> src/routes/note.rs:234:10
[INFO] [stdout]     |
[INFO] [stdout] 234 |         .sadd("noteIdSet", &id)
[INFO] [stdout]     |          ^^^^
[INFO] [stdout]     = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 233 ~     let _: () = redis
[INFO] [stdout] 234 |         .sadd("noteIdSet", &id)
[INFO] [stdout] ...
[INFO] [stdout] 237 |     let compressed = gzip_string(&json);
[INFO] [stdout] 238 ~     let _: () = redis
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> src/routes/note.rs:261:1
[INFO] [stdout]     |
[INFO] [stdout] 261 | / pub async fn update_name(
[INFO] [stdout] 262 | |     id: String,
[INFO] [stdout] 263 | |     newname: String,
[INFO] [stdout] 264 | |     store: Store,
[INFO] [stdout] 265 | |     mut redis: ConnectionManager,
[INFO] [stdout] 266 | | ) -> Result<impl warp::Reply, warp::Rejection> {
[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 `!: FromRedisValue` will fail
[INFO] [stdout]    --> src/routes/note.rs:304:18
[INFO] [stdout]     |
[INFO] [stdout] 304 |                 .del(id.clone())
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 304 |                 .del::<_, ()>(id.clone())
[INFO] [stdout]     |                     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this function depends on never type fallback being `()`
[INFO] [stdout]    --> src/routes/note.rs:261:1
[INFO] [stdout]     |
[INFO] [stdout] 261 | / pub async fn update_name(
[INFO] [stdout] 262 | |     id: String,
[INFO] [stdout] 263 | |     newname: String,
[INFO] [stdout] 264 | |     store: Store,
[INFO] [stdout] 265 | |     mut redis: ConnectionManager,
[INFO] [stdout] 266 | | ) -> Result<impl warp::Reply, warp::Rejection> {
[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 `!: FromRedisValue` will fail
[INFO] [stdout]    --> src/routes/note.rs:304:18
[INFO] [stdout]     |
[INFO] [stdout] 304 |                 .del(id.clone())
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] help: use `()` annotations to avoid fallback changes
[INFO] [stdout]     |
[INFO] [stdout] 304 |                 .del::<_, ()>(id.clone())
[INFO] [stdout]     |                     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/routes/note.rs:383:13
[INFO] [stdout]     |
[INFO] [stdout] 383 |     let mut s = String::new();
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/routes/note.rs:383:9
[INFO] [stdout]     |
[INFO] [stdout] 383 |     let mut s = String::new();
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/routes/note.rs:383:13
[INFO] [stdout]     |
[INFO] [stdout] 383 |     let mut s = String::new();
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/routes/note.rs:383:9
[INFO] [stdout]     |
[INFO] [stdout] 383 |     let mut s = String::new();
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attributes`
[INFO] [stdout]    --> src/routes/note.rs:616:50
[INFO] [stdout]     |
[INFO] [stdout] 616 |                         InlineNode::Text { text, attributes } => {
[INFO] [stdout]     |                                                  ^^^^^^^^^^ help: try ignoring the field: `attributes: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attributes`
[INFO] [stdout]    --> src/routes/note.rs:638:50
[INFO] [stdout]     |
[INFO] [stdout] 638 |                         InlineNode::Text { text, attributes } => {
[INFO] [stdout]     |                                                  ^^^^^^^^^^ help: try ignoring the field: `attributes: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attributes`
[INFO] [stdout]    --> src/routes/note.rs:616:50
[INFO] [stdout]     |
[INFO] [stdout] 616 |                         InlineNode::Text { text, attributes } => {
[INFO] [stdout]     |                                                  ^^^^^^^^^^ help: try ignoring the field: `attributes: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `attributes`
[INFO] [stdout]    --> src/routes/note.rs:638:50
[INFO] [stdout]     |
[INFO] [stdout] 638 |                         InlineNode::Text { text, attributes } => {
[INFO] [stdout]     |                                                  ^^^^^^^^^^ help: try ignoring the field: `attributes: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/routes/note.rs:579:9
[INFO] [stdout]     |
[INFO] [stdout] 579 |     let mut blocks: Vec<Block>;
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/routes/note.rs:579:9
[INFO] [stdout]     |
[INFO] [stdout] 579 |     let mut blocks: Vec<Block>;
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]   --> src/types/account.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |         match client.get_async_connection().await {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead.
[INFO] [stdout]   --> src/types/account.rs:27:22
[INFO] [stdout]    |
[INFO] [stdout] 27 |         match client.get_async_connection().await {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]   --> src/routes/file.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::hash::{Hash, Hasher};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/routes/file.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]   --> src/routes/note.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::hash::{Hash, Hasher};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryStreamExt`
[INFO] [stdout]  --> src/routes/note.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::{StreamExt, TryStreamExt};
[INFO] [stdout]   |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/routes/note.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::{StreamExt, TryStreamExt};
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncReadExt`
[INFO] [stdout]   --> src/routes/note.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/routes/note.rs:28:31
[INFO] [stdout]    |
[INFO] [stdout] 28 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]   --> src/routes/file.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::hash::{Hash, Hasher};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/routes/file.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Hasher`
[INFO] [stdout]   --> src/routes/note.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 | use std::hash::{Hash, Hasher};
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryStreamExt`
[INFO] [stdout]  --> src/routes/note.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::{StreamExt, TryStreamExt};
[INFO] [stdout]   |                          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StreamExt`
[INFO] [stdout]  --> src/routes/note.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use futures::{StreamExt, TryStreamExt};
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncReadExt`
[INFO] [stdout]   --> src/routes/note.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AsyncWriteExt`
[INFO] [stdout]   --> src/routes/note.rs:28:31
[INFO] [stdout]    |
[INFO] [stdout] 28 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_gzip_json` is never used
[INFO] [stdout]    --> src/routes/note.rs:126:14
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub async fn set_gzip_json<T: serde::Serialize>(
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_file` is never used
[INFO] [stdout]    --> src/routes/note.rs:504:14
[INFO] [stdout]     |
[INFO] [stdout] 504 | pub async fn delete_file(id: String, store: Store) -> Result<impl warp::Reply, warp::Rejection> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LawBlock` is never constructed
[INFO] [stdout]    --> src/routes/note.rs:524:12
[INFO] [stdout]     |
[INFO] [stdout] 524 | pub struct LawBlock {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_content` is never used
[INFO] [stdout]    --> src/routes/note.rs:529:14
[INFO] [stdout]     |
[INFO] [stdout] 529 | pub async fn insert_content(law_block: LawBlock) -> Result<impl warp::Reply, warp::Rejection> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewInterpretation` is never constructed
[INFO] [stdout]  --> src/types/newinterpretation.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct NewInterpretation {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_to_pool` is never used
[INFO] [stdout]   --> src/types/newinterpretation.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl NewInterpretation {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 17 | pub async fn add_to_pool(self, pool: &PgPool)  {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `get_all_lawList` should have a snake case name
[INFO] [stdout]    --> src/main.rs:337:9
[INFO] [stdout]     |
[INFO] [stdout] 337 |     let get_all_lawList = warp::get()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_all_law_list`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `get_lawList_by_chapter` should have a snake case name
[INFO] [stdout]    --> src/main.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 |     let get_lawList_by_chapter = warp::post()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_law_list_by_chapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Library` should have a snake case name
[INFO] [stdout]  --> src/routes/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod Library;
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `library`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/routes/file.rs:401:21
[INFO] [stdout]     |
[INFO] [stdout] 401 |                     el.set_attribute("id", &id);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 401 |                     let _ = el.set_attribute("id", &id);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_lawList` should have a snake case name
[INFO] [stdout]   --> src/routes/new_law.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub async fn get_all_lawList(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_all_law_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_lawList_by_chapter` should have a snake case name
[INFO] [stdout]   --> src/routes/new_law.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub async fn get_lawList_by_chapter(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_law_list_by_chapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `redisResult` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let redisResult: Result<Vec<Block>, redis::RedisError> = get_gzip_json(&mut redis, &id).await;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: convert the identifier to snake case: `redis_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `writerName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:157:17
[INFO] [stdout]     |
[INFO] [stdout] 157 |             let writerName = parts[0];
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `writer_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dirNmae` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 |             let dirNmae = parts[1];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `dir_nmae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `noteName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |             let noteName = parts[2];
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `note_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `writerName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |     let writerName = parts[0];
[INFO] [stdout]     |         ^^^^^^^^^^ help: convert the identifier to snake case: `writer_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dirNmae` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:245:9
[INFO] [stdout]     |
[INFO] [stdout] 245 |     let dirNmae = parts[1];
[INFO] [stdout]     |         ^^^^^^^ help: convert the identifier to snake case: `dir_nmae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `noteName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:246:9
[INFO] [stdout]     |
[INFO] [stdout] 246 |     let noteName = parts[2];
[INFO] [stdout]     |         ^^^^^^^^ help: convert the identifier to snake case: `note_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `writerName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:271:9
[INFO] [stdout]     |
[INFO] [stdout] 271 |     let writerName = parts.get(0).unwrap_or(&"no");
[INFO] [stdout]     |         ^^^^^^^^^^ help: convert the identifier to snake case: `writer_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:272:9
[INFO] [stdout]     |
[INFO] [stdout] 272 |     let oldName = parts.get(2).unwrap_or(&"no");
[INFO] [stdout]     |         ^^^^^^^ help: convert the identifier to snake case: `old_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dirName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |     let dirName = parts.get(1).unwrap_or(&"no");
[INFO] [stdout]     |         ^^^^^^^ help: convert the identifier to snake case: `dir_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `redisResult` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 |     let redisResult: Result<Vec<Block>, redis::RedisError> = get_gzip_json(&mut redis, &id).await;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: convert the identifier to snake case: `redis_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/routes/note.rs:544:21
[INFO] [stdout]     |
[INFO] [stdout] 544 |                     el.set_attribute("id", &id);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 544 |                     let _ = el.set_attribute("id", &id);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `h2NavVec` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:577:13
[INFO] [stdout]     |
[INFO] [stdout] 577 |     let mut h2NavVec = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `h2_nav_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `redisResult` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:581:9
[INFO] [stdout]     |
[INFO] [stdout] 581 |     let redisResult: Result<Vec<Block>, redis::RedisError> = get_gzip_json(&mut redis, &id).await;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: convert the identifier to snake case: `redis_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Library` should have a snake case name
[INFO] [stdout]  --> src/types/mod.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) mod Library;
[INFO] [stdout]   |                ^^^^^^^ help: convert the identifier to snake case: `library`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_gzip_json` is never used
[INFO] [stdout]    --> src/routes/note.rs:126:14
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub async fn set_gzip_json<T: serde::Serialize>(
[INFO] [stdout]     |              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_file` is never used
[INFO] [stdout]    --> src/routes/note.rs:504:14
[INFO] [stdout]     |
[INFO] [stdout] 504 | pub async fn delete_file(id: String, store: Store) -> Result<impl warp::Reply, warp::Rejection> {
[INFO] [stdout]     |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LawBlock` is never constructed
[INFO] [stdout]    --> src/routes/note.rs:524:12
[INFO] [stdout]     |
[INFO] [stdout] 524 | pub struct LawBlock {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_content` is never used
[INFO] [stdout]    --> src/routes/note.rs:529:14
[INFO] [stdout]     |
[INFO] [stdout] 529 | pub async fn insert_content(law_block: LawBlock) -> Result<impl warp::Reply, warp::Rejection> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NewInterpretation` is never constructed
[INFO] [stdout]  --> src/types/newinterpretation.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct NewInterpretation {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_to_pool` is never used
[INFO] [stdout]   --> src/types/newinterpretation.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl NewInterpretation {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 17 | pub async fn add_to_pool(self, pool: &PgPool)  {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `get_all_lawList` should have a snake case name
[INFO] [stdout]    --> src/main.rs:337:9
[INFO] [stdout]     |
[INFO] [stdout] 337 |     let get_all_lawList = warp::get()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_all_law_list`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `get_lawList_by_chapter` should have a snake case name
[INFO] [stdout]    --> src/main.rs:350:9
[INFO] [stdout]     |
[INFO] [stdout] 350 |     let get_lawList_by_chapter = warp::post()
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_law_list_by_chapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Library` should have a snake case name
[INFO] [stdout]  --> src/routes/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod Library;
[INFO] [stdout]   |         ^^^^^^^ help: convert the identifier to snake case: `library`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/routes/file.rs:401:21
[INFO] [stdout]     |
[INFO] [stdout] 401 |                     el.set_attribute("id", &id);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 401 |                     let _ = el.set_attribute("id", &id);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_lawList` should have a snake case name
[INFO] [stdout]   --> src/routes/new_law.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub async fn get_all_lawList(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_all_law_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_lawList_by_chapter` should have a snake case name
[INFO] [stdout]   --> src/routes/new_law.rs:70:14
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub async fn get_lawList_by_chapter(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_law_list_by_chapter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `redisResult` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     let redisResult: Result<Vec<Block>, redis::RedisError> = get_gzip_json(&mut redis, &id).await;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: convert the identifier to snake case: `redis_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `writerName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:157:17
[INFO] [stdout]     |
[INFO] [stdout] 157 |             let writerName = parts[0];
[INFO] [stdout]     |                 ^^^^^^^^^^ help: convert the identifier to snake case: `writer_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dirNmae` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:158:17
[INFO] [stdout]     |
[INFO] [stdout] 158 |             let dirNmae = parts[1];
[INFO] [stdout]     |                 ^^^^^^^ help: convert the identifier to snake case: `dir_nmae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `noteName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 |             let noteName = parts[2];
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `note_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `writerName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:244:9
[INFO] [stdout]     |
[INFO] [stdout] 244 |     let writerName = parts[0];
[INFO] [stdout]     |         ^^^^^^^^^^ help: convert the identifier to snake case: `writer_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dirNmae` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:245:9
[INFO] [stdout]     |
[INFO] [stdout] 245 |     let dirNmae = parts[1];
[INFO] [stdout]     |         ^^^^^^^ help: convert the identifier to snake case: `dir_nmae`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `noteName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:246:9
[INFO] [stdout]     |
[INFO] [stdout] 246 |     let noteName = parts[2];
[INFO] [stdout]     |         ^^^^^^^^ help: convert the identifier to snake case: `note_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `writerName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:271:9
[INFO] [stdout]     |
[INFO] [stdout] 271 |     let writerName = parts.get(0).unwrap_or(&"no");
[INFO] [stdout]     |         ^^^^^^^^^^ help: convert the identifier to snake case: `writer_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `oldName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:272:9
[INFO] [stdout]     |
[INFO] [stdout] 272 |     let oldName = parts.get(2).unwrap_or(&"no");
[INFO] [stdout]     |         ^^^^^^^ help: convert the identifier to snake case: `old_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `dirName` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |     let dirName = parts.get(1).unwrap_or(&"no");
[INFO] [stdout]     |         ^^^^^^^ help: convert the identifier to snake case: `dir_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `redisResult` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:299:9
[INFO] [stdout]     |
[INFO] [stdout] 299 |     let redisResult: Result<Vec<Block>, redis::RedisError> = get_gzip_json(&mut redis, &id).await;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: convert the identifier to snake case: `redis_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/routes/note.rs:544:21
[INFO] [stdout]     |
[INFO] [stdout] 544 |                     el.set_attribute("id", &id);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 544 |                     let _ = el.set_attribute("id", &id);
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `h2NavVec` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:577:13
[INFO] [stdout]     |
[INFO] [stdout] 577 |     let mut h2NavVec = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `h2_nav_vec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `redisResult` should have a snake case name
[INFO] [stdout]    --> src/routes/note.rs:581:9
[INFO] [stdout]     |
[INFO] [stdout] 581 |     let redisResult: Result<Vec<Block>, redis::RedisError> = get_gzip_json(&mut redis, &id).await;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: convert the identifier to snake case: `redis_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Library` should have a snake case name
[INFO] [stdout]  --> src/types/mod.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub(crate) mod Library;
[INFO] [stdout]   |                ^^^^^^^ help: convert the identifier to snake case: `library`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 29s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: law_web v1.0.0 (/opt/rustwide/workdir), sqlx-core v0.6.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "8745e4b934060697113293c19b87234e4515315c3a9bb7246353dfa2a1cb322f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8745e4b934060697113293c19b87234e4515315c3a9bb7246353dfa2a1cb322f", kill_on_drop: false }`
[INFO] [stdout] 8745e4b934060697113293c19b87234e4515315c3a9bb7246353dfa2a1cb322f
