[INFO] cloning repository https://github.com/v1un/AuthServerJacks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/v1un/AuthServerJacks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fv1un%2FAuthServerJacks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fv1un%2FAuthServerJacks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34866163159adb9904f1f9d9d720a8c03edd0228 [INFO] checking v1un/AuthServerJacks against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fv1un%2FAuthServerJacks" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/v1un/AuthServerJacks [INFO] finished tweaking git repo https://github.com/v1un/AuthServerJacks [INFO] tweaked toml for git repo https://github.com/v1un/AuthServerJacks written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/v1un/AuthServerJacks on toolchain 5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/v1un/AuthServerJacks 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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac84f043eed767fe8f755ad3dd65815a7226dcb5cfcff33ec8ec4fae985bc9f4 [INFO] running `Command { std: "docker" "start" "-a" "ac84f043eed767fe8f755ad3dd65815a7226dcb5cfcff33ec8ec4fae985bc9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac84f043eed767fe8f755ad3dd65815a7226dcb5cfcff33ec8ec4fae985bc9f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac84f043eed767fe8f755ad3dd65815a7226dcb5cfcff33ec8ec4fae985bc9f4", kill_on_drop: false }` [INFO] [stdout] ac84f043eed767fe8f755ad3dd65815a7226dcb5cfcff33ec8ec4fae985bc9f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b31965d93540f97fc417573a5c768e289b935e3bc990d2f480e8f40a7973b879 [INFO] running `Command { std: "docker" "start" "-a" "b31965d93540f97fc417573a5c768e289b935e3bc990d2f480e8f40a7973b879", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking pem v1.1.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking jsonwebtoken v8.3.0 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking auth_server_jacks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `" onclick="logout` [INFO] [stdout] --> src/handlers/web.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | Logout [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | unexpected token [INFO] [stdout] | help: add `;` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `" onclick="logout` [INFO] [stdout] --> src/handlers/web.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | Logout [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | unexpected token [INFO] [stdout] | help: add `;` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `">Logout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] "` [INFO] [stdout] --> src/handlers/web.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | Logout [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______________________________________________expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] | | [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | [INFO] [stdout] 54 | | "#; [INFO] [stdout] | |_____________^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `">Logout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] "` [INFO] [stdout] --> src/handlers/web.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | Logout [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | ______________________________________________expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] | | [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | [INFO] [stdout] 54 | | "#; [INFO] [stdout] | |_____________^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 76 | | r#" [INFO] [stdout] 77 | | INSERT INTO users (username, password_hash, role, created_at) [INFO] [stdout] 78 | | VALUES (?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 83 | | now // Pass DateTime, sqlx maps it to TEXT [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | let exists: Option = sqlx::query_scalar!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 97 | | "SELECT 1 FROM users WHERE username = ? LIMIT 1", [INFO] [stdout] 98 | | username [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 113 | | User, [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | SELECT id, username, password_hash, role, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 119 | | username [INFO] [stdout] 120 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | let user_response = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 133 | | UserResponse, [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | SELECT id, username, role, created_at, updated_at -- Select only needed fields [INFO] [stdout] ... | [INFO] [stdout] 139 | | user_id [INFO] [stdout] 140 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let users = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 152 | | UserResponse, [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | SELECT id, username, role, created_at, updated_at -- Select only needed fields [INFO] [stdout] ... | [INFO] [stdout] 157 | | "#, [INFO] [stdout] 158 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | DELETE FROM users [INFO] [stdout] 171 | | WHERE id = ? [INFO] [stdout] 172 | | "#, [INFO] [stdout] 173 | | user_id [INFO] [stdout] 174 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 188 | | r#" [INFO] [stdout] 189 | | UPDATE users [INFO] [stdout] 190 | | SET role = ?, updated_at = ? [INFO] [stdout] ... | [INFO] [stdout] 195 | | user_id [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 75 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 76 | | r#" [INFO] [stdout] 77 | | INSERT INTO users (username, password_hash, role, created_at) [INFO] [stdout] 78 | | VALUES (?, ?, ?, ?) [INFO] [stdout] ... | [INFO] [stdout] 83 | | now // Pass DateTime, sqlx maps it to TEXT [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | let exists: Option = sqlx::query_scalar!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 97 | | "SELECT 1 FROM users WHERE username = ? LIMIT 1", [INFO] [stdout] 98 | | username [INFO] [stdout] 99 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | let user = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 113 | | User, [INFO] [stdout] 114 | | r#" [INFO] [stdout] 115 | | SELECT id, username, password_hash, role, created_at, updated_at [INFO] [stdout] ... | [INFO] [stdout] 119 | | username [INFO] [stdout] 120 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | let user_response = sqlx::query_as!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 133 | | UserResponse, [INFO] [stdout] 134 | | r#" [INFO] [stdout] 135 | | SELECT id, username, role, created_at, updated_at -- Select only needed fields [INFO] [stdout] ... | [INFO] [stdout] 139 | | user_id [INFO] [stdout] 140 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | let users = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 152 | | UserResponse, [INFO] [stdout] 153 | | r#" [INFO] [stdout] 154 | | SELECT id, username, role, created_at, updated_at -- Select only needed fields [INFO] [stdout] ... | [INFO] [stdout] 157 | | "#, [INFO] [stdout] 158 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 169 | | r#" [INFO] [stdout] 170 | | DELETE FROM users [INFO] [stdout] 171 | | WHERE id = ? [INFO] [stdout] 172 | | "#, [INFO] [stdout] 173 | | user_id [INFO] [stdout] 174 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> src/db.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 187 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 188 | | r#" [INFO] [stdout] 189 | | UPDATE users [INFO] [stdout] 190 | | SET role = ?, updated_at = ? [INFO] [stdout] ... | [INFO] [stdout] 195 | | user_id [INFO] [stdout] 196 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_all_users` in this scope [INFO] [stdout] --> src/handlers/admin.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let users = get_all_users(&state.db_pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::db::get_all_users; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/handlers/web.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension` and `StatusCode` [INFO] [stdout] --> src/middleware.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | extract::{Extension, State}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | http::{HeaderMap, Request, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/models.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::AppError` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::error::AppError; // Import AppError for main's Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatusCode`, `extract::State`, and `response::IntoResponse` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | extract::State, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | http::{header, Method, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | Router, response::IntoResponse, // Import IntoResponse [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_all_users` in this scope [INFO] [stdout] --> src/handlers/admin.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let users = get_all_users(&state.db_pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use crate::db::get_all_users; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/handlers/web.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Extension` and `StatusCode` [INFO] [stdout] --> src/middleware.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | extract::{Extension, State}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | http::{HeaderMap, Request, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Utc` [INFO] [stdout] --> src/models.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::AppError` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::error::AppError; // Import AppError for main's Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StatusCode`, `extract::State`, and `response::IntoResponse` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | extract::State, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 | http::{header, Method, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | Router, response::IntoResponse, // Import IntoResponse [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `axum::http::Request` [INFO] [stdout] --> src/middleware.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | mut request: Request, [INFO] [stdout] | ^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-0.2.12/src/request.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Request { [INFO] [stdout] | ^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 46 | mut request: Request, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Next` [INFO] [stdout] --> src/middleware.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | next: Next, [INFO] [stdout] | ^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `B` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/middleware/from_fn.rs:328:12 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct Next { [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 47 | next: Next, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `axum::http::Request` [INFO] [stdout] --> src/middleware.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | request: Request, [INFO] [stdout] | ^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-0.2.12/src/request.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Request { [INFO] [stdout] | ^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 71 | request: Request, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Next` [INFO] [stdout] --> src/middleware.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | next: Next, [INFO] [stdout] | ^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `B` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/middleware/from_fn.rs:328:12 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct Next { [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 72 | next: Next, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `axum::http::Request` [INFO] [stdout] --> src/middleware.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | mut request: Request, [INFO] [stdout] | ^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-0.2.12/src/request.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Request { [INFO] [stdout] | ^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 46 | mut request: Request, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Next` [INFO] [stdout] --> src/middleware.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | next: Next, [INFO] [stdout] | ^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `B` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/middleware/from_fn.rs:328:12 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct Next { [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 47 | next: Next, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `axum::http::Request` [INFO] [stdout] --> src/middleware.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | request: Request, [INFO] [stdout] | ^^^^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/http-0.2.12/src/request.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct Request { [INFO] [stdout] | ^^^^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 71 | request: Request, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `Next` [INFO] [stdout] --> src/middleware.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | next: Next, [INFO] [stdout] | ^^^^ expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 generic parameter: `B` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/middleware/from_fn.rs:328:12 [INFO] [stdout] | [INFO] [stdout] 328 | pub struct Next { [INFO] [stdout] | ^^^^ - [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 72 | next: Next, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers/web.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn admin_users_page(State(state): State>) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/handlers/web.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn admin_users_page(State(state): State>) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(State, ..., ...) -> ... {add_user}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | .route("/add-user", post(admin::add_user)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State, Extension, Json<...>) -> ... {add_user}` [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] `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] `axum::handler::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.6.20/src/routing/method_routing.rs:407:1 [INFO] [stdout] | [INFO] [stdout] 407 | 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/auth_server_jacks-a5bc184d2a9b0a4b.long-type-9232951960657440820.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, ..., ...) -> ... {add_user}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | .route("/add-user", post(admin::add_user)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State, Extension, Json<...>) -> ... {add_user}` [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] `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] `axum::handler::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.6.20/src/routing/method_routing.rs:407:1 [INFO] [stdout] | [INFO] [stdout] 407 | 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/auth_server_jacks-51615163d33a68ac.long-type-17012019803700150594.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_users}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | .route("/users", get(admin::list_users)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State, Extension) -> ... {list_users}` [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] `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] `axum::handler::Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/auth_server_jacks-a5bc184d2a9b0a4b.long-type-10453204277530062081.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_users}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | .route("/users", get(admin::list_users)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State, Extension) -> ... {list_users}` [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] `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] `axum::handler::Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/auth_server_jacks-51615163d33a68ac.long-type-9636921899987359216.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, ..., ...) -> ... {get_user}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 96 | .route("/users/:user_id", get(admin::get_user)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State, Extension, Path) -> ... {get_user}` [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] `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] `axum::handler::Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/auth_server_jacks-51615163d33a68ac.long-type-5531079027824790823.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, ..., ...) -> ... {get_user}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:96:39 [INFO] [stdout] | [INFO] [stdout] 96 | .route("/users/:user_id", get(admin::get_user)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State, Extension, Path) -> ... {get_user}` [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] `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] `axum::handler::Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 403 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/auth_server_jacks-a5bc184d2a9b0a4b.long-type-5333588196746620454.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<...>, ..., ..., ...) -> ... {update_user}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | .route("/users/:user_id", patch(admin::update_user)) // Use patch for updates [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State, Extension, ..., ...) -> ... {update_user}` [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] `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] `axum::handler::Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `patch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:406:1 [INFO] [stdout] | [INFO] [stdout] 406 | top_level_handler_fn!(patch, PATCH); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `patch` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/auth_server_jacks-a5bc184d2a9b0a4b.long-type-17238260076428319252.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<...>, ..., ..., ...) -> ... {update_user}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:97:41 [INFO] [stdout] | [INFO] [stdout] 97 | .route("/users/:user_id", patch(admin::update_user)) // Use patch for updates [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State, Extension, ..., ...) -> ... {update_user}` [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] `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] `axum::handler::Layered` implements `Handler` [INFO] [stdout] note: required by a bound in `patch` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/method_routing.rs:406:1 [INFO] [stdout] | [INFO] [stdout] 406 | top_level_handler_fn!(patch, PATCH); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `patch` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/auth_server_jacks-51615163d33a68ac.long-type-13316868988943301199.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, ..., ...) -> ... {delete_user}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | .route("/users/:user_id", delete(admin::delete_user)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State, Extension, Path) -> ... {delete_user}` [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] `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] `axum::handler::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.6.20/src/routing/method_routing.rs:402:1 [INFO] [stdout] | [INFO] [stdout] 402 | top_level_handler_fn!(delete, DELETE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `delete` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/auth_server_jacks-a5bc184d2a9b0a4b.long-type-5656302391823082741.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, ..., ...) -> ... {delete_user}: Handler<_, _, _>` is not satisfied [INFO] [stdout] --> src/main.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | .route("/users/:user_id", delete(admin::delete_user)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _, _>` is not implemented for fn item `fn(State, Extension, Path) -> ... {delete_user}` [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] `MethodRouter` implements `Handler<(), S, B>` [INFO] [stdout] `axum::handler::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.6.20/src/routing/method_routing.rs:402:1 [INFO] [stdout] | [INFO] [stdout] 402 | top_level_handler_fn!(delete, DELETE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `delete` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/auth_server_jacks-51615163d33a68ac.long-type-2448370508671822458.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[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | .with_state(app_state); // Add AppState to all routes [INFO] [stdout] | ---------- ^^^^^^^^^ expected `AppState`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `AppState` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/mod.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn with_state(self, state: S) -> Router { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | .with_state(app_state); // Add AppState to all routes [INFO] [stdout] | ---------- ^^^^^^^^^ expected `AppState`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `AppState` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.6.20/src/routing/mod.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn with_state(self, state: S) -> Router { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `auth_server_jacks` (bin "auth_server_jacks" test) due to 20 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `auth_server_jacks` (bin "auth_server_jacks") due to 20 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b31965d93540f97fc417573a5c768e289b935e3bc990d2f480e8f40a7973b879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b31965d93540f97fc417573a5c768e289b935e3bc990d2f480e8f40a7973b879", kill_on_drop: false }` [INFO] [stdout] b31965d93540f97fc417573a5c768e289b935e3bc990d2f480e8f40a7973b879