[INFO] cloning repository https://github.com/1o0n1/cyb3ria2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1o0n1/cyb3ria2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1o0n1%2Fcyb3ria2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1o0n1%2Fcyb3ria2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6a271075c51b83a217159f241fb524ec6c0df35b
[INFO] checking 1o0n1/cyb3ria2 against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1o0n1%2Fcyb3ria2" "/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/1o0n1/cyb3ria2
[INFO] finished tweaking git repo https://github.com/1o0n1/cyb3ria2
[INFO] tweaked toml for git repo https://github.com/1o0n1/cyb3ria2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/1o0n1/cyb3ria2 on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/1o0n1/cyb3ria2 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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 312cfa9bce418296c6a0d8aded4c1ec2fd0022516a0511adf98170328ec0d960
[INFO] running `Command { std: "docker" "start" "-a" "312cfa9bce418296c6a0d8aded4c1ec2fd0022516a0511adf98170328ec0d960", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "312cfa9bce418296c6a0d8aded4c1ec2fd0022516a0511adf98170328ec0d960", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "312cfa9bce418296c6a0d8aded4c1ec2fd0022516a0511adf98170328ec0d960", kill_on_drop: false }`
[INFO] [stdout] 312cfa9bce418296c6a0d8aded4c1ec2fd0022516a0511adf98170328ec0d960
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb4dae53cf247d7e9255e416f58b8862c01df3c2dfc23ad4800d9a548b042432
[INFO] running `Command { std: "docker" "start" "-a" "fb4dae53cf247d7e9255e416f58b8862c01df3c2dfc23ad4800d9a548b042432", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling rustls v0.23.29
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking tokio v1.47.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling rustls-webpki v0.103.4
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]    Compiling validator_types v0.16.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling if_chain v1.0.2
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking hyper-util v0.1.16
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking idna v0.4.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]    Compiling cyb3ria v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking env_logger v0.9.3
[INFO] [stderr]    Compiling validator_derive v0.16.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking validator v0.16.1
[INFO] [stderr]     Checking axum v0.8.4
[INFO] [stderr]     Checking sqlx-postgres v0.8.6
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/handlers/user_handler.rs:81:23
[INFO] [stdout]    |
[INFO] [stdout] 81 |       let new_user_id = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 82 | |         "INSERT INTO users (username, email, password_hash, public_key) VALUES ($1, $2, $3, $4) RETURNING id",
[INFO] [stdout] 83 | |          payload.username,
[INFO] [stdout] 84 | |         payload.email,
[INFO] [stdout] 85 | |         password_hash,
[INFO] [stdout] 86 | |         payload.public_key
[INFO] [stdout] 87 | |     )
[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/handlers/user_handler.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |       let user = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 95 | |         User,
[INFO] [stdout] 96 | |         "SELECT * FROM users WHERE id = $1",
[INFO] [stdout] 97 | |         new_user_id
[INFO] [stdout] 98 | |     )
[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/handlers/user_handler.rs:111:16
[INFO] [stdout]     |
[INFO] [stdout] 111 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 112 | |         User,
[INFO] [stdout] 113 | |         "SELECT * FROM users WHERE id = $1",
[INFO] [stdout] 114 | |         id
[INFO] [stdout] 115 | |     )
[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/handlers/user_handler.rs:141:16
[INFO] [stdout]     |
[INFO] [stdout] 141 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 142 | |         User,
[INFO] [stdout] 143 | |         "SELECT * FROM users WHERE email = $1",
[INFO] [stdout] 144 | |         payload.email
[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/handlers/message_handler.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let message = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 28 | |         Message,
[INFO] [stdout] 29 | |         "INSERT INTO messages (user_id, content) VALUES ($1, $2) RETURNING *",
[INFO] [stdout] 30 | |         user_id, // <-- Используем ID из расширений
[INFO] [stdout] 31 | |         payload.content
[INFO] [stdout] 32 | |     )
[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/handlers/message_handler.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let message = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 28 | |         Message,
[INFO] [stdout] 29 | |         "INSERT INTO messages (user_id, content) VALUES ($1, $2) RETURNING *",
[INFO] [stdout] 30 | |         user_id, // <-- Используем ID из расширений
[INFO] [stdout] 31 | |         payload.content
[INFO] [stdout] 32 | |     )
[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/handlers/message_handler.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let message = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 28 | |         Message,
[INFO] [stdout] 29 | |         "INSERT INTO messages (user_id, content) VALUES ($1, $2) RETURNING *",
[INFO] [stdout] 30 | |         user_id, // <-- Используем ID из расширений
[INFO] [stdout] 31 | |         payload.content
[INFO] [stdout] 32 | |     )
[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/handlers/message_handler.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |       let message = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 45 | |         Message,
[INFO] [stdout] 46 | |         "SELECT * FROM messages WHERE id = $1",
[INFO] [stdout] 47 | |         id
[INFO] [stdout] 48 | |     )
[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/handlers/discussion_handler.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |       let discussion = sqlx::query_as!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 26 | |         Discussion,
[INFO] [stdout] 27 | |         "INSERT INTO discussions (title, author_id) VALUES ($1, $2) RETURNING *",
[INFO] [stdout] 28 | |         payload.title,
[INFO] [stdout] 29 | |         user_id // <-- Используем проверенный ID
[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/handlers/discussion_handler.rs:41:22
[INFO] [stdout]    |
[INFO] [stdout] 41 |       let discussion = sqlx::query_as!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 42 | |         Discussion,
[INFO] [stdout] 43 | |         "SELECT * FROM discussions WHERE id = $1",
[INFO] [stdout] 44 | |         id
[INFO] [stdout] 45 | |     )
[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/handlers/comment_handler.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |       let comment = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 25 | |         Comment,
[INFO] [stdout] 26 | |         "INSERT INTO comments (discussion_id, author_id, content) VALUES ($1, $2, $3) RETURNING *",
[INFO] [stdout] 27 | |         payload.discussion_id,
[INFO] [stdout] 28 | |         user_id, // <-- ИСПОЛЬЗУЕМ безопасный ID из токена
[INFO] [stdout] 29 | |         payload.content
[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/handlers/comment_handler.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |       let comment = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 42 | |         Comment,
[INFO] [stdout] 43 | |         "SELECT * FROM comments WHERE id = $1",
[INFO] [stdout] 44 | |         id
[INFO] [stdout] 45 | |     )
[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/handlers/user_handler.rs:81:23
[INFO] [stdout]    |
[INFO] [stdout] 81 |       let new_user_id = sqlx::query!(
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 82 | |         "INSERT INTO users (username, email, password_hash, public_key) VALUES ($1, $2, $3, $4) RETURNING id",
[INFO] [stdout] 83 | |          payload.username,
[INFO] [stdout] 84 | |         payload.email,
[INFO] [stdout] 85 | |         password_hash,
[INFO] [stdout] 86 | |         payload.public_key
[INFO] [stdout] 87 | |     )
[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/handlers/user_handler.rs:94:16
[INFO] [stdout]    |
[INFO] [stdout] 94 |       let user = sqlx::query_as!(
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 95 | |         User,
[INFO] [stdout] 96 | |         "SELECT * FROM users WHERE id = $1",
[INFO] [stdout] 97 | |         new_user_id
[INFO] [stdout] 98 | |     )
[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/handlers/user_handler.rs:111:16
[INFO] [stdout]     |
[INFO] [stdout] 111 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 112 | |         User,
[INFO] [stdout] 113 | |         "SELECT * FROM users WHERE id = $1",
[INFO] [stdout] 114 | |         id
[INFO] [stdout] 115 | |     )
[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/handlers/user_handler.rs:141:16
[INFO] [stdout]     |
[INFO] [stdout] 141 |       let user = sqlx::query_as!(
[INFO] [stdout]     |  ________________^
[INFO] [stdout] 142 | |         User,
[INFO] [stdout] 143 | |         "SELECT * FROM users WHERE email = $1",
[INFO] [stdout] 144 | |         payload.email
[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/handlers/message_handler.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let message = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 28 | |         Message,
[INFO] [stdout] 29 | |         "INSERT INTO messages (user_id, content) VALUES ($1, $2) RETURNING *",
[INFO] [stdout] 30 | |         user_id, // <-- Используем ID из расширений
[INFO] [stdout] 31 | |         payload.content
[INFO] [stdout] 32 | |     )
[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/handlers/message_handler.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let message = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 28 | |         Message,
[INFO] [stdout] 29 | |         "INSERT INTO messages (user_id, content) VALUES ($1, $2) RETURNING *",
[INFO] [stdout] 30 | |         user_id, // <-- Используем ID из расширений
[INFO] [stdout] 31 | |         payload.content
[INFO] [stdout] 32 | |     )
[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/handlers/message_handler.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |       let message = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 28 | |         Message,
[INFO] [stdout] 29 | |         "INSERT INTO messages (user_id, content) VALUES ($1, $2) RETURNING *",
[INFO] [stdout] 30 | |         user_id, // <-- Используем ID из расширений
[INFO] [stdout] 31 | |         payload.content
[INFO] [stdout] 32 | |     )
[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/handlers/message_handler.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |       let message = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 45 | |         Message,
[INFO] [stdout] 46 | |         "SELECT * FROM messages WHERE id = $1",
[INFO] [stdout] 47 | |         id
[INFO] [stdout] 48 | |     )
[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/handlers/discussion_handler.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |       let discussion = sqlx::query_as!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 26 | |         Discussion,
[INFO] [stdout] 27 | |         "INSERT INTO discussions (title, author_id) VALUES ($1, $2) RETURNING *",
[INFO] [stdout] 28 | |         payload.title,
[INFO] [stdout] 29 | |         user_id // <-- Используем проверенный ID
[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/handlers/discussion_handler.rs:41:22
[INFO] [stdout]    |
[INFO] [stdout] 41 |       let discussion = sqlx::query_as!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 42 | |         Discussion,
[INFO] [stdout] 43 | |         "SELECT * FROM discussions WHERE id = $1",
[INFO] [stdout] 44 | |         id
[INFO] [stdout] 45 | |     )
[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/handlers/comment_handler.rs:24:19
[INFO] [stdout]    |
[INFO] [stdout] 24 |       let comment = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 25 | |         Comment,
[INFO] [stdout] 26 | |         "INSERT INTO comments (discussion_id, author_id, content) VALUES ($1, $2, $3) RETURNING *",
[INFO] [stdout] 27 | |         payload.discussion_id,
[INFO] [stdout] 28 | |         user_id, // <-- ИСПОЛЬЗУЕМ безопасный ID из токена
[INFO] [stdout] 29 | |         payload.content
[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/handlers/comment_handler.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |       let comment = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 42 | |         Comment,
[INFO] [stdout] 43 | |         "SELECT * FROM comments WHERE id = $1",
[INFO] [stdout] 44 | |         id
[INFO] [stdout] 45 | |     )
[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[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/user_handler.rs:148:6
[INFO] [stdout]     |
[INFO] [stdout] 148 |     .ok_or(AppError::InvalidCredentials)?;
[INFO] [stdout]     |      ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/handlers/user_handler.rs:148:6
[INFO] [stdout]     |
[INFO] [stdout] 148 |     .ok_or(AppError::InvalidCredentials)?;
[INFO] [stdout]     |      ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cyb3ria` (bin "cyb3ria") due to 13 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cyb3ria` (bin "cyb3ria" test) due to 13 previous errors
[INFO] running `Command { std: "docker" "inspect" "fb4dae53cf247d7e9255e416f58b8862c01df3c2dfc23ad4800d9a548b042432", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb4dae53cf247d7e9255e416f58b8862c01df3c2dfc23ad4800d9a548b042432", kill_on_drop: false }`
[INFO] [stdout] fb4dae53cf247d7e9255e416f58b8862c01df3c2dfc23ad4800d9a548b042432
