[INFO] cloning repository https://github.com/hjklchan/hjkl1-rustful [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hjklchan/hjkl1-rustful" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjklchan%2Fhjkl1-rustful", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjklchan%2Fhjkl1-rustful'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04231909cd833e4f19771ae987508b57e35b97a4 [INFO] building hjklchan/hjkl1-rustful against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhjklchan%2Fhjkl1-rustful" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hjklchan/hjkl1-rustful [INFO] finished tweaking git repo https://github.com/hjklchan/hjkl1-rustful [INFO] tweaked toml for git repo https://github.com/hjklchan/hjkl1-rustful written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hjklchan/hjkl1-rustful on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hjklchan/hjkl1-rustful 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-util v0.1.8 [INFO] [stderr] Downloaded unicode-properties v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa05ba41c75cc29dc2d866c8f8af60a8eec6cee2fedf84e5a216c66a515ea807 [INFO] running `Command { std: "docker" "start" "-a" "fa05ba41c75cc29dc2d866c8f8af60a8eec6cee2fedf84e5a216c66a515ea807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa05ba41c75cc29dc2d866c8f8af60a8eec6cee2fedf84e5a216c66a515ea807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa05ba41c75cc29dc2d866c8f8af60a8eec6cee2fedf84e5a216c66a515ea807", kill_on_drop: false }` [INFO] [stdout] fa05ba41c75cc29dc2d866c8f8af60a8eec6cee2fedf84e5a216c66a515ea807 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d35e0b53eeff0c382a54abb07104f473fcf09c28f1b2d67b249283af85a8ec08 [INFO] running `Command { std: "docker" "start" "-a" "d35e0b53eeff0c382a54abb07104f473fcf09c28f1b2d67b249283af85a8ec08", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling unicode-properties v0.1.2 [INFO] [stderr] Compiling rustix v0.38.36 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [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 v0.8.5 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling sqlx-core v0.8.2 [INFO] [stderr] Compiling sqlx-mysql v0.8.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.2 [INFO] [stderr] Compiling sqlx-macros v0.8.2 [INFO] [stderr] Compiling sqlx v0.8.2 [INFO] [stderr] Compiling hjkl1-rsful v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/handler/categories/tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [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: `super::list::Category` [INFO] [stdout] --> src/handler/categories/tree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::list::Category; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/handler/posts/list.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> src/handler/posts/recover.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/handler/posts/markdown.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/handler/categories/soft_delete.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn handler(State(AppState { ref db }): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `db: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/handler/categories/tree.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | Query(params): Query, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/handler/categories/update.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn handler(State(AppState { ref db }): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `db: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/handler/posts/markdown.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn handler(State(AppState { ref db }): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `db: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent_id` is never read [INFO] [stdout] --> src/handler/categories/tree.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TreeParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{http::Method, routing, Router}; [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 imports: `Any` and `CorsLayer` [INFO] [stdout] --> src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use tower_http::cors::{Any, CorsLayer}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "d35e0b53eeff0c382a54abb07104f473fcf09c28f1b2d67b249283af85a8ec08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d35e0b53eeff0c382a54abb07104f473fcf09c28f1b2d67b249283af85a8ec08", kill_on_drop: false }` [INFO] [stdout] d35e0b53eeff0c382a54abb07104f473fcf09c28f1b2d67b249283af85a8ec08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 192525ee52c6725de881cbfdf0fc464dd897cad74e3b54af8763f1967c2734da [INFO] running `Command { std: "docker" "start" "-a" "192525ee52c6725de881cbfdf0fc464dd897cad74e3b54af8763f1967c2734da", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/handler/categories/tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [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: `super::list::Category` [INFO] [stdout] --> src/handler/categories/tree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::list::Category; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/handler/posts/list.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> src/handler/posts/recover.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/handler/posts/markdown.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hjkl1-rsful v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/handler/categories/soft_delete.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn handler(State(AppState { ref db }): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `db: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/handler/categories/tree.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | Query(params): Query, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/handler/categories/update.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn handler(State(AppState { ref db }): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `db: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/handler/posts/markdown.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn handler(State(AppState { ref db }): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `db: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent_id` is never read [INFO] [stdout] --> src/handler/categories/tree.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TreeParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::Method` [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::{http::Method, routing, Router}; [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 imports: `Any` and `CorsLayer` [INFO] [stdout] --> src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use tower_http::cors::{Any, CorsLayer}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> src/handler/categories/tree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::VecDeque; [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: `super::list::Category` [INFO] [stdout] --> src/handler/categories/tree.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::list::Category; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/handler/posts/list.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Query` [INFO] [stdout] --> src/handler/posts/recover.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, Query, State}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/handler/posts/markdown.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/handler/categories/soft_delete.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn handler(State(AppState { ref db }): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `db: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/handler/categories/tree.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | Query(params): Query, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/handler/categories/update.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn handler(State(AppState { ref db }): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `db: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/handler/posts/markdown.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn handler(State(AppState { ref db }): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `db: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent_id` is never read [INFO] [stdout] --> src/handler/categories/tree.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TreeParams { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 12 | parent_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TreeParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "192525ee52c6725de881cbfdf0fc464dd897cad74e3b54af8763f1967c2734da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "192525ee52c6725de881cbfdf0fc464dd897cad74e3b54af8763f1967c2734da", kill_on_drop: false }` [INFO] [stdout] 192525ee52c6725de881cbfdf0fc464dd897cad74e3b54af8763f1967c2734da