[INFO] cloning repository https://github.com/DHRUVCHARNE/linkforge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DHRUVCHARNE/linkforge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDHRUVCHARNE%2Flinkforge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDHRUVCHARNE%2Flinkforge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bc51e5a7a124873321fd7418a86080f7ffe879a7
[INFO] checking DHRUVCHARNE/linkforge against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDHRUVCHARNE%2Flinkforge" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DHRUVCHARNE/linkforge
[INFO] finished tweaking git repo https://github.com/DHRUVCHARNE/linkforge
[INFO] tweaked toml for git repo https://github.com/DHRUVCHARNE/linkforge written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DHRUVCHARNE/linkforge on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DHRUVCHARNE/linkforge 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 21afe567a3799b0d60c98b193477c7535562ed93a888bef3df0d2cb1a1f08e01
[INFO] running `Command { std: "docker" "start" "21afe567a3799b0d60c98b193477c7535562ed93a888bef3df0d2cb1a1f08e01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21afe567a3799b0d60c98b193477c7535562ed93a888bef3df0d2cb1a1f08e01", 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" "21afe567a3799b0d60c98b193477c7535562ed93a888bef3df0d2cb1a1f08e01" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "21afe567a3799b0d60c98b193477c7535562ed93a888bef3df0d2cb1a1f08e01", 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" "21afe567a3799b0d60c98b193477c7535562ed93a888bef3df0d2cb1a1f08e01" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling syn v3.0.4
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]     Checking bytes v1.12.1
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]    Compiling icu_normalizer_data v2.3.0
[INFO] [stderr]    Compiling icu_properties_data v2.3.0
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking socket2 v0.6.5
[INFO] [stderr]    Compiling jobserver v0.1.35
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling cc v1.4.4
[INFO] [stderr]     Checking zeroize v1.9.0
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking http v1.5.0
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]    Compiling writeable v0.6.4
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling litemap v0.8.3
[INFO] [stderr]     Checking rustls-pki-types v1.15.1
[INFO] [stderr]    Compiling hybrid-array v0.4.14
[INFO] [stderr]    Compiling zerocopy v0.8.57
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling aws-lc-rs v1.18.1
[INFO] [stderr]     Checking http-body v1.1.0
[INFO] [stderr]    Compiling zerocopy-derive v0.8.57
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling cmov v0.5.4
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling ctutils v0.4.2
[INFO] [stderr]    Compiling crypto-common v0.2.2
[INFO] [stderr]    Compiling block-buffer v0.12.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling aws-lc-sys v0.45.0
[INFO] [stderr]    Compiling openssl-sys v0.9.117
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking futures-channel v0.3.34
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling futures-core v0.3.34
[INFO] [stderr]    Compiling digest v0.11.3
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.21
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]    Compiling rustls v0.23.43
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling futures-macro v0.3.34
[INFO] [stderr]    Compiling thiserror-impl v2.0.20
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]     Checking futures-util v0.3.34
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]     Checking potential_utf v0.1.6
[INFO] [stderr]     Checking icu_locale_core v2.3.0
[INFO] [stderr]    Compiling icu_collections v2.3.0
[INFO] [stderr]     Checking icu_provider v2.3.1
[INFO] [stderr]     Checking icu_properties v2.3.0
[INFO] [stderr]     Checking const-oid v0.10.2
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling futures-sink v0.3.34
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking either v1.18.0
[INFO] [stderr]     Checking icu_normalizer v2.3.0
[INFO] [stderr]    Compiling foldhash v0.2.0
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]    Compiling thiserror v2.0.20
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]     Checking openssl-probe v0.2.1
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling tinyvec v1.12.0
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling rustls-webpki v0.103.15
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]     Checking ipnet v2.12.2
[INFO] [stderr]    Compiling futures-io v0.3.34
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking regex-syntax v0.8.11
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling event-listener v5.4.2
[INFO] [stderr]    Compiling crossbeam-queue v0.3.13
[INFO] [stderr]     Checking regex-automata v0.4.18
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hashlink v0.11.1
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling chacha20 v0.10.1
[INFO] [stderr]     Checking tokio-util v0.7.19
[INFO] [stderr]    Compiling webpki-roots v1.0.9
[INFO] [stderr]    Compiling hmac v0.13.0
[INFO] [stderr]     Checking uuid v1.26.1
[INFO] [stderr]     Checking http-body-util v0.1.5
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling tokio-stream v0.1.19
[INFO] [stderr]     Checking h2 v0.4.19
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling sqlx-core v0.9.0
[INFO] [stderr]    Compiling hkdf v0.13.0
[INFO] [stderr]    Compiling rand v0.10.2
[INFO] [stderr]    Compiling sha2 v0.11.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling md-5 v0.11.0
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling bitflags v2.13.1
[INFO] [stderr]    Compiling whoami v2.1.3
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]    Compiling multiversion-macros v0.9.0
[INFO] [stderr]     Checking rapidhash v4.5.1
[INFO] [stderr]    Compiling encoding_rs v0.8.41
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]    Compiling sqlx-postgres v0.9.0
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking hyper v1.11.0
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]    Compiling crossbeam-deque v0.8.8
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking winnow v0.7.15
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking multiversion v0.9.0
[INFO] [stderr]     Checking metrics v0.24.6
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking rand v0.9.5
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking quanta v0.12.6
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking rand_xoshiro v0.7.0
[INFO] [stderr]     Checking rustls-native-certs v0.8.4
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking left-right v0.11.8
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]     Checking thread_local v1.1.10
[INFO] [stderr]     Checking core_detect v1.0.0
[INFO] [stderr]     Checking num-conv v0.2.2
[INFO] [stderr]    Compiling anyhow v1.0.104
[INFO] [stderr]     Checking simdutf8 v0.1.5
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking time-core v0.1.9
[INFO] [stderr]     Checking hashbag v0.1.13
[INFO] [stderr]     Checking inlinable_string v0.1.15
[INFO] [stderr]    Compiling metrics-exporter-prometheus v0.18.3
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]    Compiling multiversion_no_op v1.0.0
[INFO] [stderr]     Checking sketches-ddsketch v0.3.1
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking metrics-util v0.20.4
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking pear v0.2.9
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking evmap v11.0.0
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking time v0.3.55
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking crossbeam-channel v0.5.17
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking symlink v0.1.0
[INFO] [stderr]     Checking anstyle v1.0.14
[INFO] [stderr]     Checking clap_lex v1.1.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling sqlx-macros-core v0.9.0
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking clap_builder v4.6.6
[INFO] [stderr]     Checking dashmap v6.2.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking tracing-appender v0.2.5
[INFO] [stderr]     Checking gnuplot v0.0.46
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]    Compiling async-trait v0.1.92
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking rayon v1.12.0
[INFO] [stderr]     Checking clap v4.6.6
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking regex v1.13.1
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]    Compiling sqlx-macros v0.9.0
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking oorandom v11.1.5
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr]     Checking tokio-rustls v0.26.5
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking sqlx v0.9.0
[INFO] [stderr]     Checking linkforge v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/app/state.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let start_id: i64 = sqlx::query_scalar!("SELECT COALESCE(MAX(id),0) FROM links")
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/app/state.rs:74:29
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let start_id: i64 = sqlx::query_scalar!("SELECT COALESCE(MAX(id),0) FROM links")
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repositories/click_repository.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let n = sqlx::query_scalar!("SELECT COUNT(*) FROM clicks WHERE code=$1", code.as_str())
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repositories/link_repository.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 24 | |             "INSERT INTO links (code,url) VALUES ($1,$2)",
[INFO] [stdout] 25 | |             link.code.as_str(),
[INFO] [stdout] 26 | |             link.target_url.as_str()
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repositories/link_repository.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let row = sqlx::query!("SELECT code, url FROM links WHERE code = $1", code.as_str())
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repositories/click_repository.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let n = sqlx::query_scalar!("SELECT COUNT(*) FROM clicks WHERE code=$1", code.as_str())
[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: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repositories/link_repository.rs:23:22
[INFO] [stdout]    |
[INFO] [stdout] 23 |           let result = sqlx::query!(
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 24 | |             "INSERT INTO links (code,url) VALUES ($1,$2)",
[INFO] [stdout] 25 | |             link.code.as_str(),
[INFO] [stdout] 26 | |             link.target_url.as_str()
[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` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/repositories/link_repository.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let row = sqlx::query!("SELECT code, url FROM links WHERE code = $1", code.as_str())
[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] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/app/state.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 |             .unwrap_or(0);
[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 `unwrap_or` found for type `!` in the current scope
[INFO] [stdout]   --> src/app/state.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let start_id: i64 = sqlx::query_scalar!("SELECT COALESCE(MAX(id),0) FROM links")
[INFO] [stdout] 75 |             .fetch_one(&pool)
[INFO] [stdout] 76 |             .await?
[INFO] [stdout] 77 |             .unwrap_or(0);
[INFO] [stdout]    |              ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/app/state.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 |             .unwrap_or(0);
[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 `unwrap_or` found for type `!` in the current scope
[INFO] [stdout]   --> src/app/state.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let start_id: i64 = sqlx::query_scalar!("SELECT COALESCE(MAX(id),0) FROM links")
[INFO] [stdout] 75 |             .fetch_one(&pool)
[INFO] [stdout] 76 |             .await?
[INFO] [stdout] 77 |             .unwrap_or(0);
[INFO] [stdout]    |              ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/repositories/click_repository.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |             .unwrap_or(0);
[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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap_or` found for type `!` in the current scope
[INFO] [stdout]   --> src/repositories/click_repository.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let n = sqlx::query_scalar!("SELECT COUNT(*) FROM clicks WHERE code=$1", code.as_str())
[INFO] [stdout] 29 |             .fetch_one(&self.pool)
[INFO] [stdout] 30 |             .await?
[INFO] [stdout] 31 |             .unwrap_or(0);
[INFO] [stdout]    |              ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/repositories/link_repository.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |         Ok(row.map(|r| Link::new(ShortCode::from_generated(r.code), r.url)))
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/repositories/click_repository.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 31 |             .unwrap_or(0);
[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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap_or` found for type `!` in the current scope
[INFO] [stdout]   --> src/repositories/click_repository.rs:31:14
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let n = sqlx::query_scalar!("SELECT COUNT(*) FROM clicks WHERE code=$1", code.as_str())
[INFO] [stdout] 29 |             .fetch_one(&self.pool)
[INFO] [stdout] 30 |             .await?
[INFO] [stdout] 31 |             .unwrap_or(0);
[INFO] [stdout]    |              ^^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `!` is not an iterator
[INFO] [stdout]   --> src/repositories/link_repository.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |         Ok(row.map(|r| Link::new(ShortCode::from_generated(r.code), r.url)))
[INFO] [stdout]    |                ^^^ `!` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `!: Iterator`
[INFO] [stdout]            which is required by `&mut !: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]   --> src/repositories/link_repository.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |         Ok(row.map(|r| Link::new(ShortCode::from_generated(r.code), r.url)))
[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] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `!` is not an iterator
[INFO] [stdout]   --> src/repositories/link_repository.rs:43:16
[INFO] [stdout]    |
[INFO] [stdout] 43 |         Ok(row.map(|r| Link::new(ShortCode::from_generated(r.code), r.url)))
[INFO] [stdout]    |                ^^^ `!` is not an iterator
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `!: Iterator`
[INFO] [stdout]            which is required by `&mut !: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linkforge` (lib test) due to 7 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linkforge` (lib) due to 7 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "21afe567a3799b0d60c98b193477c7535562ed93a888bef3df0d2cb1a1f08e01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21afe567a3799b0d60c98b193477c7535562ed93a888bef3df0d2cb1a1f08e01", kill_on_drop: false }`
[INFO] [stdout] 21afe567a3799b0d60c98b193477c7535562ed93a888bef3df0d2cb1a1f08e01
