[INFO] cloning repository https://github.com/WeiNyn/practice_checklist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WeiNyn/practice_checklist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeiNyn%2Fpractice_checklist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeiNyn%2Fpractice_checklist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b509132f5c7b47c1d53c7b1268893f77cb4c75a1 [INFO] checking WeiNyn/practice_checklist against try#e983148bd5f0f0db270bfb72149f5e892e68b67f for pr-150322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeiNyn%2Fpractice_checklist" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WeiNyn/practice_checklist [INFO] finished tweaking git repo https://github.com/WeiNyn/practice_checklist [INFO] tweaked toml for git repo https://github.com/WeiNyn/practice_checklist written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WeiNyn/practice_checklist on toolchain e983148bd5f0f0db270bfb72149f5e892e68b67f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WeiNyn/practice_checklist 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" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.25.0 [INFO] [stderr] Downloaded base-62 v0.1.1 [INFO] [stderr] Downloaded rstest_macros v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21147aa68323bb3924d4b32a635d5d5fb988bf0b2cfc5699f11d827f8c5f1492 [INFO] running `Command { std: "docker" "start" "-a" "21147aa68323bb3924d4b32a635d5d5fb988bf0b2cfc5699f11d827f8c5f1492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21147aa68323bb3924d4b32a635d5d5fb988bf0b2cfc5699f11d827f8c5f1492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21147aa68323bb3924d4b32a635d5d5fb988bf0b2cfc5699f11d827f8c5f1492", kill_on_drop: false }` [INFO] [stdout] 21147aa68323bb3924d4b32a635d5d5fb988bf0b2cfc5699f11d827f8c5f1492 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+e983148bd5f0f0db270bfb72149f5e892e68b67f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10264212f13feb435feca730591990b629989998d7b9a7c459abe0a7ab3a8764 [INFO] running `Command { std: "docker" "start" "-a" "10264212f13feb435feca730591990b629989998d7b9a7c459abe0a7ab3a8764", kill_on_drop: false }` [INFO] [stderr] warning: checklist v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `todoapp` which is missing a lib target [INFO] [stderr] warning: checklist v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `urlshortener` which is missing a lib target [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [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] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rstest_macros v0.25.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking checklist v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking base-62 v0.1.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking tower-http v0.6.4 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Checking rstest v0.25.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.12 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling sqlx-sqlite 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] [stderr] Checking todoapp v0.1.0 (/opt/rustwide/workdir/backend/basic/todoapp) [INFO] [stderr] Checking urlshortener v0.1.0 (/opt/rustwide/workdir/backend/basic/urlshortener) [INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache [INFO] [stdout] --> backend/basic/urlshortener/src/storage.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let url = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 31 | | Url, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | INSERT INTO url (original_url, short_url, click_count, created_at, updated_at) [INFO] [stdout] ... | [INFO] [stdout] 40 | | now [INFO] [stdout] 41 | | ) [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] --> backend/basic/urlshortener/src/storage.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | let urls = sqlx::query_as!(Url, "SELECT * FROM url LIMIT ? OFFSET ?", limit, offset) [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] --> backend/basic/urlshortener/src/storage.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | let url = sqlx::query_as!(Url, "SELECT * FROM url WHERE short_url = ?", short_url) [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] --> backend/basic/urlshortener/src/storage.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | let url = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 70 | | Url, [INFO] [stdout] 71 | | "SELECT * FROM url WHERE original_url = ?", [INFO] [stdout] 72 | | original_url [INFO] [stdout] 73 | | ) [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] --> backend/basic/urlshortener/src/storage.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | let url = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 84 | | Url, [INFO] [stdout] 85 | | r#" [INFO] [stdout] 86 | | UPDATE url [INFO] [stdout] ... | [INFO] [stdout] 91 | | short_url [INFO] [stdout] 92 | | ) [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] --> backend/basic/urlshortener/src/storage.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | let result = sqlx::query!("DELETE FROM url WHERE updated_at < ?", threshold) [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] --> backend/basic/urlshortener/src/storage.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | let result = sqlx::query!("DELETE FROM url 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` (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] --> backend/basic/urlshortener/src/storage.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | let result = sqlx::query!("UPDATE url SET short_url = ? WHERE id = ?", short_url, 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` (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] --> backend/basic/urlshortener/src/storage.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | let url = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 31 | | Url, [INFO] [stdout] 32 | | r#" [INFO] [stdout] 33 | | INSERT INTO url (original_url, short_url, click_count, created_at, updated_at) [INFO] [stdout] ... | [INFO] [stdout] 40 | | now [INFO] [stdout] 41 | | ) [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] --> backend/basic/urlshortener/src/storage.rs:48:16 [INFO] [stdout] | [INFO] [stdout] 48 | let urls = sqlx::query_as!(Url, "SELECT * FROM url LIMIT ? OFFSET ?", limit, offset) [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] --> backend/basic/urlshortener/src/storage.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | let url = sqlx::query_as!(Url, "SELECT * FROM url WHERE short_url = ?", short_url) [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] --> backend/basic/urlshortener/src/storage.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | let url = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 70 | | Url, [INFO] [stdout] 71 | | "SELECT * FROM url WHERE original_url = ?", [INFO] [stdout] 72 | | original_url [INFO] [stdout] 73 | | ) [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] --> backend/basic/urlshortener/src/storage.rs:83:15 [INFO] [stdout] | [INFO] [stdout] 83 | let url = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 84 | | Url, [INFO] [stdout] 85 | | r#" [INFO] [stdout] 86 | | UPDATE url [INFO] [stdout] ... | [INFO] [stdout] 91 | | short_url [INFO] [stdout] 92 | | ) [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] --> backend/basic/urlshortener/src/storage.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | let result = sqlx::query!("DELETE FROM url WHERE updated_at < ?", threshold) [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] --> backend/basic/urlshortener/src/storage.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | let result = sqlx::query!("DELETE FROM url 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` (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] --> backend/basic/urlshortener/src/storage.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | let result = sqlx::query!("UPDATE url SET short_url = ? WHERE id = ?", short_url, 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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/basic/urlshortener/src/storage.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let result = sqlx::query!("DELETE FROM url WHERE updated_at < ?", threshold) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(result.rows_affected()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | let result: /* Type */ = sqlx::query!("DELETE FROM url WHERE updated_at < ?", threshold) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/basic/urlshortener/src/storage.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let result = sqlx::query!("DELETE FROM url WHERE id = ?", id) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(result.rows_affected()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 108 | let result: /* Type */ = sqlx::query!("DELETE FROM url WHERE id = ?", id) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/basic/urlshortener/src/storage.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let result = sqlx::query!("UPDATE url SET short_url = ? WHERE id = ?", short_url, id) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | Ok(result.rows_affected()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 119 | let result: /* Type */ = sqlx::query!("UPDATE url SET short_url = ? WHERE id = ?", short_url, id) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/basic/urlshortener/src/storage.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let result = sqlx::query!("DELETE FROM url WHERE updated_at < ?", threshold) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(result.rows_affected()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 100 | let result: /* Type */ = sqlx::query!("DELETE FROM url WHERE updated_at < ?", threshold) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/basic/urlshortener/src/storage.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let result = sqlx::query!("DELETE FROM url WHERE id = ?", id) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | Ok(result.rows_affected()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 108 | let result: /* Type */ = sqlx::query!("DELETE FROM url WHERE id = ?", id) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> backend/basic/urlshortener/src/storage.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let result = sqlx::query!("UPDATE url SET short_url = ? WHERE id = ?", short_url, id) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | Ok(result.rows_affected()) [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 119 | let result: /* Type */ = sqlx::query!("UPDATE url SET short_url = ? WHERE id = ?", short_url, id) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `urlshortener` (bin "urlshortener") due to 11 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 `urlshortener` (bin "urlshortener" test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "10264212f13feb435feca730591990b629989998d7b9a7c459abe0a7ab3a8764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10264212f13feb435feca730591990b629989998d7b9a7c459abe0a7ab3a8764", kill_on_drop: false }` [INFO] [stdout] 10264212f13feb435feca730591990b629989998d7b9a7c459abe0a7ab3a8764