[INFO] cloning repository https://github.com/amalyakubov/Basic-Axum-Server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amalyakubov/Basic-Axum-Server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famalyakubov%2FBasic-Axum-Server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famalyakubov%2FBasic-Axum-Server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f590db4ffb89d3fc79b443e11cd9c36307f7ecc5 [INFO] testing amalyakubov/Basic-Axum-Server against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famalyakubov%2FBasic-Axum-Server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amalyakubov/Basic-Axum-Server on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/amalyakubov/Basic-Axum-Server [INFO] finished tweaking git repo https://github.com/amalyakubov/Basic-Axum-Server [INFO] tweaked toml for git repo https://github.com/amalyakubov/Basic-Axum-Server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/amalyakubov/Basic-Axum-Server 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] testing amalyakubov/Basic-Axum-Server against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famalyakubov%2FBasic-Axum-Server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amalyakubov/Basic-Axum-Server on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/amalyakubov/Basic-Axum-Server [INFO] finished tweaking git repo https://github.com/amalyakubov/Basic-Axum-Server [INFO] tweaked toml for git repo https://github.com/amalyakubov/Basic-Axum-Server written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/amalyakubov/Basic-Axum-Server 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0ca6eea5c0d2471e00b2cbca4cff94da936910b7a0aeb1369bda84feed22aa5 [INFO] running `Command { std: "docker" "start" "-a" "c0ca6eea5c0d2471e00b2cbca4cff94da936910b7a0aeb1369bda84feed22aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0ca6eea5c0d2471e00b2cbca4cff94da936910b7a0aeb1369bda84feed22aa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ca6eea5c0d2471e00b2cbca4cff94da936910b7a0aeb1369bda84feed22aa5", kill_on_drop: false }` [INFO] [stdout] c0ca6eea5c0d2471e00b2cbca4cff94da936910b7a0aeb1369bda84feed22aa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87adbef8f5eb8fac35c6c7cd9b5985fdbdaf197b32b8a31bb3f9efa5d6bcae84 [INFO] running `Command { std: "docker" "start" "-a" "87adbef8f5eb8fac35c6c7cd9b5985fdbdaf197b32b8a31bb3f9efa5d6bcae84", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling foo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `extract::Path`, `extract::State`, `get`, and `post` [INFO] [stdout] --> src/handlers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | extract::Path, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | extract::State, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | response::Json, [INFO] [stdout] 6 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_vehicle` is never used [INFO] [stdout] --> src/handlers.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn add_vehicle( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_vehicles` is never used [INFO] [stdout] --> src/handlers.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn get_vehicles(state: axum::extract::State) -> Json> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `maker` and `owner_id` are never read [INFO] [stdout] --> src/models/vehicle.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CreateVehicleRequest { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 12 | pub maker: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub owner_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateVehicleRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_owner` are never used [INFO] [stdout] --> src/models/vehicle.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Vehicle { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 17 | pub fn new(maker: String, owner: User, _id: u64) -> Vehicle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_owner(&self) -> User { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vehicles` and `next_vehicle_id` are never read [INFO] [stdout] --> src/state.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub users: HashMap, [INFO] [stdout] 7 | pub vehicles: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub next_user_id: u64, [INFO] [stdout] 9 | pub next_vehicle_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.96s [INFO] running `Command { std: "docker" "inspect" "87adbef8f5eb8fac35c6c7cd9b5985fdbdaf197b32b8a31bb3f9efa5d6bcae84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87adbef8f5eb8fac35c6c7cd9b5985fdbdaf197b32b8a31bb3f9efa5d6bcae84", kill_on_drop: false }` [INFO] [stdout] 87adbef8f5eb8fac35c6c7cd9b5985fdbdaf197b32b8a31bb3f9efa5d6bcae84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b47c5df1dd8ccb9549c4cf644fd839f49ca1c5f1a0e4f8d4fdb53523fbd9d50 [INFO] running `Command { std: "docker" "start" "-a" "1b47c5df1dd8ccb9549c4cf644fd839f49ca1c5f1a0e4f8d4fdb53523fbd9d50", kill_on_drop: false }` [INFO] [stderr] Compiling foo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `extract::Path`, `extract::State`, `get`, and `post` [INFO] [stdout] --> src/handlers.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | extract::Path, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 4 | extract::State, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 5 | response::Json, [INFO] [stdout] 6 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_vehicle` is never used [INFO] [stdout] --> src/handlers.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn add_vehicle( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_vehicles` is never used [INFO] [stdout] --> src/handlers.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn get_vehicles(state: axum::extract::State) -> Json> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `maker` and `owner_id` are never read [INFO] [stdout] --> src/models/vehicle.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CreateVehicleRequest { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 12 | pub maker: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub owner_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CreateVehicleRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_owner` are never used [INFO] [stdout] --> src/models/vehicle.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Vehicle { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 17 | pub fn new(maker: String, owner: User, _id: u64) -> Vehicle { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn get_owner(&self) -> User { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vehicles` and `next_vehicle_id` are never read [INFO] [stdout] --> src/state.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub users: HashMap, [INFO] [stdout] 7 | pub vehicles: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub next_user_id: u64, [INFO] [stdout] 9 | pub next_vehicle_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "1b47c5df1dd8ccb9549c4cf644fd839f49ca1c5f1a0e4f8d4fdb53523fbd9d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b47c5df1dd8ccb9549c4cf644fd839f49ca1c5f1a0e4f8d4fdb53523fbd9d50", kill_on_drop: false }` [INFO] [stdout] 1b47c5df1dd8ccb9549c4cf644fd839f49ca1c5f1a0e4f8d4fdb53523fbd9d50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4e536b54200055adf4f09028929e86e5fe71927094153d8a0daf528926f0beab [INFO] running `Command { std: "docker" "start" "-a" "4e536b54200055adf4f09028929e86e5fe71927094153d8a0daf528926f0beab", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `extract::Path`, `extract::State`, `get`, and `post` [INFO] [stderr] --> src/handlers.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | extract::Path, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 4 | extract::State, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 5 | response::Json, [INFO] [stderr] 6 | routing::{get, post}, [INFO] [stderr] | ^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `add_vehicle` is never used [INFO] [stderr] --> src/handlers.rs:47:14 [INFO] [stderr] | [INFO] [stderr] 47 | pub async fn add_vehicle( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `get_vehicles` is never used [INFO] [stderr] --> src/handlers.rs:65:14 [INFO] [stderr] | [INFO] [stderr] 65 | pub async fn get_vehicles(state: axum::extract::State) -> Json> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `maker` and `owner_id` are never read [INFO] [stderr] --> src/models/vehicle.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct CreateVehicleRequest { [INFO] [stderr] | -------------------- fields in this struct [INFO] [stderr] 12 | pub maker: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 13 | pub owner_id: u64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CreateVehicleRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `get_owner` are never used [INFO] [stderr] --> src/models/vehicle.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl Vehicle { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 17 | pub fn new(maker: String, owner: User, _id: u64) -> Vehicle { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn get_owner(&self) -> User { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `vehicles` and `next_vehicle_id` are never read [INFO] [stderr] --> src/state.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct AppState { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 6 | pub users: HashMap, [INFO] [stderr] 7 | pub vehicles: HashMap, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 8 | pub next_user_id: u64, [INFO] [stderr] 9 | pub next_vehicle_id: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `foo` (bin "foo" test) generated 6 warnings (run `cargo fix --bin "foo" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/foo-59d863c1e3e158c7) [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" "4e536b54200055adf4f09028929e86e5fe71927094153d8a0daf528926f0beab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e536b54200055adf4f09028929e86e5fe71927094153d8a0daf528926f0beab", kill_on_drop: false }` [INFO] [stdout] 4e536b54200055adf4f09028929e86e5fe71927094153d8a0daf528926f0beab