[INFO] cloning repository https://github.com/RichardLee1978/rust_jwt_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RichardLee1978/rust_jwt_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichardLee1978%2Frust_jwt_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichardLee1978%2Frust_jwt_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2a50049b587956aef411d5a888e31a3e97c8b55 [INFO] testing RichardLee1978/rust_jwt_demo against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRichardLee1978%2Frust_jwt_demo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RichardLee1978/rust_jwt_demo [INFO] finished tweaking git repo https://github.com/RichardLee1978/rust_jwt_demo [INFO] tweaked toml for git repo https://github.com/RichardLee1978/rust_jwt_demo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RichardLee1978/rust_jwt_demo on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RichardLee1978/rust_jwt_demo 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77b04c791e3539ecb55d2545fcc7a32ef35fff6b7086dd371e524318efdbfaf2 [INFO] running `Command { std: "docker" "start" "-a" "77b04c791e3539ecb55d2545fcc7a32ef35fff6b7086dd371e524318efdbfaf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77b04c791e3539ecb55d2545fcc7a32ef35fff6b7086dd371e524318efdbfaf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b04c791e3539ecb55d2545fcc7a32ef35fff6b7086dd371e524318efdbfaf2", kill_on_drop: false }` [INFO] [stdout] 77b04c791e3539ecb55d2545fcc7a32ef35fff6b7086dd371e524318efdbfaf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdeeb7c611c2f051276a73332d7f7cd1292b865abd88661751a1094f636551d9 [INFO] running `Command { std: "docker" "start" "-a" "bdeeb7c611c2f051276a73332d7f7cd1292b865abd88661751a1094f636551d9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling bcrypt v0.16.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling axum v0.8.1 [INFO] [stderr] Compiling rust_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serve::Listener` [INFO] [stdout] --> src/main.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{self, serve::Listener}; [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: `header::SET_COOKIE` [INFO] [stdout] --> src/auth.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | http::{self,header::SET_COOKIE, StatusCode,HeaderMap}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bearer` [INFO] [stdout] --> src/auth.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | let (bearer, token) = (header.next(), header.next()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/auth.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | fn retrieve_user_by_email(email: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_password` is never used [INFO] [stdout] --> src/auth.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn hash_password(password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JWT` is never constructed [INFO] [stdout] --> src/auth.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct JWT { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentUser` should have a snake case name [INFO] [stdout] --> src/services.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn hello(Extension(currentUser): Extension) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `current_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.78s [INFO] running `Command { std: "docker" "inspect" "bdeeb7c611c2f051276a73332d7f7cd1292b865abd88661751a1094f636551d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdeeb7c611c2f051276a73332d7f7cd1292b865abd88661751a1094f636551d9", kill_on_drop: false }` [INFO] [stdout] bdeeb7c611c2f051276a73332d7f7cd1292b865abd88661751a1094f636551d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21c8734b896dfe259b264d91ab8cf86326e29bbfddeedcce0a6b0fed9dd233c1 [INFO] running `Command { std: "docker" "start" "-a" "21c8734b896dfe259b264d91ab8cf86326e29bbfddeedcce0a6b0fed9dd233c1", kill_on_drop: false }` [INFO] [stderr] Compiling rust_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serve::Listener` [INFO] [stdout] --> src/main.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{self, serve::Listener}; [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: `header::SET_COOKIE` [INFO] [stdout] --> src/auth.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | http::{self,header::SET_COOKIE, StatusCode,HeaderMap}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bearer` [INFO] [stdout] --> src/auth.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | let (bearer, token) = (header.next(), header.next()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/auth.rs:179:27 [INFO] [stdout] | [INFO] [stdout] 179 | fn retrieve_user_by_email(email: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_password` is never used [INFO] [stdout] --> src/auth.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn hash_password(password: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JWT` is never constructed [INFO] [stdout] --> src/auth.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct JWT { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentUser` should have a snake case name [INFO] [stdout] --> src/services.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn hello(Extension(currentUser): Extension) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `current_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "21c8734b896dfe259b264d91ab8cf86326e29bbfddeedcce0a6b0fed9dd233c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21c8734b896dfe259b264d91ab8cf86326e29bbfddeedcce0a6b0fed9dd233c1", kill_on_drop: false }` [INFO] [stdout] 21c8734b896dfe259b264d91ab8cf86326e29bbfddeedcce0a6b0fed9dd233c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cec3323d5ff3d214ae43c635e92e69c1cba1d1c2e722f74ed7a4d79678b3c4a5 [INFO] running `Command { std: "docker" "start" "-a" "cec3323d5ff3d214ae43c635e92e69c1cba1d1c2e722f74ed7a4d79678b3c4a5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `serve::Listener` [INFO] [stderr] --> src/main.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | use axum::{self, serve::Listener}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `header::SET_COOKIE` [INFO] [stderr] --> src/auth.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | http::{self,header::SET_COOKIE, StatusCode,HeaderMap}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bearer` [INFO] [stderr] --> src/auth.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | let (bearer, token) = (header.next(), header.next()); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_bearer` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `email` [INFO] [stderr] --> src/auth.rs:179:27 [INFO] [stderr] | [INFO] [stderr] 179 | fn retrieve_user_by_email(email: &str) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stderr] [INFO] [stderr] warning: function `hash_password` is never used [INFO] [stderr] --> src/auth.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | pub fn hash_password(password: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `JWT` is never constructed [INFO] [stderr] --> src/auth.rs:132:12 [INFO] [stderr] | [INFO] [stderr] 132 | pub struct JWT { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `currentUser` should have a snake case name [INFO] [stderr] --> src/services.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | pub async fn hello(Extension(currentUser): Extension) -> impl IntoResponse { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `current_user` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_demo` (bin "rust_demo" test) generated 7 warnings (run `cargo fix --bin "rust_demo" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_demo-ce983da557412057) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cec3323d5ff3d214ae43c635e92e69c1cba1d1c2e722f74ed7a4d79678b3c4a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec3323d5ff3d214ae43c635e92e69c1cba1d1c2e722f74ed7a4d79678b3c4a5", kill_on_drop: false }` [INFO] [stdout] cec3323d5ff3d214ae43c635e92e69c1cba1d1c2e722f74ed7a4d79678b3c4a5