[INFO] cloning repository https://github.com/AquilaFasciata/url_shortener
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AquilaFasciata/url_shortener" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAquilaFasciata%2Furl_shortener", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAquilaFasciata%2Furl_shortener'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bd25b1c297617c7ab9a7bf5c3e4e31af35bba246
[INFO] checking AquilaFasciata/url_shortener against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAquilaFasciata%2Furl_shortener" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AquilaFasciata/url_shortener
[INFO] finished tweaking git repo https://github.com/AquilaFasciata/url_shortener
[INFO] tweaked toml for git repo https://github.com/AquilaFasciata/url_shortener written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AquilaFasciata/url_shortener on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AquilaFasciata/url_shortener 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3891e0dfb23bc67b66713d60f37acf65186743e74b2cb70e6ff595abe6f1f04a
[INFO] running `Command { std: "docker" "start" "-a" "3891e0dfb23bc67b66713d60f37acf65186743e74b2cb70e6ff595abe6f1f04a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3891e0dfb23bc67b66713d60f37acf65186743e74b2cb70e6ff595abe6f1f04a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3891e0dfb23bc67b66713d60f37acf65186743e74b2cb70e6ff595abe6f1f04a", kill_on_drop: false }`
[INFO] [stdout] 3891e0dfb23bc67b66713d60f37acf65186743e74b2cb70e6ff595abe6f1f04a
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] deb7b9f64877269ba7de05ff2fe2c08bc7e123e85bace609cf84f564a0c08469
[INFO] running `Command { std: "docker" "start" "-a" "deb7b9f64877269ba7de05ff2fe2c08bc7e123e85bace609cf84f564a0c08469", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling thiserror v2.0.9
[INFO] [stderr]    Compiling serde_json v1.0.134
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling syn v2.0.94
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling foldhash v0.1.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling aws-lc-rs v1.12.0
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling tinyvec v1.8.1
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]     Checking indexmap v2.7.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling cc v1.2.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]     Checking rustls-pki-types v1.10.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling rustls v0.23.20
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling cmake v0.1.52
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking winnow v0.6.22
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking askama_escape v0.10.3
[INFO] [stderr]     Checking arc-swap v1.7.1
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking hex-literal v0.4.1
[INFO] [stderr]    Compiling aws-lc-sys v0.24.1
[INFO] [stderr]    Compiling sha2-asm v0.6.4
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]    Compiling askama_parser v0.2.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling tempfile v3.15.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v2.0.9
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling async-trait v0.1.84
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking pin-project v1.1.7
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_html_form v0.2.7
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking toml_edit v0.22.22
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]    Compiling basic-toml v0.1.9
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking toml v0.8.19
[INFO] [stderr]    Compiling askama_derive v0.12.5
[INFO] [stderr]     Checking askama v0.12.1
[INFO] [stderr]    Compiling sqlx-core v0.8.3
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking tokio-rustls v0.26.1
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling sqlx-postgres v0.8.3
[INFO] [stderr]     Checking h2 v0.4.7
[INFO] [stderr]     Checking hyper v1.5.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.3
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking axum-server v0.7.1
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]    Compiling sqlx-macros v0.8.3
[INFO] [stderr]     Checking sqlx v0.8.3
[INFO] [stderr]     Checking url_shortener v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     time::{self, SystemTime, UNIX_EPOCH},
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Request`
[INFO] [stdout]   --> src/main.rs:16:42
[INFO] [stdout]    |
[INFO] [stdout] 16 |         response, HeaderMap, HeaderName, Request, StatusCode,
[INFO] [stdout]    |                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 |     time::{self, SystemTime, UNIX_EPOCH},
[INFO] [stdout]   |            ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Request`
[INFO] [stdout]   --> src/main.rs:16:42
[INFO] [stdout]    |
[INFO] [stdout] 16 |         response, HeaderMap, HeaderName, Request, StatusCode,
[INFO] [stdout]    |                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(State<&...>, ...) -> ... {authenticate_request}: Handler<_, _>` is not satisfied
[INFO] [stdout]    --> src/main.rs:180:31
[INFO] [stdout]     |
[INFO] [stdout] 180 |         .route("/login", post(authenticate_request))
[INFO] [stdout]     |                          ---- ^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State<&MasterState>, &HeaderMap) -> ... {authenticate_request}`
[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]               `MethodRouter<S>` implements `Handler<(), S>`
[INFO] [stdout]               `axum::handler::Layered<L, H, T, S>` implements `Handler<T, S>`
[INFO] [stdout] note: required by a bound in `post`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:443:1
[INFO] [stdout]     |
[INFO] [stdout] 443 | top_level_handler_fn!(post, POST);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
[INFO] [stdout]     | |                     |
[INFO] [stdout]     | |                     required by a bound in this function
[INFO] [stdout]     | required by this bound in `post`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/url_shortener-7e861a7b1506e294.long-type-1120325877366710984.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 `&mut MasterState: Clone` is not satisfied
[INFO] [stdout]    --> src/main.rs:180:10
[INFO] [stdout]     |
[INFO] [stdout] 180 |         .route("/login", post(authenticate_request))
[INFO] [stdout]     |          ^^^^^ the trait `Clone` is not implemented for `&mut MasterState`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Clone` is implemented for `&MasterState`, but not for `&mut MasterState`
[INFO] [stdout] note: required by a bound in `Router::<S>::route`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 |     S: Clone + Send + Sync + 'static,
[INFO] [stdout]     |        ^^^^^ required by this bound in `Router::<S>::route`
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn route(self, path: &str, method_router: MethodRouter<S>) -> Self {
[INFO] [stdout]     |            ----- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&mut MasterState: Clone` is not satisfied
[INFO] [stdout]    --> src/main.rs:180:26
[INFO] [stdout]     |
[INFO] [stdout] 180 |         .route("/login", post(authenticate_request))
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `&mut MasterState`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Clone` is implemented for `&MasterState`, but not for `&mut MasterState`
[INFO] [stdout] note: required by a bound in `post`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:443:1
[INFO] [stdout]     |
[INFO] [stdout] 443 | top_level_handler_fn!(post, POST);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
[INFO] [stdout]     | |                     |
[INFO] [stdout]     | |                     required by a bound in this function
[INFO] [stdout]     | required by this bound in `post`
[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 `&mut MasterState: Clone` is not satisfied
[INFO] [stdout]    --> src/main.rs:181:10
[INFO] [stdout]     |
[INFO] [stdout] 181 |         .with_state(box_master_state);
[INFO] [stdout]     |          ^^^^^^^^^^ the trait `Clone` is not implemented for `&mut MasterState`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Clone` is implemented for `&MasterState`, but not for `&mut MasterState`
[INFO] [stdout] note: required by a bound in `Router::<S>::with_state`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 |     S: Clone + Send + Sync + 'static,
[INFO] [stdout]     |        ^^^^^ required by this bound in `Router::<S>::with_state`
[INFO] [stdout] ...
[INFO] [stdout] 370 |     pub fn with_state<S2>(self, state: S) -> Router<S2> {
[INFO] [stdout]     |            ---------- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:336:6
[INFO] [stdout]     |
[INFO] [stdout] 332 | fn private_area(
[INFO] [stdout]     |    ------------ implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] ...
[INFO] [stdout] 336 | ) -> Response {
[INFO] [stdout]     |      ^^^^^^^^ expected `Response<Body>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Response<Body>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_row`
[INFO] [stdout]    --> src/main.rs:374:47
[INFO] [stdout]     |
[INFO] [stdout] 374 |         AuthenticationResponse::Authenticated(user_row) => {
[INFO] [stdout]     |                                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_row`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `auth_error`
[INFO] [stdout]    --> src/main.rs:387:39
[INFO] [stdout]     |
[INFO] [stdout] 387 |         AuthenticationResponse::Error(auth_error) => todo!(),
[INFO] [stdout]     |                                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `url_shortener` (bin "url_shortener") due to 5 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `fn(State<&...>, ...) -> ... {authenticate_request}: Handler<_, _>` is not satisfied
[INFO] [stdout]    --> src/main.rs:180:31
[INFO] [stdout]     |
[INFO] [stdout] 180 |         .route("/login", post(authenticate_request))
[INFO] [stdout]     |                          ---- ^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(State<&MasterState>, &HeaderMap) -> ... {authenticate_request}`
[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]               `MethodRouter<S>` implements `Handler<(), S>`
[INFO] [stdout]               `axum::handler::Layered<L, H, T, S>` implements `Handler<T, S>`
[INFO] [stdout] note: required by a bound in `post`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:443:1
[INFO] [stdout]     |
[INFO] [stdout] 443 | top_level_handler_fn!(post, POST);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
[INFO] [stdout]     | |                     |
[INFO] [stdout]     | |                     required by a bound in this function
[INFO] [stdout]     | required by this bound in `post`
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/url_shortener-cf8bbda427a03728.long-type-4078977416774031649.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 `&mut MasterState: Clone` is not satisfied
[INFO] [stdout]    --> src/main.rs:180:10
[INFO] [stdout]     |
[INFO] [stdout] 180 |         .route("/login", post(authenticate_request))
[INFO] [stdout]     |          ^^^^^ the trait `Clone` is not implemented for `&mut MasterState`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Clone` is implemented for `&MasterState`, but not for `&mut MasterState`
[INFO] [stdout] note: required by a bound in `Router::<S>::route`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 |     S: Clone + Send + Sync + 'static,
[INFO] [stdout]     |        ^^^^^ required by this bound in `Router::<S>::route`
[INFO] [stdout] ...
[INFO] [stdout] 164 |     pub fn route(self, path: &str, method_router: MethodRouter<S>) -> Self {
[INFO] [stdout]     |            ----- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `&mut MasterState: Clone` is not satisfied
[INFO] [stdout]    --> src/main.rs:180:26
[INFO] [stdout]     |
[INFO] [stdout] 180 |         .route("/login", post(authenticate_request))
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `&mut MasterState`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Clone` is implemented for `&MasterState`, but not for `&mut MasterState`
[INFO] [stdout] note: required by a bound in `post`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/method_routing.rs:443:1
[INFO] [stdout]     |
[INFO] [stdout] 443 | top_level_handler_fn!(post, POST);
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^
[INFO] [stdout]     | |                     |
[INFO] [stdout]     | |                     required by a bound in this function
[INFO] [stdout]     | required by this bound in `post`
[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 `&mut MasterState: Clone` is not satisfied
[INFO] [stdout]    --> src/main.rs:181:10
[INFO] [stdout]     |
[INFO] [stdout] 181 |         .with_state(box_master_state);
[INFO] [stdout]     |          ^^^^^^^^^^ the trait `Clone` is not implemented for `&mut MasterState`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Clone` is implemented for `&MasterState`, but not for `&mut MasterState`
[INFO] [stdout] note: required by a bound in `Router::<S>::with_state`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.9/src/routing/mod.rs:133:8
[INFO] [stdout]     |
[INFO] [stdout] 133 |     S: Clone + Send + Sync + 'static,
[INFO] [stdout]     |        ^^^^^ required by this bound in `Router::<S>::with_state`
[INFO] [stdout] ...
[INFO] [stdout] 370 |     pub fn with_state<S2>(self, state: S) -> Router<S2> {
[INFO] [stdout]     |            ---------- required by a bound in this associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:336:6
[INFO] [stdout]     |
[INFO] [stdout] 332 | fn private_area(
[INFO] [stdout]     |    ------------ implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] ...
[INFO] [stdout] 336 | ) -> Response {
[INFO] [stdout]     |      ^^^^^^^^ expected `Response<Body>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `Response<Body>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_row`
[INFO] [stdout]    --> src/main.rs:374:47
[INFO] [stdout]     |
[INFO] [stdout] 374 |         AuthenticationResponse::Authenticated(user_row) => {
[INFO] [stdout]     |                                               ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_row`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `auth_error`
[INFO] [stdout]    --> src/main.rs:387:39
[INFO] [stdout]     |
[INFO] [stdout] 387 |         AuthenticationResponse::Error(auth_error) => todo!(),
[INFO] [stdout]     |                                       ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_auth_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `url_shortener` (bin "url_shortener" test) due to 5 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "deb7b9f64877269ba7de05ff2fe2c08bc7e123e85bace609cf84f564a0c08469", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "deb7b9f64877269ba7de05ff2fe2c08bc7e123e85bace609cf84f564a0c08469", kill_on_drop: false }`
[INFO] [stdout] deb7b9f64877269ba7de05ff2fe2c08bc7e123e85bace609cf84f564a0c08469
