[INFO] cloning repository https://github.com/KUKUN06/RUST_MAJOR_PROJECT
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KUKUN06/RUST_MAJOR_PROJECT" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKUKUN06%2FRUST_MAJOR_PROJECT", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKUKUN06%2FRUST_MAJOR_PROJECT'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2db19bc8dbf81f19fa0d353fbb102ae127a718a0
[INFO] checking KUKUN06/RUST_MAJOR_PROJECT against try#66388cc165a6c4ac98c074dc9f0281ff23528c55 for pr-150727
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKUKUN06%2FRUST_MAJOR_PROJECT" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KUKUN06/RUST_MAJOR_PROJECT
[INFO] finished tweaking git repo https://github.com/KUKUN06/RUST_MAJOR_PROJECT
[INFO] tweaked toml for git repo https://github.com/KUKUN06/RUST_MAJOR_PROJECT written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KUKUN06/RUST_MAJOR_PROJECT on toolchain 66388cc165a6c4ac98c074dc9f0281ff23528c55
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KUKUN06/RUST_MAJOR_PROJECT 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" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ec281f925961fdda05b67257a0519fc57b60029522bfdcb721bfa2f4b35f07ed
[INFO] running `Command { std: "docker" "start" "-a" "ec281f925961fdda05b67257a0519fc57b60029522bfdcb721bfa2f4b35f07ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec281f925961fdda05b67257a0519fc57b60029522bfdcb721bfa2f4b35f07ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec281f925961fdda05b67257a0519fc57b60029522bfdcb721bfa2f4b35f07ed", kill_on_drop: false }`
[INFO] [stdout] ec281f925961fdda05b67257a0519fc57b60029522bfdcb721bfa2f4b35f07ed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+66388cc165a6c4ac98c074dc9f0281ff23528c55" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 489dbc0f68e26e402c2cab719e9a75517993e5e9422fcefd2095538812ec44b2
[INFO] running `Command { std: "docker" "start" "-a" "489dbc0f68e26e402c2cab719e9a75517993e5e9422fcefd2095538812ec44b2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking tokio v1.46.1
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking hyper-util v0.1.15
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking major_project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `TicketStructs`
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | mod TicketStructs;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `TicketStructs`, create file "src/TicketStructs.rs" or "src/TicketStructs/mod.rs"
[INFO] [stdout]   = note: if there is a `mod TicketStructs` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `TicketStructs`
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | mod TicketStructs;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `TicketStructs`, create file "src/TicketStructs.rs" or "src/TicketStructs/mod.rs"
[INFO] [stdout]   = note: if there is a `mod TicketStructs` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `=>`, `if`, or `|`, found `+`
[INFO] [stdout]   --> src/RoutesTickets.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |             Some(ticket)+>Ok(Json(ticket)),
[INFO] [stdout]    |                         ^ expected one of `=>`, `if`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `=>`, `if`, or `|`, found `+`
[INFO] [stdout]   --> src/RoutesTickets.rs:30:25
[INFO] [stdout]    |
[INFO] [stdout] 30 |             Some(ticket)+>Ok(Json(ticket)),
[INFO] [stdout]    |                         ^ expected one of `=>`, `if`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `<`
[INFO] [stdout]   --> src/RoutesTickets.rs:41:48
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                                                ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,_: Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                                            ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `<`
[INFO] [stdout]   --> src/RoutesTickets.rs:41:48
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                                                ^ expected one of `:`, `@`, or `|`
[INFO] [stdout]    |
[INFO] [stdout] help: if this is a type, explicitly ignore the parameter name
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,_: Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                                            ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `=>`, `if`, or `|`, found `+`
[INFO] [stdout]   --> src/RoutesTickets.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Some(ticket)+>Ok(Json(ticket)),
[INFO] [stdout]    |                         ^ expected one of `=>`, `if`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `=>`, `if`, or `|`, found `+`
[INFO] [stdout]   --> src/RoutesTickets.rs:45:25
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Some(ticket)+>Ok(Json(ticket)),
[INFO] [stdout]    |                         ^ expected one of `=>`, `if`, or `|`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `routes` in the crate root
[INFO] [stdout]  --> src/app.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::routes::tickets::ticket_routes;
[INFO] [stdout]   |            ^^^^^^ could not find `routes` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `routes` in the crate root
[INFO] [stdout]  --> src/app.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::routes::tickets::ticket_routes;
[INFO] [stdout]   |            ^^^^^^ could not find `routes` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root
[INFO] [stdout]  --> src/db.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::ticket::{Ticket, TicketInput};
[INFO] [stdout]   |            ^^^^^^ could not find `models` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root
[INFO] [stdout]  --> src/db.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::models::ticket::{Ticket, TicketInput};
[INFO] [stdout]   |            ^^^^^^ could not find `models` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root
[INFO] [stdout]  --> src/RoutesTickets.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::models::ticket::{Ticket,TicketInput};
[INFO] [stdout]   |            ^^^^^^ could not find `models` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `models` in the crate root
[INFO] [stdout]  --> src/RoutesTickets.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::models::ticket::{Ticket,TicketInput};
[INFO] [stdout]   |            ^^^^^^ could not find `models` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Server` in `axum`
[INFO] [stdout]   --> src/main.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 |     axum::Server::bind(&addr).serve(app.into_make_service()).await.unwrap();
[INFO] [stdout]    |           ^^^^^^ could not find `Server` in `axum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 | async fn get_all_tickets(State(db):State<Arc<Mutex<Db>>>)->Json<Vec<Ticket>>{
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:20:36
[INFO] [stdout]    |
[INFO] [stdout] 20 | async fn get_all_tickets(State(db):State<Arc<Mutex<Db>>>)->Json<Vec<Ticket>>{
[INFO] [stdout]    |                                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Path(id): Path<Uuid>,State(db):State<Arc<Mutex<Db>>>
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Path(id): Path<Uuid>,State(db):State<Arc<Mutex<Db>>>
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Path(id): Path<Uuid>,State(db):State<Arc<Mutex<Db>>>
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:26:36
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Path(id): Path<Uuid>,State(db):State<Arc<Mutex<Db>>>
[INFO] [stdout]    |                                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StatusCode` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:27:30
[INFO] [stdout]    |
[INFO] [stdout] 27 |     ,)-> Result<Json<Ticket>,StatusCode> {
[INFO] [stdout]    |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 25 | async fn get_ticket<StatusCode>(
[INFO] [stdout]    |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:35:56
[INFO] [stdout]    |
[INFO] [stdout] 35 | async fn create_ticket(Json(payload):Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->Json<Ticket> {
[INFO] [stdout]    |                                                        ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:35:66
[INFO] [stdout]    |
[INFO] [stdout] 35 | async fn create_ticket(Json(payload):Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->Json<Ticket> {
[INFO] [stdout]    |                                                                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:41:62
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                                                              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:41:72
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                                                                        ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StatusCode` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 | Result<Json<Ticket>,StatusCode>{
[INFO] [stdout]    |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket<StatusCode>(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payload` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:44:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |         match db.update(id,payload){
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 | async fn delete_ticket(Path(id):Path<Uuid>,State(db):State<Arc<Mutex<Db>>>,)->StatusCode{
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:51:44
[INFO] [stdout]    |
[INFO] [stdout] 51 | async fn delete_ticket(Path(id):Path<Uuid>,State(db):State<Arc<Mutex<Db>>>,)->StatusCode{
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:51:33
[INFO] [stdout]    |
[INFO] [stdout] 51 | async fn delete_ticket(Path(id):Path<Uuid>,State(db):State<Arc<Mutex<Db>>>,)->StatusCode{
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:51:54
[INFO] [stdout]    |
[INFO] [stdout] 51 | async fn delete_ticket(Path(id):Path<Uuid>,State(db):State<Arc<Mutex<Db>>>,)->StatusCode{
[INFO] [stdout]    |                                                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StatusCode` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:51:79
[INFO] [stdout]    |
[INFO] [stdout] 51 | async fn delete_ticket(Path(id):Path<Uuid>,State(db):State<Arc<Mutex<Db>>>,)->StatusCode{
[INFO] [stdout]    |                                                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete`, `post`, and `put`
[INFO] [stdout]  --> src/RoutesTickets.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 |     routing::{get,post,put,delete},Json, Router,
[INFO] [stdout]   |                   ^^^^ ^^^ ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Server` in `axum`
[INFO] [stdout]   --> src/main.rs:19:11
[INFO] [stdout]    |
[INFO] [stdout] 19 |     axum::Server::bind(&addr).serve(app.into_make_service()).await.unwrap();
[INFO] [stdout]    |           ^^^^^^ could not find `Server` in `axum`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 | async fn get_all_tickets(State(db):State<Arc<Mutex<Db>>>)->Json<Vec<Ticket>>{
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:20:36
[INFO] [stdout]    |
[INFO] [stdout] 20 | async fn get_all_tickets(State(db):State<Arc<Mutex<Db>>>)->Json<Vec<Ticket>>{
[INFO] [stdout]    |                                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Path(id): Path<Uuid>,State(db):State<Arc<Mutex<Db>>>
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:26:26
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Path(id): Path<Uuid>,State(db):State<Arc<Mutex<Db>>>
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Path(id): Path<Uuid>,State(db):State<Arc<Mutex<Db>>>
[INFO] [stdout]    |               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:26:36
[INFO] [stdout]    |
[INFO] [stdout] 26 |     Path(id): Path<Uuid>,State(db):State<Arc<Mutex<Db>>>
[INFO] [stdout]    |                                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StatusCode` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:27:30
[INFO] [stdout]    |
[INFO] [stdout] 27 |     ,)-> Result<Json<Ticket>,StatusCode> {
[INFO] [stdout]    |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 25 | async fn get_ticket<StatusCode>(
[INFO] [stdout]    |                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:35:56
[INFO] [stdout]    |
[INFO] [stdout] 35 | async fn create_ticket(Json(payload):Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->Json<Ticket> {
[INFO] [stdout]    |                                                        ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:35:66
[INFO] [stdout]    |
[INFO] [stdout] 35 | async fn create_ticket(Json(payload):Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->Json<Ticket> {
[INFO] [stdout]    |                                                                  ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:41:62
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                                                              ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:41:33
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:41:72
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                                                                        ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StatusCode` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 | Result<Json<Ticket>,StatusCode>{
[INFO] [stdout]    |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 41 | async fn update_ticket<StatusCode>(Path(id):Path<Uuid>,Json<TicketInput>,State(db):State<Arc<Mutex<Db>>>,)->
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `payload` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:44:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |         match db.update(id,payload){
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:51:24
[INFO] [stdout]    |
[INFO] [stdout] 51 | async fn delete_ticket(Path(id):Path<Uuid>,State(db):State<Arc<Mutex<Db>>>,)->StatusCode{
[INFO] [stdout]    |                        ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:51:44
[INFO] [stdout]    |
[INFO] [stdout] 51 | async fn delete_ticket(Path(id):Path<Uuid>,State(db):State<Arc<Mutex<Db>>>,)->StatusCode{
[INFO] [stdout]    |                                            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this tuple struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:51:33
[INFO] [stdout]    |
[INFO] [stdout] 51 | async fn delete_ticket(Path(id):Path<Uuid>,State(db):State<Arc<Mutex<Db>>>,)->StatusCode{
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `State` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:51:54
[INFO] [stdout]    |
[INFO] [stdout] 51 | async fn delete_ticket(Path(id):Path<Uuid>,State(db):State<Arc<Mutex<Db>>>,)->StatusCode{
[INFO] [stdout]    |                                                      ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use axum::extract::State;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `StatusCode` in this scope
[INFO] [stdout]   --> src/RoutesTickets.rs:51:79
[INFO] [stdout]    |
[INFO] [stdout] 51 | async fn delete_ticket(Path(id):Path<Uuid>,State(db):State<Arc<Mutex<Db>>>,)->StatusCode{
[INFO] [stdout]    |                                                                               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete`, `post`, and `put`
[INFO] [stdout]  --> src/RoutesTickets.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 |     routing::{get,post,put,delete},Json, Router,
[INFO] [stdout]   |                   ^^^^ ^^^ ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]   --> src/RoutesTickets.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         StatusCode::NO_CONTENT}
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]   --> src/RoutesTickets.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             StatusCode::NOT_FOUND
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]   --> src/RoutesTickets.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         StatusCode::NO_CONTENT}
[INFO] [stdout]    |         ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode`
[INFO] [stdout]   --> src/RoutesTickets.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             StatusCode::NOT_FOUND
[INFO] [stdout]    |             ^^^^^^^^^^ use of undeclared type `StatusCode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(Json<{type error}>, ...) -> ... {create_ticket}: Handler<_, _>` is not satisfied
[INFO] [stdout]     --> src/RoutesTickets.rs:15:42
[INFO] [stdout]      |
[INFO] [stdout]   15 |     .route("/",get(get_all_tickets).post(create_ticket))
[INFO] [stdout]      |                                     ---- ^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json<{type error}>, {type error}) -> ... {create_ticket}`
[INFO] [stdout]      |                                     |
[INFO] [stdout]      |                                     required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: Consider using `#[axum::debug_handler]` to improve the error message
[INFO] [stdout] help: the following other types implement trait `Handler<T, S>`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:1309:1
[INFO] [stdout]      |
[INFO] [stdout] 1309 | / impl<S> Handler<(), S> for MethodRouter<S>
[INFO] [stdout] 1310 | | where
[INFO] [stdout] 1311 | |     S: Clone + 'static,
[INFO] [stdout]      | |_______________________^ `MethodRouter<S>` implements `Handler<(), S>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/handler/mod.rs:303:1
[INFO] [stdout]      |
[INFO] [stdout]  303 | / impl<H, S, T, L> Handler<T, S> for Layered<L, H, T, S>
[INFO] [stdout]  304 | | where
[INFO] [stdout]  305 | |     L: Layer<HandlerService<H, T, S>> + Clone + Send + 'static,
[INFO] [stdout]  306 | |     H: Handler<T, S>,
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | |     T: 'static,
[INFO] [stdout]  311 | |     S: 'static,
[INFO] [stdout]      | |_______________^ `axum::handler::Layered<L, H, T, S>` implements `Handler<T, S>`
[INFO] [stdout] note: required by a bound in `MethodRouter::<S>::post`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:324:16
[INFO] [stdout]      |
[INFO] [stdout]  324 |             H: Handler<T, S>,
[INFO] [stdout]      |                ^^^^^^^^^^^^^ required by this bound in `MethodRouter::<S>::post`
[INFO] [stdout] ...
[INFO] [stdout]  647 |     chained_handler_fn!(post, POST);
[INFO] [stdout]      |     -------------------------------
[INFO] [stdout]      |     |                   |
[INFO] [stdout]      |     |                   required by a bound in this associated function
[INFO] [stdout]      |     in this macro invocation
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/major_project-b5cf9b62a308d0af.long-type-6822614043844270217.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]      = note: this error originates in the macro `chained_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(Json<{type error}>, ...) -> ... {create_ticket}: Handler<_, _>` is not satisfied
[INFO] [stdout]     --> src/RoutesTickets.rs:15:42
[INFO] [stdout]      |
[INFO] [stdout]   15 |     .route("/",get(get_all_tickets).post(create_ticket))
[INFO] [stdout]      |                                     ---- ^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json<{type error}>, {type error}) -> ... {create_ticket}`
[INFO] [stdout]      |                                     |
[INFO] [stdout]      |                                     required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: Consider using `#[axum::debug_handler]` to improve the error message
[INFO] [stdout] help: the following other types implement trait `Handler<T, S>`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:1309:1
[INFO] [stdout]      |
[INFO] [stdout] 1309 | / impl<S> Handler<(), S> for MethodRouter<S>
[INFO] [stdout] 1310 | | where
[INFO] [stdout] 1311 | |     S: Clone + 'static,
[INFO] [stdout]      | |_______________________^ `MethodRouter<S>` implements `Handler<(), S>`
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/handler/mod.rs:303:1
[INFO] [stdout]      |
[INFO] [stdout]  303 | / impl<H, S, T, L> Handler<T, S> for Layered<L, H, T, S>
[INFO] [stdout]  304 | | where
[INFO] [stdout]  305 | |     L: Layer<HandlerService<H, T, S>> + Clone + Send + 'static,
[INFO] [stdout]  306 | |     H: Handler<T, S>,
[INFO] [stdout] ...    |
[INFO] [stdout]  310 | |     T: 'static,
[INFO] [stdout]  311 | |     S: 'static,
[INFO] [stdout]      | |_______________^ `axum::handler::Layered<L, H, T, S>` implements `Handler<T, S>`
[INFO] [stdout] note: required by a bound in `MethodRouter::<S>::post`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:324:16
[INFO] [stdout]      |
[INFO] [stdout]  324 |             H: Handler<T, S>,
[INFO] [stdout]      |                ^^^^^^^^^^^^^ required by this bound in `MethodRouter::<S>::post`
[INFO] [stdout] ...
[INFO] [stdout]  647 |     chained_handler_fn!(post, POST);
[INFO] [stdout]      |     -------------------------------
[INFO] [stdout]      |     |                   |
[INFO] [stdout]      |     |                   required by a bound in this associated function
[INFO] [stdout]      |     in this macro invocation
[INFO] [stdout]      = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/major_project-01f1d9b67b1be3d7.long-type-13854420872230793025.txt'
[INFO] [stdout]      = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]      = note: this error originates in the macro `chained_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     axum::Server::bind(&addr).serve(app.into_make_service()).await.unwrap();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     axum::Server::bind(&addr).serve(app.into_make_service()).await.unwrap();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0425, E0433, E0531, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0425, E0433, E0531, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `major_project` (bin "major_project") due to 32 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `major_project` (bin "major_project" test) due to 32 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "489dbc0f68e26e402c2cab719e9a75517993e5e9422fcefd2095538812ec44b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "489dbc0f68e26e402c2cab719e9a75517993e5e9422fcefd2095538812ec44b2", kill_on_drop: false }`
[INFO] [stdout] 489dbc0f68e26e402c2cab719e9a75517993e5e9422fcefd2095538812ec44b2
