[INFO] cloning repository https://github.com/hsmon/try-axum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hsmon/try-axum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsmon%2Ftry-axum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsmon%2Ftry-axum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cdb4361922688c930bcaa6f097560fe8017d2b4 [INFO] building hsmon/try-axum against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhsmon%2Ftry-axum" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hsmon/try-axum on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hsmon/try-axum [INFO] finished tweaking git repo https://github.com/hsmon/try-axum [INFO] tweaked toml for git repo https://github.com/hsmon/try-axum written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/hsmon/try-axum already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded axum v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fddf022982a034549a98c3fff52913745c062bb9783e20556774ea080082e0ee [INFO] running `Command { std: "docker" "start" "-a" "fddf022982a034549a98c3fff52913745c062bb9783e20556774ea080082e0ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fddf022982a034549a98c3fff52913745c062bb9783e20556774ea080082e0ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fddf022982a034549a98c3fff52913745c062bb9783e20556774ea080082e0ee", kill_on_drop: false }` [INFO] [stdout] fddf022982a034549a98c3fff52913745c062bb9783e20556774ea080082e0ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ba4f5dbf25142e4926eb899f04ff1e8724bdeee7d9c72b89bfd6ca94bc09656a [INFO] running `Command { std: "docker" "start" "-a" "ba4f5dbf25142e4926eb899f04ff1e8724bdeee7d9c72b89bfd6ca94bc09656a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tower-http v0.1.1 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling tower v0.4.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling axum v0.1.3 [INFO] [stderr] Compiling try-axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `response` [INFO] [stdout] --> src/path_params.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract, prelude::*, response}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/path_params.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `axum::extract::UrlParamsMap`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/from_request.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | let url_params = extract::UrlParamsMap::from_request(req) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `axum::extract::UrlParams`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_json.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | extract::UrlParams(params): extract::UrlParams<(u64,)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `axum::extract::UrlParams`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_json.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | extract::UrlParams(params): extract::UrlParams<(u64,)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `axum::extract::UrlParams`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_params.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_post(extract::UrlParams(params): extract::UrlParams<(u64, u64)>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `axum::extract::UrlParams`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_params.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_post(extract::UrlParams(params): extract::UrlParams<(u64, u64)>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `axum::extract::UrlParams::0`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_json.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | extract::UrlParams(params): extract::UrlParams<(u64,)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `axum::extract::UrlParams::0`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_params.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_post(extract::UrlParams(params): extract::UrlParams<(u64, u64)>) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/from_request.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_id` [INFO] [stdout] --> src/from_request.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | user_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/from_request.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_message` [INFO] [stdout] --> src/from_request.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | async fn user_message(params: Params) -> response::Json { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/helloworld.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `root` [INFO] [stdout] --> src/helloworld.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn root() -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/json.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/json.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | count: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ping` [INFO] [stdout] --> src/json.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn ping(extract::Json(ping): extract::Json) -> response::Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/path_json.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/path_json.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_message` [INFO] [stdout] --> src/path_json.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn user_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/path_params.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_post` [INFO] [stdout] --> src/path_params.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_post(extract::UrlParams(params): extract::UrlParams<(u64, u64)>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/state.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SharedState` [INFO] [stdout] --> src/state.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | type SharedState = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `increment` [INFO] [stdout] --> src/state.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | async fn increment( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 38s [INFO] running `Command { std: "docker" "inspect" "ba4f5dbf25142e4926eb899f04ff1e8724bdeee7d9c72b89bfd6ca94bc09656a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4f5dbf25142e4926eb899f04ff1e8724bdeee7d9c72b89bfd6ca94bc09656a", kill_on_drop: false }` [INFO] [stdout] ba4f5dbf25142e4926eb899f04ff1e8724bdeee7d9c72b89bfd6ca94bc09656a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 63f460ec43e4a1eb6f71dee5a282e3afe4489659343f0d38d9fcd32992260cb2 [INFO] running `Command { std: "docker" "start" "-a" "63f460ec43e4a1eb6f71dee5a282e3afe4489659343f0d38d9fcd32992260cb2", kill_on_drop: false }` [INFO] [stderr] Compiling try-axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `response` [INFO] [stdout] --> src/path_params.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::{extract, prelude::*, response}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/path_params.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `axum::extract::UrlParamsMap`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/from_request.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 39 | let url_params = extract::UrlParamsMap::from_request(req) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `axum::extract::UrlParams`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_json.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | extract::UrlParams(params): extract::UrlParams<(u64,)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `axum::extract::UrlParams`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_json.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | extract::UrlParams(params): extract::UrlParams<(u64,)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `axum::extract::UrlParams`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_params.rs:15:57 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_post(extract::UrlParams(params): extract::UrlParams<(u64, u64)>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated tuple struct `axum::extract::UrlParams`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_params.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_post(extract::UrlParams(params): extract::UrlParams<(u64, u64)>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `axum::extract::UrlParams::0`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_json.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | extract::UrlParams(params): extract::UrlParams<(u64,)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `axum::extract::UrlParams::0`: Use `axum::extract::Path` instead. [INFO] [stdout] --> src/path_params.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_post(extract::UrlParams(params): extract::UrlParams<(u64, u64)>) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/from_request.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `user_id` [INFO] [stdout] --> src/from_request.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | user_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/from_request.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_message` [INFO] [stdout] --> src/from_request.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | async fn user_message(params: Params) -> response::Json { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/helloworld.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `root` [INFO] [stdout] --> src/helloworld.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | async fn root() -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/json.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/json.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | count: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ping` [INFO] [stdout] --> src/json.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn ping(extract::Json(ping): extract::Json) -> response::Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/path_json.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/path_json.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_message` [INFO] [stdout] --> src/path_json.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn user_message( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/path_params.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_post` [INFO] [stdout] --> src/path_params.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | async fn user_post(extract::UrlParams(params): extract::UrlParams<(u64, u64)>) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/state.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `SharedState` [INFO] [stdout] --> src/state.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | type SharedState = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `increment` [INFO] [stdout] --> src/state.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | async fn increment( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.18s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/try_axum-50f5ab7f58ad33d4) [INFO] running `Command { std: "docker" "inspect" "63f460ec43e4a1eb6f71dee5a282e3afe4489659343f0d38d9fcd32992260cb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63f460ec43e4a1eb6f71dee5a282e3afe4489659343f0d38d9fcd32992260cb2", kill_on_drop: false }` [INFO] [stdout] 63f460ec43e4a1eb6f71dee5a282e3afe4489659343f0d38d9fcd32992260cb2