[INFO] cloning repository https://github.com/kacper-preyzner/portfolio-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kacper-preyzner/portfolio-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacper-preyzner%2Fportfolio-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacper-preyzner%2Fportfolio-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3682ea62f103b533b48badee62b31900f5ea01fb [INFO] checking kacper-preyzner/portfolio-backend/3682ea62f103b533b48badee62b31900f5ea01fb against master#5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa for pr-149901 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkacper-preyzner%2Fportfolio-backend" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kacper-preyzner/portfolio-backend [INFO] finished tweaking git repo https://github.com/kacper-preyzner/portfolio-backend [INFO] tweaked toml for git repo https://github.com/kacper-preyzner/portfolio-backend written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kacper-preyzner/portfolio-backend on toolchain 5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kacper-preyzner/portfolio-backend 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" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jwt v0.16.0 [INFO] [stderr] Downloaded axum-util v0.2.2 [INFO] [stderr] Downloaded openid v0.11.1 [INFO] [stderr] Downloaded clap v4.5.35 [INFO] [stderr] Downloaded biscuit v0.5.0 [INFO] [stderr] Downloaded miniz_oxide v0.8.7 [INFO] [stderr] Downloaded clap_builder v4.5.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e5ef36a592a3e0654da83d934d5f77010d1945dcc1d7d1c8983b0657a8b76fa [INFO] running `Command { std: "docker" "start" "-a" "0e5ef36a592a3e0654da83d934d5f77010d1945dcc1d7d1c8983b0657a8b76fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e5ef36a592a3e0654da83d934d5f77010d1945dcc1d7d1c8983b0657a8b76fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e5ef36a592a3e0654da83d934d5f77010d1945dcc1d7d1c8983b0657a8b76fa", kill_on_drop: false }` [INFO] [stdout] 0e5ef36a592a3e0654da83d934d5f77010d1945dcc1d7d1c8983b0657a8b76fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+5b150d238fbd4fe7bc2cd3140d8e6fb4406099fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29cec3e939851daa124c0bb4dade9c037d86e5de2adc998e31d6de68640a4a34 [INFO] running `Command { std: "docker" "start" "-a" "29cec3e939851daa124c0bb4dade9c037d86e5de2adc998e31d6de68640a4a34", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling rustix v1.0.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking base64ct v1.7.3 [INFO] [stderr] Checking clap_builder v4.5.35 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling validator_derive v0.15.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 serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking clap v4.5.35 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking biscuit v0.5.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking axum v0.8.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] Checking url v2.5.4 [INFO] [stderr] Checking sqlx-core v0.8.3 [INFO] [stderr] Checking validator v0.15.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking sqlx-sqlite v0.8.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Checking openid v0.11.1 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking axum-util v0.2.2 [INFO] [stderr] Checking portfolio-backend 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/commands.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let admin = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 11 | | Admin, [INFO] [stdout] 12 | | "INSERT into admins (name, email, login, password) VALUES (?, ?, ?, ?) RETURNING *", [INFO] [stdout] 13 | | create_admin.name, [INFO] [stdout] ... | [INFO] [stdout] 16 | | password, [INFO] [stdout] 17 | | ) [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/commands.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let admin = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 11 | | Admin, [INFO] [stdout] 12 | | "INSERT into admins (name, email, login, password) VALUES (?, ?, ?, ?) RETURNING *", [INFO] [stdout] 13 | | create_admin.name, [INFO] [stdout] ... | [INFO] [stdout] 16 | | password, [INFO] [stdout] 17 | | ) [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.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let messages = sqlx::query_as!(Message, "SELECT * from messages") [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.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let messages = sqlx::query_as!(Message, "SELECT * from messages") [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.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let messages = sqlx::query_as!(Message, "SELECT * from messages") [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.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let message = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | Message, [INFO] [stdout] 31 | | "INSERT INTO messages (name, email, topic, message) VALUES (?, ?, ?, ?) RETURNING *", [INFO] [stdout] 32 | | create_message.name, [INFO] [stdout] ... | [INFO] [stdout] 35 | | create_message.message, [INFO] [stdout] 36 | | ) [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.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let message = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | Message, [INFO] [stdout] 31 | | "INSERT INTO messages (name, email, topic, message) VALUES (?, ?, ?, ?) RETURNING *", [INFO] [stdout] 32 | | create_message.name, [INFO] [stdout] ... | [INFO] [stdout] 35 | | create_message.message, [INFO] [stdout] 36 | | ) [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.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let message = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | Message, [INFO] [stdout] 31 | | "INSERT INTO messages (name, email, topic, message) VALUES (?, ?, ?, ?) RETURNING *", [INFO] [stdout] 32 | | create_message.name, [INFO] [stdout] ... | [INFO] [stdout] 35 | | create_message.message, [INFO] [stdout] 36 | | ) [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.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let admin = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 49 | | Admin, [INFO] [stdout] 50 | | "SELECT id, name, email, login, password, created_at FROM admins WHERE login = (?)", [INFO] [stdout] 51 | | login_request.login, [INFO] [stdout] 52 | | ) [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/jwt_subject.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let admin = sqlx::query_as!(Admin, "SELECT * from admins WHERE id = (?)", id) [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.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let messages = sqlx::query_as!(Message, "SELECT * from messages") [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.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let messages = sqlx::query_as!(Message, "SELECT * from messages") [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.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let messages = sqlx::query_as!(Message, "SELECT * from messages") [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.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let message = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | Message, [INFO] [stdout] 31 | | "INSERT INTO messages (name, email, topic, message) VALUES (?, ?, ?, ?) RETURNING *", [INFO] [stdout] 32 | | create_message.name, [INFO] [stdout] ... | [INFO] [stdout] 35 | | create_message.message, [INFO] [stdout] 36 | | ) [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.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let message = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | Message, [INFO] [stdout] 31 | | "INSERT INTO messages (name, email, topic, message) VALUES (?, ?, ?, ?) RETURNING *", [INFO] [stdout] 32 | | create_message.name, [INFO] [stdout] ... | [INFO] [stdout] 35 | | create_message.message, [INFO] [stdout] 36 | | ) [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.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let message = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | Message, [INFO] [stdout] 31 | | "INSERT INTO messages (name, email, topic, message) VALUES (?, ?, ?, ?) RETURNING *", [INFO] [stdout] 32 | | create_message.name, [INFO] [stdout] ... | [INFO] [stdout] 35 | | create_message.message, [INFO] [stdout] 36 | | ) [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.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let admin = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 49 | | Admin, [INFO] [stdout] 50 | | "SELECT id, name, email, login, password, created_at FROM admins WHERE login = (?)", [INFO] [stdout] 51 | | login_request.login, [INFO] [stdout] 52 | | ) [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/jwt_subject.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let admin = sqlx::query_as!(Admin, "SELECT * from admins WHERE id = (?)", id) [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/jwt_subject.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | let admin_orginal = sqlx::query_as!(Admin, "SELECT * from admins WHERE id = (?)", id) [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/jwt_subject.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let admin = sqlx::query_as!(Admin, "SELECT * from admins WHERE id = (?)", id) [INFO] [stdout] | _____________________^ [INFO] [stdout] 36 | | .fetch_one(pool) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/jwt_subject.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let admin = sqlx::query_as!(Admin, "SELECT * from admins WHERE id = (?)", id) [INFO] [stdout] | _____________________^ [INFO] [stdout] 36 | | .fetch_one(pool) [INFO] [stdout] 37 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let messages = sqlx::query_as!(Message, "SELECT * from messages") [INFO] [stdout] | ____________________^ [INFO] [stdout] 18 | | .fetch_all(pool) [INFO] [stdout] 19 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | let messages = sqlx::query_as!(Message, "SELECT * from messages") [INFO] [stdout] | ____________________^ [INFO] [stdout] 18 | | .fetch_all(pool) [INFO] [stdout] 19 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let message = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | Message, [INFO] [stdout] 31 | | "INSERT INTO messages (name, email, topic, message) VALUES (?, ?, ?, ?) RETURNING *", [INFO] [stdout] 32 | | create_message.name, [INFO] [stdout] ... | [INFO] [stdout] 37 | | .fetch_one(pool) [INFO] [stdout] 38 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let message = sqlx::query_as!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | Message, [INFO] [stdout] 31 | | "INSERT INTO messages (name, email, topic, message) VALUES (?, ?, ?, ?) RETURNING *", [INFO] [stdout] 32 | | create_message.name, [INFO] [stdout] ... | [INFO] [stdout] 37 | | .fetch_one(pool) [INFO] [stdout] 38 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let admin = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 49 | | Admin, [INFO] [stdout] 50 | | "SELECT id, name, email, login, password, created_at FROM admins WHERE login = (?)", [INFO] [stdout] 51 | | login_request.login, [INFO] [stdout] 52 | | ) [INFO] [stdout] 53 | | .fetch_one(pool) [INFO] [stdout] 54 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/handlers.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let admin = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 49 | | Admin, [INFO] [stdout] 50 | | "SELECT id, name, email, login, password, created_at FROM admins WHERE login = (?)", [INFO] [stdout] 51 | | login_request.login, [INFO] [stdout] 52 | | ) [INFO] [stdout] 53 | | .fetch_one(pool) [INFO] [stdout] 54 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/jwt_subject.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | let admin_orginal = sqlx::query_as!(Admin, "SELECT * from admins WHERE id = (?)", id) [INFO] [stdout] | _____________________________^ [INFO] [stdout] 52 | | .fetch_one(pool) [INFO] [stdout] 53 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `portfolio-backend` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `portfolio-backend` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "29cec3e939851daa124c0bb4dade9c037d86e5de2adc998e31d6de68640a4a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29cec3e939851daa124c0bb4dade9c037d86e5de2adc998e31d6de68640a4a34", kill_on_drop: false }` [INFO] [stdout] 29cec3e939851daa124c0bb4dade9c037d86e5de2adc998e31d6de68640a4a34