[INFO] cloning repository https://github.com/Sbsouhail/top-restaurant-api-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sbsouhail/top-restaurant-api-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSbsouhail%2Ftop-restaurant-api-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSbsouhail%2Ftop-restaurant-api-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 57636e1e44c187cecaca235638cc07e7b7ab5d37
[INFO] documenting Sbsouhail/top-restaurant-api-rust against 1.75.0 for beta-1.76-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSbsouhail%2Ftop-restaurant-api-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Sbsouhail/top-restaurant-api-rust on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Sbsouhail/top-restaurant-api-rust
[INFO] finished tweaking git repo https://github.com/Sbsouhail/top-restaurant-api-rust
[INFO] tweaked toml for git repo https://github.com/Sbsouhail/top-restaurant-api-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Sbsouhail/top-restaurant-api-rust 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded async-trait v0.1.75
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ecbf8026a52bc72c04474c6e1f58132b22eb4378ec7ebe4300f20a09bab3df58
[INFO] running `Command { std: "docker" "start" "-a" "ecbf8026a52bc72c04474c6e1f58132b22eb4378ec7ebe4300f20a09bab3df58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ecbf8026a52bc72c04474c6e1f58132b22eb4378ec7ebe4300f20a09bab3df58", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ecbf8026a52bc72c04474c6e1f58132b22eb4378ec7ebe4300f20a09bab3df58", kill_on_drop: false }`
[INFO] [stdout] ecbf8026a52bc72c04474c6e1f58132b22eb4378ec7ebe4300f20a09bab3df58
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a3f0575685f36ec45d9604f43b97596213337e3c1961d70ecd295528564d42cb
[INFO] running `Command { std: "docker" "start" "-a" "a3f0575685f36ec45d9604f43b97596213337e3c1961d70ecd295528564d42cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.71
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.151
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling serde v1.0.193
[INFO] [stderr]    Compiling ahash v0.8.6
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking memchr v2.6.4
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling crossbeam-utils v0.8.18
[INFO] [stderr]    Compiling serde_json v1.0.108
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]    Compiling thiserror v1.0.51
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]     Checking http v1.0.0
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking cpufeatures v0.2.11
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling bitflags v2.4.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.14
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling syn v2.0.43
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling base64 v0.21.5
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling rustix v0.38.28
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.10
[INFO] [stderr]    Compiling ring v0.17.7
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling linux-raw-sys v0.4.12
[INFO] [stderr]    Compiling webpki-roots v0.25.3
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling stringprep v0.1.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]    Compiling whoami v1.4.1
[INFO] [stderr]    Compiling async-trait v0.1.75
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking http-body-util v0.1.0
[INFO] [stderr]    Compiling axum-core v0.4.1
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]    Compiling axum v0.7.2
[INFO] [stderr]    Compiling atomic-write-file v0.1.2
[INFO] [stderr]     Checking crypto-mac v0.10.1
[INFO] [stderr]     Checking cipher v0.2.5
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking blowfish v0.7.0
[INFO] [stderr]     Checking hmac v0.10.1
[INFO] [stderr]     Checking sha-1 v0.9.8
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking md-5 v0.9.1
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking http-range-header v0.4.0
[INFO] [stderr]     Checking iana-time-zone v0.1.58
[INFO] [stderr]     Checking pwhash v1.0.0
[INFO] [stderr]    Compiling tempfile v3.8.1
[INFO] [stderr]     Checking chrono v0.4.31
[INFO] [stderr]    Compiling serde_derive v1.0.193
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.51
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]     Checking regex-automata v0.4.3
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking regex v1.10.2
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking h2 v0.4.0
[INFO] [stderr]     Checking tower-http v0.5.0
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.14
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking itertools v0.12.0
[INFO] [stderr]     Checking jsonwebtoken v9.2.0
[INFO] [stderr]     Checking sqlformat v0.2.3
[INFO] [stderr]     Checking sqlx-core v0.7.3
[INFO] [stderr]     Checking hyper v1.1.0
[INFO] [stderr]     Checking hyper-util v0.1.2
[INFO] [stderr]     Checking sqlx-postgres v0.7.3
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.3
[INFO] [stderr]    Compiling sqlx-macros v0.7.3
[INFO] [stderr]     Checking sqlx v0.7.3
[INFO] [stderr]  Documenting first-api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/common/auth_middleware.rs:26:27
[INFO] [stdout]    |
[INFO] [stdout] 26 |   ...   let res = sqlx::query_as!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 27 | | ...       User,
[INFO] [stdout] 28 | | ...       "SELECT email,name,last_name,user_id,role,status,email_validated from users where user_id = $1 AND (status = 'Accepted' OR role...
[INFO] [stdout] 29 | | ...       claims.sub
[INFO] [stdout] 30 | | ...   )
[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/modules/auth/auth_controller.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let res = sqlx::query_as!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 22 | |         UserModel,
[INFO] [stdout] 23 | |         "SELECT email,password_hash,user_id,role,email_validated from users where email=$1 AND role = 'User'",
[INFO] [stdout] 24 | |         login_dto.email
[INFO] [stdout] 25 | |     )
[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/modules/auth/auth_controller.rs:66:15
[INFO] [stdout]    |
[INFO] [stdout] 66 |       let res = sqlx::query_as!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 67 | |         UserModel,
[INFO] [stdout] 68 | |         "SELECT email,password_hash,user_id,role,email_validated from users where email=$1 AND role IN ('RestaurantOwner','Admin')",
[INFO] [stdout] 69 | |         login_dto.email
[INFO] [stdout] 70 | |     )
[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/modules/auth/auth_controller.rs:111:15
[INFO] [stdout]     |
[INFO] [stdout] 111 |       let res = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 112 | |         User,
[INFO] [stdout] 113 | |         "SELECT user_id, name, last_name, email, role, status ,email_validated
[INFO] [stdout] 114 | |         FROM users
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |         register_user_dto.email
[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/modules/auth/auth_controller.rs:132:15
[INFO] [stdout]     |
[INFO] [stdout] 132 |       let res = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 133 | |         User,
[INFO] [stdout] 134 | |         "INSERT INTO users (name,last_name,email,password_hash,role) VALUES ($1,$2,$3,$4,$5) RETURNING user_id,name,last_name,email,role,...
[INFO] [stdout] 135 | |         register_user_dto.name,
[INFO] [stdout] ...   |
[INFO] [stdout] 139 | |         "User"
[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/modules/auth/auth_controller.rs:172:15
[INFO] [stdout]     |
[INFO] [stdout] 172 |       let res = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 173 | |         User,
[INFO] [stdout] 174 | |         "SELECT user_id, name, last_name, email, role, email_validated,status
[INFO] [stdout] 175 | |         FROM users
[INFO] [stdout] ...   |
[INFO] [stdout] 180 | |         register_user_dto.email
[INFO] [stdout] 181 | |     )
[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/modules/auth/auth_controller.rs:193:15
[INFO] [stdout]     |
[INFO] [stdout] 193 |       let res = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 194 | |         User,
[INFO] [stdout] 195 | |         "INSERT INTO users (name,last_name,email,password_hash,role) VALUES ($1,$2,$3,$4,$5) RETURNING user_id,name,last_name,email,role,...
[INFO] [stdout] 196 | |         register_user_dto.name,
[INFO] [stdout] ...   |
[INFO] [stdout] 200 | |         "RestaurantOwner"
[INFO] [stdout] 201 | |     )
[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/modules/restaurants/restaurants_controller.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |       let res = sqlx::query_as!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 25 | |         RestaurantUser,
[INFO] [stdout] 26 | |         "SELECT 
[INFO] [stdout] 27 | |         restaurants.restaurant_id, 
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | |         offset
[INFO] [stdout] 38 | |     )
[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/modules/restaurants/restaurants_controller.rs:42:28
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let count: i64 = match sqlx::query_scalar!("SELECT COUNT (restaurant_id) FROM restaurants",)
[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/modules/restaurants/restaurants_controller.rs:72:15
[INFO] [stdout]    |
[INFO] [stdout] 72 |       let res = sqlx::query_as!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 73 | |         Restaurant,
[INFO] [stdout] 74 | |         "SELECT restaurant_id,name,user_id,location,cover_image_uri from restaurants where user_id = $1 LIMIT $2 OFFSET $3",
[INFO] [stdout] 75 | |         current_user.user_id,
[INFO] [stdout] 76 | |         page_size,
[INFO] [stdout] 77 | |         offset
[INFO] [stdout] 78 | |     )
[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/modules/restaurants/restaurants_controller.rs:82:28
[INFO] [stdout]    |
[INFO] [stdout] 82 |       let count: i64 = match sqlx::query_scalar!(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 83 | |         "SELECT COUNT (restaurant_id) FROM restaurants where user_id = $1",
[INFO] [stdout] 84 | |         current_user.user_id
[INFO] [stdout] 85 | |     )
[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/modules/restaurants/restaurants_controller.rs:113:15
[INFO] [stdout]     |
[INFO] [stdout] 113 |       let res = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 114 | |         Restaurant,
[INFO] [stdout] 115 | |         "INSERT INTO restaurants (name,user_id,location,cover_image_uri) VALUES ($1,$2,$3,$4) RETURNING restaurant_id,name,user_id,locati...
[INFO] [stdout] 116 | |         create_restaurant_dto.name,
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |         create_restaurant_dto.cover_image_uri
[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/modules/restaurants/restaurants_controller.rs:137:15
[INFO] [stdout]     |
[INFO] [stdout] 137 |       let res = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 138 | |         Restaurant,
[INFO] [stdout] 139 | |         "SELECT restaurant_id,name,user_id,location,cover_image_uri from restaurants where restaurant_id = $1",
[INFO] [stdout] 140 | |         restaurant_id,
[INFO] [stdout] 141 | |     )
[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/modules/restaurants/restaurants_controller.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 | /             sqlx::query_as!(
[INFO] [stdout] 162 | |                 Restaurant,
[INFO] [stdout] 163 | |                 "DELETE FROM restaurants Where restaurant_id = $1 RETURNING restaurant_id,name,user_id,location,cover_image_uri",
[INFO] [stdout] 164 | |                 restaurant_id
[INFO] [stdout] 165 | |             )
[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/modules/restaurants/restaurants_controller.rs:170:14
[INFO] [stdout]     |
[INFO] [stdout] 170 |   ...   _ => sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout] 171 | | ...       Restaurant,
[INFO] [stdout] 172 | | ...       "DELETE FROM restaurants Where restaurant_id = $1 and user_id = $2 RETURNING restaurant_id,name,user_id,location,cover_image_uri",
[INFO] [stdout] 173 | | ...       restaurant_id,
[INFO] [stdout] 174 | | ...       current_user.user_id
[INFO] [stdout] 175 | | ...   )
[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/modules/users/users_controller.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 |       let res = sqlx::query_as!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 25 | |         User,
[INFO] [stdout] 26 | |         "SELECT user_id,name,last_name,email,role,status,email_validated from users where role=$1 LIMIT $2 OFFSET $3",
[INFO] [stdout] 27 | |         // filters_input.status,
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |         offset
[INFO] [stdout] 31 | |     )
[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/modules/users/users_controller.rs:35:28
[INFO] [stdout]    |
[INFO] [stdout] 35 |       let count: i64 = match sqlx::query_scalar!(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 36 | |         "SELECT COUNT (user_id) FROM users where status=$1 AND role=$2",
[INFO] [stdout] 37 | |         filters_input.status,
[INFO] [stdout] 38 | |         filters_input.role,
[INFO] [stdout] 39 | |     )
[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/modules/users/users_controller.rs:66:15
[INFO] [stdout]    |
[INFO] [stdout] 66 |       let res = sqlx::query_as!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 67 | |         User,
[INFO] [stdout] 68 | |         "SELECT user_id,name,last_name,email,role,status,email_validated from users where user_id = $1",
[INFO] [stdout] 69 | |         current_user.user_id
[INFO] [stdout] 70 | |     )
[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/modules/users/users_controller.rs:87:15
[INFO] [stdout]    |
[INFO] [stdout] 87 |       let res = sqlx::query_as!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 88 | |         User,
[INFO] [stdout] 89 | |         "SELECT user_id,name,last_name,email,role,status,email_validated from users where user_id = $1 AND role = 'RestaurantOwner'",
[INFO] [stdout] 90 | |         user_id
[INFO] [stdout] 91 | |     )
[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/modules/users/users_controller.rs:99:31
[INFO] [stdout]     |
[INFO] [stdout] 99  |   ...   let res = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 100 | | ...       User,
[INFO] [stdout] 101 | | ...       "UPDATE users SET status = 'Accepted' WHERE user_id = $1 RETURNING user_id,name,last_name,email,role,status,email_validated ",
[INFO] [stdout] 102 | | ...       user_id
[INFO] [stdout] 103 | | ...   )
[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/modules/users/users_controller.rs:129:15
[INFO] [stdout]     |
[INFO] [stdout] 129 |       let res = sqlx::query_as!(
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 130 | |         User,
[INFO] [stdout] 131 | |         "SELECT user_id,name,last_name,email,role,status,email_validated from users where user_id = $1 AND role = 'RestaurantOwner'",
[INFO] [stdout] 132 | |         user_id
[INFO] [stdout] 133 | |     )
[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/modules/users/users_controller.rs:141:31
[INFO] [stdout]     |
[INFO] [stdout] 141 |   ...   let res = sqlx::query_as!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 142 | | ...       User,
[INFO] [stdout] 143 | | ...       "UPDATE users SET status = 'Blocked' WHERE user_id = $1 RETURNING user_id,name,last_name,email,role,status,email_validated ",
[INFO] [stdout] 144 | | ...       user_id
[INFO] [stdout] 145 | | ...   )
[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/main.rs:72:15
[INFO] [stdout]    |
[INFO] [stdout] 72 |       let res = sqlx::query_as!(
[INFO] [stdout]    |  _______________^
[INFO] [stdout] 73 | |         User,
[INFO] [stdout] 74 | |         "INSERT INTO users (name,last_name,email,password_hash,role) VALUES ($1,$2,$3,$4,$5) RETURNING user_id,name,last_name,email,role,...
[INFO] [stdout] 75 | |         "Souhail",
[INFO] [stdout] ...  |
[INFO] [stdout] 79 | |         "Admin"
[INFO] [stdout] 80 | |     )
[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: aborting due to 23 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not document `first-api`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.75.0-x86_64-unknown-linux-gnu/bin/rustdoc --edition=2021 --crate-type bin --crate-name first_api src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=8362f514c24aba93 -L dependency=/opt/rustwide/target/debug/deps --extern axum=/opt/rustwide/target/debug/deps/libaxum-0d912b3962808597.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-5fe33804605a7da6.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-5c7b155fb9ea380a.rmeta --extern jsonwebtoken=/opt/rustwide/target/debug/deps/libjsonwebtoken-3d5c9beac371fb4e.rmeta --extern pwhash=/opt/rustwide/target/debug/deps/libpwhash-2d7071782088b0c2.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-7cd2818ff2ddcf7a.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-73b6f11ba334d929.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-a1a69726d7f31fa6.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-42e5116a08ab1f16.rmeta --extern tower_http=/opt/rustwide/target/debug/deps/libtower_http-0b0ec32eba349224.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-8d9fc5cb66e3b81f.rmeta --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-d4101b1e5b3c9535.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "a3f0575685f36ec45d9604f43b97596213337e3c1961d70ecd295528564d42cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3f0575685f36ec45d9604f43b97596213337e3c1961d70ecd295528564d42cb", kill_on_drop: false }`
[INFO] [stdout] a3f0575685f36ec45d9604f43b97596213337e3c1961d70ecd295528564d42cb
