[INFO] cloning repository https://github.com/moonduming/tokio-shortlink
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moonduming/tokio-shortlink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoonduming%2Ftokio-shortlink", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoonduming%2Ftokio-shortlink'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c22eab51d7db88c8b0fbcd75c62a180fe924fb7c
[INFO] checking moonduming/tokio-shortlink/c22eab51d7db88c8b0fbcd75c62a180fe924fb7c against 656a9da186dacaf3bf8f7f7296a825d256cb4ae3 for pr-158915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoonduming%2Ftokio-shortlink" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/moonduming/tokio-shortlink
[INFO] finished tweaking git repo https://github.com/moonduming/tokio-shortlink
[INFO] tweaked toml for git repo https://github.com/moonduming/tokio-shortlink written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/moonduming/tokio-shortlink on toolchain 656a9da186dacaf3bf8f7f7296a825d256cb4ae3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+656a9da186dacaf3bf8f7f7296a825d256cb4ae3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/moonduming/tokio-shortlink 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" "+656a9da186dacaf3bf8f7f7296a825d256cb4ae3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator_derive v0.20.0
[INFO] [stderr]   Downloaded validator v0.20.0
[INFO] [stderr]   Downloaded tokio v1.47.0
[INFO] [stderr]   Downloaded sdd v3.0.9
[INFO] [stderr]   Downloaded scc v2.3.4
[INFO] [stderr]   Downloaded redis v0.32.3
[INFO] [stderr]   Downloaded dtor v0.0.6
[INFO] [stderr]   Downloaded deadpool v0.12.2
[INFO] [stderr]   Downloaded dtor-proc-macro v0.0.5
[INFO] [stderr]   Downloaded ctor v0.4.3
[INFO] [stderr]   Downloaded toml v0.9.2
[INFO] [stderr]   Downloaded yaml-rust2 v0.10.3
[INFO] [stderr]   Downloaded deadpool-redis v0.22.0
[INFO] [stderr]   Downloaded config v0.15.13
[INFO] [stderr]   Downloaded toml_parser v1.0.1
[INFO] [stderr]   Downloaded axum-extra v0.10.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9cb8cf79abd6be55707e239800089ad9b6d46cdc1a59584320533c1553e0385c
[INFO] running `Command { std: "docker" "start" "9cb8cf79abd6be55707e239800089ad9b6d46cdc1a59584320533c1553e0385c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9cb8cf79abd6be55707e239800089ad9b6d46cdc1a59584320533c1553e0385c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9cb8cf79abd6be55707e239800089ad9b6d46cdc1a59584320533c1553e0385c" "/opt/rustwide/cargo-home/bin/cargo" "+656a9da186dacaf3bf8f7f7296a825d256cb4ae3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9cb8cf79abd6be55707e239800089ad9b6d46cdc1a59584320533c1553e0385c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9cb8cf79abd6be55707e239800089ad9b6d46cdc1a59584320533c1553e0385c" "/opt/rustwide/cargo-home/bin/cargo" "+656a9da186dacaf3bf8f7f7296a825d256cb4ae3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling cc v1.2.27
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling libm v0.2.15
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling tokio v1.47.0
[INFO] [stderr]    Compiling event-listener v5.4.0
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking hashlink v0.10.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking winnow v0.7.11
[INFO] [stderr]     Checking siphasher v1.0.1
[INFO] [stderr]     Checking backon v1.5.1
[INFO] [stderr]     Checking phf_shared v0.12.1
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking sdd v3.0.9
[INFO] [stderr]     Checking trim-in-place v0.1.7
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]    Compiling dtor-proc-macro v0.0.5
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking iri-string v0.7.8
[INFO] [stderr]    Compiling chrono-tz v0.10.4
[INFO] [stderr]     Checking scc v2.3.4
[INFO] [stderr]     Checking dtor v0.0.6
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking rust-ini v0.21.1
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking phf v0.12.1
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking rsa v0.9.8
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking pem v3.0.5
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]    Compiling ctor-proc-macro v0.0.6
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking yaml-rust2 v0.10.3
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking ctor v0.4.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking dashmap v6.1.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling axum-macros v0.5.0
[INFO] [stderr]    Compiling serial_test_derive v3.2.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking toml_parser v1.0.1
[INFO] [stderr]     Checking serial_test v3.2.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking pest v2.8.1
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]     Checking axum-core v0.5.2
[INFO] [stderr]     Checking simple_asn1 v0.6.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling validator_derive v0.20.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking deadpool-runtime v0.1.4
[INFO] [stderr]     Checking deadpool v0.12.2
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking h2 v0.4.11
[INFO] [stderr]     Checking combine v4.6.7
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking toml_datetime v0.7.0
[INFO] [stderr]     Checking serde_spanned v1.0.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking tower-http v0.6.6
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking toml v0.9.2
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking validator v0.20.0
[INFO] [stderr]     Checking config v0.15.13
[INFO] [stderr]     Checking sqlx-core v0.8.6
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking sqlx-mysql v0.8.6
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking redis v0.32.3
[INFO] [stderr]     Checking hyper-util v0.1.14
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking axum v0.8.4
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.22
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking axum-extra v0.10.1
[INFO] [stderr]     Checking deadpool-redis v0.22.0
[INFO] [stderr]     Checking tokio-shortlink 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/models/link.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 | /         sqlx::query!(
[INFO] [stdout] 93 | |             r#"UPDATE links SET short_code = ? WHERE id = ?"#,
[INFO] [stdout] 94 | |             short_code,
[INFO] [stdout] 95 | |             id,
[INFO] [stdout] 96 | |         )
[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/models/link.rs:225:19
[INFO] [stdout]     |
[INFO] [stdout] 225 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 226 | |             r#"SELECT long_url, expire_at FROM links WHERE short_code = ?"#,
[INFO] [stdout] 227 | |             short_code,
[INFO] [stdout] 228 | |         )
[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/models/link.rs:289:29
[INFO] [stdout]     |
[INFO] [stdout] 289 | / ...                   sqlx::query!(
[INFO] [stdout] 290 | | ...                       r#"UPDATE links SET click_count = click_count + ? WHERE short_code = ?"#,
[INFO] [stdout] 291 | | ...                       click_count,
[INFO] [stdout] 292 | | ...                       code,
[INFO] [stdout] 293 | | ...                   )
[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/models/link.rs:371:17
[INFO] [stdout]     |
[INFO] [stdout] 371 | /                 sqlx::query!(
[INFO] [stdout] 372 | |                     r#"INSERT INTO visit_logs
[INFO] [stdout] 373 | |                        (short_code, long_url, ip, user_agent, referer, visit_time)
[INFO] [stdout] 374 | |                        VALUES (?, ?, ?, ?, ?, ?)"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 380 | |                     visit_log.visit_time,
[INFO] [stdout] 381 | |                 )
[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/models/link.rs:633:19
[INFO] [stdout]     |
[INFO] [stdout] 633 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 634 | |             r#"SELECT id FROM links WHERE short_code = ? AND user_id = ?"#,
[INFO] [stdout] 635 | |             short_code,
[INFO] [stdout] 636 | |             user_id,
[INFO] [stdout] 637 | |         )
[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/models/link.rs:679:20
[INFO] [stdout]     |
[INFO] [stdout] 679 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 680 | |             r#"
[INFO] [stdout] 681 | |             SELECT DATE(CONVERT_TZ(visit_time, 'UTC', ?)) AS day_local, COUNT(*) AS cnt
[INFO] [stdout] 682 | |             FROM visit_logs
[INFO] [stdout] ...   |
[INFO] [stdout] 690 | |             now_utc
[INFO] [stdout] 691 | |         )
[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/models/user.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let exists = sqlx::query_scalar!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 25 | |             "SELECT 1 FROM users WHERE email = ? LIMIT 1",
[INFO] [stdout] 26 | |             email,
[INFO] [stdout] 27 | |         )
[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/models/link.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 | /         sqlx::query!(
[INFO] [stdout] 93 | |             r#"UPDATE links SET short_code = ? WHERE id = ?"#,
[INFO] [stdout] 94 | |             short_code,
[INFO] [stdout] 95 | |             id,
[INFO] [stdout] 96 | |         )
[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/models/user.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | /         sqlx::query!(
[INFO] [stdout] 47 | |             "INSERT INTO users (nickname, password, email) VALUES (?, ?, ?)",
[INFO] [stdout] 48 | |             nickname,
[INFO] [stdout] 49 | |             password,
[INFO] [stdout] 50 | |             email,
[INFO] [stdout] 51 | |         )
[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/models/user.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 | /                 sqlx::query_as!(
[INFO] [stdout] 73 | |                     User,
[INFO] [stdout] 74 | |                     "SELECT id, email, nickname, password, status FROM users WHERE id = ? LIMIT 1",
[INFO] [stdout] 75 | |                     id
[INFO] [stdout] 76 | |                 )
[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/models/user.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 | /                 sqlx::query_as!(
[INFO] [stdout] 82 | |                     User,
[INFO] [stdout] 83 | |                     "SELECT id, email, nickname, password, status FROM users WHERE email = ? LIMIT 1",
[INFO] [stdout] 84 | |                     email
[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_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/models/link.rs:225:19
[INFO] [stdout]     |
[INFO] [stdout] 225 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 226 | |             r#"SELECT long_url, expire_at FROM links WHERE short_code = ?"#,
[INFO] [stdout] 227 | |             short_code,
[INFO] [stdout] 228 | |         )
[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/models/link.rs:289:29
[INFO] [stdout]     |
[INFO] [stdout] 289 | / ...                   sqlx::query!(
[INFO] [stdout] 290 | | ...                       r#"UPDATE links SET click_count = click_count + ? WHERE short_code = ?"#,
[INFO] [stdout] 291 | | ...                       click_count,
[INFO] [stdout] 292 | | ...                       code,
[INFO] [stdout] 293 | | ...                   )
[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/models/link.rs:371:17
[INFO] [stdout]     |
[INFO] [stdout] 371 | /                 sqlx::query!(
[INFO] [stdout] 372 | |                     r#"INSERT INTO visit_logs
[INFO] [stdout] 373 | |                        (short_code, long_url, ip, user_agent, referer, visit_time)
[INFO] [stdout] 374 | |                        VALUES (?, ?, ?, ?, ?, ?)"#,
[INFO] [stdout] ...   |
[INFO] [stdout] 380 | |                     visit_log.visit_time,
[INFO] [stdout] 381 | |                 )
[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/models/link.rs:633:19
[INFO] [stdout]     |
[INFO] [stdout] 633 |           let row = sqlx::query!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 634 | |             r#"SELECT id FROM links WHERE short_code = ? AND user_id = ?"#,
[INFO] [stdout] 635 | |             short_code,
[INFO] [stdout] 636 | |             user_id,
[INFO] [stdout] 637 | |         )
[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/models/link.rs:679:20
[INFO] [stdout]     |
[INFO] [stdout] 679 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 680 | |             r#"
[INFO] [stdout] 681 | |             SELECT DATE(CONVERT_TZ(visit_time, 'UTC', ?)) AS day_local, COUNT(*) AS cnt
[INFO] [stdout] 682 | |             FROM visit_logs
[INFO] [stdout] ...   |
[INFO] [stdout] 690 | |             now_utc
[INFO] [stdout] 691 | |         )
[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/models/user.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 |           let exists = sqlx::query_scalar!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 25 | |             "SELECT 1 FROM users WHERE email = ? LIMIT 1",
[INFO] [stdout] 26 | |             email,
[INFO] [stdout] 27 | |         )
[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/models/user.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 | /         sqlx::query!(
[INFO] [stdout] 47 | |             "INSERT INTO users (nickname, password, email) VALUES (?, ?, ?)",
[INFO] [stdout] 48 | |             nickname,
[INFO] [stdout] 49 | |             password,
[INFO] [stdout] 50 | |             email,
[INFO] [stdout] 51 | |         )
[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/models/user.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 | /                 sqlx::query_as!(
[INFO] [stdout] 73 | |                     User,
[INFO] [stdout] 74 | |                     "SELECT id, email, nickname, password, status FROM users WHERE id = ? LIMIT 1",
[INFO] [stdout] 75 | |                     id
[INFO] [stdout] 76 | |                 )
[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/models/user.rs:81:17
[INFO] [stdout]    |
[INFO] [stdout] 81 | /                 sqlx::query_as!(
[INFO] [stdout] 82 | |                     User,
[INFO] [stdout] 83 | |                     "SELECT id, email, nickname, password, status FROM users WHERE email = ? LIMIT 1",
[INFO] [stdout] 84 | |                     email
[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_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/models/user.rs:97:10
[INFO] [stdout]    |
[INFO] [stdout] 97 |         .map_err(|e| {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]    = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/models/user.rs:97:10
[INFO] [stdout]    |
[INFO] [stdout] 97 |         .map_err(|e| {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider providing a type annotation
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]    = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `map_err` found for type `_` in the current scope
[INFO] [stdout]   --> src/models/user.rs:97:10
[INFO] [stdout]    |
[INFO] [stdout] 70 |           let row = match (id, email) {
[INFO] [stdout]    |  ___________________-
[INFO] [stdout] 71 | |             (Some(id), None) => {
[INFO] [stdout] 72 | |                 sqlx::query_as!(
[INFO] [stdout] 73 | |                     User,
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |         .map_err(|e| {
[INFO] [stdout]    | |_________-^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following traits which provide `map_err` are implemented but not in scope; perhaps you want to import one of them
[INFO] [stdout]    |
[INFO] [stdout]  1 + use futures_util::future::try_future::TryFutureExt;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use futures_util::stream::try_stream::TryStreamExt;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use http_body_util::BodyExt;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tower::util::ServiceExt;
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] help: there is a method `sink_map_err` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 97 |         .sink_map_err(|e| {
[INFO] [stdout]    |          +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `map_err` found for type `_` in the current scope
[INFO] [stdout]   --> src/models/user.rs:97:10
[INFO] [stdout]    |
[INFO] [stdout] 70 |           let row = match (id, email) {
[INFO] [stdout]    |  ___________________-
[INFO] [stdout] 71 | |             (Some(id), None) => {
[INFO] [stdout] 72 | |                 sqlx::query_as!(
[INFO] [stdout] 73 | |                     User,
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |         .map_err(|e| {
[INFO] [stdout]    | |_________-^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following traits which provide `map_err` are implemented but not in scope; perhaps you want to import one of them
[INFO] [stdout]    |
[INFO] [stdout]  1 + use futures_util::future::try_future::TryFutureExt;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use futures_util::stream::try_stream::TryStreamExt;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use http_body_util::BodyExt;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tower::util::ServiceExt;
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] help: there is a method `sink_map_err` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 97 |         .sink_map_err(|e| {
[INFO] [stdout]    |          +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio-shortlink` (lib test) due to 11 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `tokio-shortlink` (lib) due to 11 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9cb8cf79abd6be55707e239800089ad9b6d46cdc1a59584320533c1553e0385c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9cb8cf79abd6be55707e239800089ad9b6d46cdc1a59584320533c1553e0385c", kill_on_drop: false }`
[INFO] [stdout] 9cb8cf79abd6be55707e239800089ad9b6d46cdc1a59584320533c1553e0385c
