[INFO] cloning repository https://github.com/knowledgeAlan/axum-one
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/knowledgeAlan/axum-one" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FknowledgeAlan%2Faxum-one", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FknowledgeAlan%2Faxum-one'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e1a2052b5ed2552dc59f38920012e78d8514ea73
[INFO] checking knowledgeAlan/axum-one against try#bac5816c5f3d02cebd0599070af62d1782530294 for pr-150408
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FknowledgeAlan%2Faxum-one" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/knowledgeAlan/axum-one
[INFO] finished tweaking git repo https://github.com/knowledgeAlan/axum-one
[INFO] tweaked toml for git repo https://github.com/knowledgeAlan/axum-one written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/knowledgeAlan/axum-one on toolchain bac5816c5f3d02cebd0599070af62d1782530294
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/knowledgeAlan/axum-one 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" "+bac5816c5f3d02cebd0599070af62d1782530294" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded tower-cookies v0.10.0
[INFO] [stderr] Downloaded httpc-test v0.1.9
[INFO] [stderr] Downloaded lazy-regex v3.2.0
[INFO] [stderr] Downloaded lazy-regex-proc_macros v3.2.0
[INFO] [stderr] Downloaded thiserror v1.0.62
[INFO] [stderr] Downloaded thiserror-impl v1.0.62
[INFO] [stderr] Downloaded http-range-header v0.4.1
[INFO] [stderr] Downloaded reqwest_cookie_store v0.6.0
[INFO] [stderr] Downloaded axum-macros v0.4.1
[INFO] [stderr] Downloaded axum-server v0.6.0
[INFO] [stderr] Downloaded cc v1.1.5
[INFO] [stderr] Downloaded syn v2.0.71
[INFO] [stderr] Downloaded tokio v1.38.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6fb0dec2a0716509e85b8e65b6e712ce2bba2a8e6b32ddec570fd32bb1f4b335
[INFO] running `Command { std: "docker" "start" "-a" "6fb0dec2a0716509e85b8e65b6e712ce2bba2a8e6b32ddec570fd32bb1f4b335", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6fb0dec2a0716509e85b8e65b6e712ce2bba2a8e6b32ddec570fd32bb1f4b335", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fb0dec2a0716509e85b8e65b6e712ce2bba2a8e6b32ddec570fd32bb1f4b335", kill_on_drop: false }`
[INFO] [stdout] 6fb0dec2a0716509e85b8e65b6e712ce2bba2a8e6b32ddec570fd32bb1f4b335
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+bac5816c5f3d02cebd0599070af62d1782530294" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 07b05056207831606ab948bc549fb6ecb8630e423738e40aabe87f497e400b2f
[INFO] running `Command { std: "docker" "start" "-a" "07b05056207831606ab948bc549fb6ecb8630e423738e40aabe87f497e400b2f", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.155
[INFO] [stderr] Checking bytes v1.6.1
[INFO] [stderr] Compiling serde v1.0.204
[INFO] [stderr] Compiling quote v1.0.36
[INFO] [stderr] Checking tracing v0.1.40
[INFO] [stderr] Compiling httparse v1.9.4
[INFO] [stderr] Compiling cc v1.1.5
[INFO] [stderr] Checking bitflags v2.6.0
[INFO] [stderr] Compiling serde_json v1.0.120
[INFO] [stderr] Checking tinyvec v1.8.0
[INFO] [stderr] Compiling native-tls v0.2.12
[INFO] [stderr] Compiling unicase v2.7.0
[INFO] [stderr] Compiling axum-core v0.4.3
[INFO] [stderr] Compiling cookie v0.17.0
[INFO] [stderr] Compiling regex-syntax v0.8.4
[INFO] [stderr] Checking psl-types v2.0.11
[INFO] [stderr] Compiling syn v2.0.71
[INFO] [stderr] Compiling axum v0.7.5
[INFO] [stderr] Compiling mime_guess v2.0.5
[INFO] [stderr] Compiling thiserror v1.0.62
[INFO] [stderr] Checking http-range-header v0.4.1
[INFO] [stderr] Checking http v1.1.0
[INFO] [stderr] Checking http v0.2.12
[INFO] [stderr] Checking unicode-normalization v0.1.23
[INFO] [stderr] Compiling openssl-sys v0.9.102
[INFO] [stderr] Checking parking_lot_core v0.9.10
[INFO] [stderr] Checking mio v0.8.11
[INFO] [stderr] Checking signal-hook-registry v1.4.2
[INFO] [stderr] Checking num_cpus v1.16.0
[INFO] [stderr] Checking socket2 v0.5.7
[INFO] [stderr] Checking http-body v0.4.6
[INFO] [stderr] Checking http-body v1.0.1
[INFO] [stderr] Checking parking_lot v0.12.3
[INFO] [stderr] Checking idna v0.3.0
[INFO] [stderr] Checking idna v0.5.0
[INFO] [stderr] Compiling openssl v0.10.64
[INFO] [stderr] Checking regex-automata v0.4.7
[INFO] [stderr] Checking publicsuffix v2.2.3
[INFO] [stderr] Checking url v2.5.2
[INFO] [stderr] Compiling darling_core v0.20.10
[INFO] [stderr] Checking regex v1.10.5
[INFO] [stderr] Compiling futures-macro v0.3.30
[INFO] [stderr] Compiling tokio-macros v2.3.0
[INFO] [stderr] Compiling serde_derive v1.0.204
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Compiling pin-project-internal v1.1.5
[INFO] [stderr] Compiling async-trait v0.1.81
[INFO] [stderr] Compiling axum-macros v0.4.1
[INFO] [stderr] Compiling thiserror-impl v1.0.62
[INFO] [stderr] Checking tokio v1.38.1
[INFO] [stderr] Checking futures-util v0.3.30
[INFO] [stderr] Compiling lazy-regex-proc_macros v3.2.0
[INFO] [stderr] Checking pin-project v1.1.5
[INFO] [stderr] Compiling darling_macro v0.20.10
[INFO] [stderr] Checking lazy-regex v3.2.0
[INFO] [stderr] Compiling darling v0.20.10
[INFO] [stderr] Compiling serde_with_macros v3.9.0
[INFO] [stderr] Checking http-body-util v0.1.2
[INFO] [stderr] Checking tokio-util v0.7.11
[INFO] [stderr] Checking tower v0.4.13
[INFO] [stderr] Checking tokio-native-tls v0.3.1
[INFO] [stderr] Checking tower-cookies v0.10.0
[INFO] [stderr] Checking h2 v0.4.5
[INFO] [stderr] Checking h2 v0.3.26
[INFO] [stderr] Checking tower-http v0.5.2
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking serde_path_to_error v0.1.16
[INFO] [stderr] Checking serde_with v3.9.0
[INFO] [stderr] Checking cookie_store v0.20.0
[INFO] [stderr] Checking hyper v0.14.30
[INFO] [stderr] Checking hyper v1.4.1
[INFO] [stderr] Checking hyper-util v0.1.6
[INFO] [stderr] Checking axum-server v0.6.0
[INFO] [stderr] Checking hyper-tls v0.5.0
[INFO] [stderr] Checking reqwest v0.11.27
[INFO] [stderr] Checking reqwest_cookie_store v0.6.0
[INFO] [stderr] Checking httpc-test v0.1.9
[INFO] [stderr] Checking template v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `Ctx` in this scope
[INFO] [stdout] --> src/web/routes_tickets.rs:29:9
[INFO] [stdout] |
[INFO] [stdout] 29 | ctx:Ctx,
[INFO] [stdout] | ^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 6 + use crate::ctx::Ctx;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Ctx` in this scope
[INFO] [stdout] --> src/web/routes_tickets.rs:43:9
[INFO] [stdout] |
[INFO] [stdout] 43 | ctx:Ctx,
[INFO] [stdout] | ^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 6 + use crate::ctx::Ctx;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Ctx` in this scope
[INFO] [stdout] --> src/web/routes_tickets.rs:57:9
[INFO] [stdout] |
[INFO] [stdout] 57 | ctx:Ctx,
[INFO] [stdout] | ^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 6 + use crate::ctx::Ctx;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Ctx` in this scope
[INFO] [stdout] --> src/web/routes_tickets.rs:29:9
[INFO] [stdout] |
[INFO] [stdout] 29 | ctx:Ctx,
[INFO] [stdout] | ^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 6 + use crate::ctx::Ctx;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Ctx` in this scope
[INFO] [stdout] --> src/web/routes_tickets.rs:43:9
[INFO] [stdout] |
[INFO] [stdout] 43 | ctx:Ctx,
[INFO] [stdout] | ^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 6 + use crate::ctx::Ctx;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find type `Ctx` in this scope
[INFO] [stdout] --> src/web/routes_tickets.rs:57:9
[INFO] [stdout] |
[INFO] [stdout] 57 | ctx:Ctx,
[INFO] [stdout] | ^^^ not found in this scope
[INFO] [stdout] |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout] |
[INFO] [stdout] 6 + use crate::ctx::Ctx;
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/web/mw_auth.rs:62:49
[INFO] [stdout] |
[INFO] [stdout] 62 | pub async fn mw_ctx_resolver (cookies: Cookies,mut req:Request
, next:Next) -> Result{
[INFO] [stdout] | ----^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/web/mw_auth.rs:62:49
[INFO] [stdout] |
[INFO] [stdout] 62 | pub async fn mw_ctx_resolver (cookies: Cookies,mut req:Request, next:Next) -> Result{
[INFO] [stdout] | ----^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: the trait bound `fn(State<...>, ..., ...) -> ... {create_ticket}: Handler<_, _>` is not satisfied
[INFO] [stdout] --> src/web/routes_tickets.rs:22:28
[INFO] [stdout] |
[INFO] [stdout] 22 | route("/tickets", post(create_ticket).get(list_tickets))
[INFO] [stdout] | ---- ^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State, {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`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:1216:1
[INFO] [stdout] |
[INFO] [stdout] 1216 | / impl Handler<(), S> for MethodRouter
[INFO] [stdout] 1217 | | where
[INFO] [stdout] 1218 | | S: Clone + 'static,
[INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/handler/mod.rs:303:1
[INFO] [stdout] |
[INFO] [stdout] 303 | / impl Handler for Layered
[INFO] [stdout] 304 | | where
[INFO] [stdout] 305 | | L: Layer> + Clone + Send + 'static,
[INFO] [stdout] 306 | | H: Handler,
[INFO] [stdout] ... |
[INFO] [stdout] 310 | | T: 'static,
[INFO] [stdout] 311 | | S: 'static,
[INFO] [stdout] | |_______________^ `Layered` implements `Handler`
[INFO] [stdout] note: required by a bound in `post`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:140:16
[INFO] [stdout] |
[INFO] [stdout] 140 | H: Handler,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `post`
[INFO] [stdout] ...
[INFO] [stdout] 389 | top_level_handler_fn!(post, POST);
[INFO] [stdout] | ---------------------------------
[INFO] [stdout] | | |
[INFO] [stdout] | | required by a bound in this 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/template-073d9332783a0cfc.long-type-11415656088060856474.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 `top_level_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(State, ...) -> ... {list_tickets}: Handler<_, _>` is not satisfied
[INFO] [stdout] --> src/web/routes_tickets.rs:22:47
[INFO] [stdout] |
[INFO] [stdout] 22 | route("/tickets", post(create_ticket).get(list_tickets))
[INFO] [stdout] | --- ^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State, {type error}) -> ... {list_tickets}`
[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`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:1216:1
[INFO] [stdout] |
[INFO] [stdout] 1216 | / impl Handler<(), S> for MethodRouter
[INFO] [stdout] 1217 | | where
[INFO] [stdout] 1218 | | S: Clone + 'static,
[INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/handler/mod.rs:303:1
[INFO] [stdout] |
[INFO] [stdout] 303 | / impl Handler for Layered
[INFO] [stdout] 304 | | where
[INFO] [stdout] 305 | | L: Layer> + Clone + Send + 'static,
[INFO] [stdout] 306 | | H: Handler,
[INFO] [stdout] ... |
[INFO] [stdout] 310 | | T: 'static,
[INFO] [stdout] 311 | | S: 'static,
[INFO] [stdout] | |_______________^ `Layered` implements `Handler`
[INFO] [stdout] note: required by a bound in `MethodRouter::::get`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:272:16
[INFO] [stdout] |
[INFO] [stdout] 272 | H: Handler,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `MethodRouter::::get`
[INFO] [stdout] ...
[INFO] [stdout] 586 | chained_handler_fn!(get, GET);
[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/template-073d9332783a0cfc.long-type-9635495517141373215.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(State<...>, ..., ...) -> ... {delete_ticket}: Handler<_, _>` is not satisfied
[INFO] [stdout] --> src/web/routes_tickets.rs:23:35
[INFO] [stdout] |
[INFO] [stdout] 23 | .route("/tickets/:id", delete(delete_ticket))
[INFO] [stdout] | ------ ^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State, {type error}, ...) -> ... {delete_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`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:1216:1
[INFO] [stdout] |
[INFO] [stdout] 1216 | / impl Handler<(), S> for MethodRouter
[INFO] [stdout] 1217 | | where
[INFO] [stdout] 1218 | | S: Clone + 'static,
[INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/handler/mod.rs:303:1
[INFO] [stdout] |
[INFO] [stdout] 303 | / impl Handler for Layered
[INFO] [stdout] 304 | | where
[INFO] [stdout] 305 | | L: Layer> + Clone + Send + 'static,
[INFO] [stdout] 306 | | H: Handler,
[INFO] [stdout] ... |
[INFO] [stdout] 310 | | T: 'static,
[INFO] [stdout] 311 | | S: 'static,
[INFO] [stdout] | |_______________^ `Layered` implements `Handler`
[INFO] [stdout] note: required by a bound in `delete`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:140:16
[INFO] [stdout] |
[INFO] [stdout] 140 | H: Handler,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `delete`
[INFO] [stdout] ...
[INFO] [stdout] 384 | top_level_handler_fn!(delete, DELETE);
[INFO] [stdout] | -------------------------------------
[INFO] [stdout] | | |
[INFO] [stdout] | | required by a bound in this 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/template-073d9332783a0cfc.long-type-5861359343569293457.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 `top_level_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(State<...>, ..., ...) -> ... {create_ticket}: Handler<_, _>` is not satisfied
[INFO] [stdout] --> src/web/routes_tickets.rs:22:28
[INFO] [stdout] |
[INFO] [stdout] 22 | route("/tickets", post(create_ticket).get(list_tickets))
[INFO] [stdout] | ---- ^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State, {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`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:1216:1
[INFO] [stdout] |
[INFO] [stdout] 1216 | / impl Handler<(), S> for MethodRouter
[INFO] [stdout] 1217 | | where
[INFO] [stdout] 1218 | | S: Clone + 'static,
[INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/handler/mod.rs:303:1
[INFO] [stdout] |
[INFO] [stdout] 303 | / impl Handler for Layered
[INFO] [stdout] 304 | | where
[INFO] [stdout] 305 | | L: Layer> + Clone + Send + 'static,
[INFO] [stdout] 306 | | H: Handler,
[INFO] [stdout] ... |
[INFO] [stdout] 310 | | T: 'static,
[INFO] [stdout] 311 | | S: 'static,
[INFO] [stdout] | |_______________^ `Layered` implements `Handler`
[INFO] [stdout] note: required by a bound in `post`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:140:16
[INFO] [stdout] |
[INFO] [stdout] 140 | H: Handler,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `post`
[INFO] [stdout] ...
[INFO] [stdout] 389 | top_level_handler_fn!(post, POST);
[INFO] [stdout] | ---------------------------------
[INFO] [stdout] | | |
[INFO] [stdout] | | required by a bound in this 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/template-b014bf2d8f446709.long-type-9712983677371701705.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 `top_level_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(State, ...) -> ... {list_tickets}: Handler<_, _>` is not satisfied
[INFO] [stdout] --> src/web/routes_tickets.rs:22:47
[INFO] [stdout] |
[INFO] [stdout] 22 | route("/tickets", post(create_ticket).get(list_tickets))
[INFO] [stdout] | --- ^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State, {type error}) -> ... {list_tickets}`
[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`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:1216:1
[INFO] [stdout] |
[INFO] [stdout] 1216 | / impl Handler<(), S> for MethodRouter
[INFO] [stdout] 1217 | | where
[INFO] [stdout] 1218 | | S: Clone + 'static,
[INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/handler/mod.rs:303:1
[INFO] [stdout] |
[INFO] [stdout] 303 | / impl Handler for Layered
[INFO] [stdout] 304 | | where
[INFO] [stdout] 305 | | L: Layer> + Clone + Send + 'static,
[INFO] [stdout] 306 | | H: Handler,
[INFO] [stdout] ... |
[INFO] [stdout] 310 | | T: 'static,
[INFO] [stdout] 311 | | S: 'static,
[INFO] [stdout] | |_______________^ `Layered` implements `Handler`
[INFO] [stdout] note: required by a bound in `MethodRouter::::get`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:272:16
[INFO] [stdout] |
[INFO] [stdout] 272 | H: Handler,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `MethodRouter::::get`
[INFO] [stdout] ...
[INFO] [stdout] 586 | chained_handler_fn!(get, GET);
[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/template-b014bf2d8f446709.long-type-4779771138383282103.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(State<...>, ..., ...) -> ... {delete_ticket}: Handler<_, _>` is not satisfied
[INFO] [stdout] --> src/web/routes_tickets.rs:23:35
[INFO] [stdout] |
[INFO] [stdout] 23 | .route("/tickets/:id", delete(delete_ticket))
[INFO] [stdout] | ------ ^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State, {type error}, ...) -> ... {delete_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`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:1216:1
[INFO] [stdout] |
[INFO] [stdout] 1216 | / impl Handler<(), S> for MethodRouter
[INFO] [stdout] 1217 | | where
[INFO] [stdout] 1218 | | S: Clone + 'static,
[INFO] [stdout] | |_______________________^ `MethodRouter` implements `Handler<(), S>`
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/handler/mod.rs:303:1
[INFO] [stdout] |
[INFO] [stdout] 303 | / impl Handler for Layered
[INFO] [stdout] 304 | | where
[INFO] [stdout] 305 | | L: Layer> + Clone + Send + 'static,
[INFO] [stdout] 306 | | H: Handler,
[INFO] [stdout] ... |
[INFO] [stdout] 310 | | T: 'static,
[INFO] [stdout] 311 | | S: 'static,
[INFO] [stdout] | |_______________^ `Layered` implements `Handler`
[INFO] [stdout] note: required by a bound in `delete`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:140:16
[INFO] [stdout] |
[INFO] [stdout] 140 | H: Handler,
[INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `delete`
[INFO] [stdout] ...
[INFO] [stdout] 384 | top_level_handler_fn!(delete, DELETE);
[INFO] [stdout] | -------------------------------------
[INFO] [stdout] | | |
[INFO] [stdout] | | required by a bound in this 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/template-b014bf2d8f446709.long-type-5497221265498058520.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 `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `exp`
[INFO] [stdout] --> src/web/mw_auth.rs:54:20
[INFO] [stdout] |
[INFO] [stdout] 54 | let (user_id,exp,sign) = auth_token.ok_or(Error::AuthFailNoAuthTokenCookie).and_then(parse_token)?;
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `sign`
[INFO] [stdout] --> src/web/mw_auth.rs:54:24
[INFO] [stdout] |
[INFO] [stdout] 54 | let (user_id,exp,sign) = auth_token.ok_or(Error::AuthFailNoAuthTokenCookie).and_then(parse_token)?;
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `result_ctx`
[INFO] [stdout] --> src/web/mw_auth.rs:68:8
[INFO] [stdout] |
[INFO] [stdout] 68 | let result_ctx = match auth_token
[INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_ctx`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `exp`
[INFO] [stdout] --> src/web/mw_auth.rs:54:20
[INFO] [stdout] |
[INFO] [stdout] 54 | let (user_id,exp,sign) = auth_token.ok_or(Error::AuthFailNoAuthTokenCookie).and_then(parse_token)?;
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_exp`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `sign`
[INFO] [stdout] --> src/web/mw_auth.rs:54:24
[INFO] [stdout] |
[INFO] [stdout] 54 | let (user_id,exp,sign) = auth_token.ok_or(Error::AuthFailNoAuthTokenCookie).and_then(parse_token)?;
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sign`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `result_ctx`
[INFO] [stdout] --> src/web/mw_auth.rs:68:8
[INFO] [stdout] |
[INFO] [stdout] 68 | let result_ctx = match auth_token
[INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_ctx`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `template` (bin "template") due to 6 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `template` (bin "template" test) due to 6 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "07b05056207831606ab948bc549fb6ecb8630e423738e40aabe87f497e400b2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07b05056207831606ab948bc549fb6ecb8630e423738e40aabe87f497e400b2f", kill_on_drop: false }`
[INFO] [stdout] 07b05056207831606ab948bc549fb6ecb8630e423738e40aabe87f497e400b2f