[INFO] cloning repository https://github.com/AquilaFasciata/url_shortener
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AquilaFasciata/url_shortener" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAquilaFasciata%2Furl_shortener", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAquilaFasciata%2Furl_shortener'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 204aa3dfbb3050f1228c03e7cc074edc693c382f
[INFO] building AquilaFasciata/url_shortener against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAquilaFasciata%2Furl_shortener" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AquilaFasciata/url_shortener on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AquilaFasciata/url_shortener
[INFO] finished tweaking git repo https://github.com/AquilaFasciata/url_shortener
[INFO] tweaked toml for git repo https://github.com/AquilaFasciata/url_shortener written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/AquilaFasciata/url_shortener 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: env
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded sqlx-macros v0.8.3
[INFO] [stderr]   Downloaded sha2-asm v0.6.4
[INFO] [stderr]   Downloaded hashlink v0.10.0
[INFO] [stderr]   Downloaded askama_parser v0.2.1
[INFO] [stderr]   Downloaded unicase v2.8.1
[INFO] [stderr]   Downloaded basic-toml v0.1.9
[INFO] [stderr]   Downloaded sqlx-sqlite v0.8.3
[INFO] [stderr]   Downloaded axum-server v0.7.1
[INFO] [stderr]   Downloaded sqlx-core v0.8.3
[INFO] [stderr]   Downloaded sqlx-postgres v0.8.3
[INFO] [stderr]   Downloaded sqlx-mysql v0.8.3
[INFO] [stderr]   Downloaded async-trait v0.1.84
[INFO] [stderr]   Downloaded aws-lc-rs v1.12.0
[INFO] [stderr]   Downloaded axum-macros v0.4.2
[INFO] [stderr]   Downloaded tempfile v3.15.0
[INFO] [stderr]   Downloaded sqlx-macros-core v0.8.3
[INFO] [stderr]   Downloaded askama_derive v0.12.5
[INFO] [stderr]   Downloaded serde_html_form v0.2.7
[INFO] [stderr]   Downloaded syn v2.0.94
[INFO] [stderr]   Downloaded sqlx v0.8.3
[INFO] [stderr]   Downloaded aws-lc-sys v0.24.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63c1fbacf4886d518e64e4103005f80db32a98ef1e28e335885a6251b16cc1f4
[INFO] running `Command { std: "docker" "start" "-a" "63c1fbacf4886d518e64e4103005f80db32a98ef1e28e335885a6251b16cc1f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63c1fbacf4886d518e64e4103005f80db32a98ef1e28e335885a6251b16cc1f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63c1fbacf4886d518e64e4103005f80db32a98ef1e28e335885a6251b16cc1f4", kill_on_drop: false }`
[INFO] [stdout] 63c1fbacf4886d518e64e4103005f80db32a98ef1e28e335885a6251b16cc1f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c899a5f662907d693b887e0db4355b13a99025b2ca68bb9b9f9b9ea39262e5ea
[INFO] running `Command { std: "docker" "start" "-a" "c899a5f662907d693b887e0db4355b13a99025b2ca68bb9b9f9b9ea39262e5ea", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: env
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.15
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling bytes v1.9.0
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling litemap v0.7.4
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling foldhash v0.1.4
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling serde_json v1.0.134
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling cpufeatures v0.2.16
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]    Compiling thiserror v2.0.9
[INFO] [stderr]    Compiling http v1.2.0
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling tinyvec v1.8.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling syn v2.0.94
[INFO] [stderr]    Compiling aws-lc-rs v1.12.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling cc v1.2.7
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling rustls-pki-types v1.10.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling whoami v1.5.2
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling rustls v0.23.20
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling cmake v0.1.52
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling rustversion v1.0.19
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling winnow v0.6.22
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling humansize v2.1.3
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling askama_escape v0.10.3
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling hex-literal v0.4.1
[INFO] [stderr]    Compiling aws-lc-sys v0.24.1
[INFO] [stderr]    Compiling sha2-asm v0.6.4
[INFO] [stderr]    Compiling tempfile v3.15.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling askama_parser v0.2.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling zerofrom-derive v0.1.5
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v2.0.9
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling async-trait v0.1.84
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling zerofrom v0.1.5
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling pin-project v1.1.7
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling basic-toml v0.1.9
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling serde_html_form v0.2.7
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling askama_derive v0.12.5
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling askama v0.12.1
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling sqlx-core v0.8.3
[INFO] [stderr]    Compiling sqlx-postgres v0.8.3
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.7
[INFO] [stderr]    Compiling tokio-rustls v0.26.1
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.3
[INFO] [stderr]    Compiling hyper v1.5.2
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling axum-server v0.7.1
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling sqlx-macros v0.8.3
[INFO] [stderr]    Compiling sqlx v0.8.3
[INFO] [stderr]    Compiling url_shortner v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 | use user::jwt::{self, Jwt, JwtHeader, JwtPayload, SigAlgo};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prefs`
[INFO] [stdout]    --> src/main.rs:308:16
[INFO] [stdout]     |
[INFO] [stdout] 308 |     let (pool, prefs) = pool_and_prefs.both();
[INFO] [stdout]     |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_prefs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/main.rs:324:13
[INFO] [stdout]     |
[INFO] [stdout] 324 |         let token = Jwt::new(
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `both` is never used
[INFO] [stdout]   --> src/main.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl PoolAndPrefs {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn both(&self) -> (&PgPool, &Preferences) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username` and `password` are never read
[INFO] [stdout]   --> src/main.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct LoginPayload<'a> {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 53 |     username: &'a str,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 54 |     password: &'a str,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `username` and `password` are never used
[INFO] [stdout]   --> src/main.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<'a> LoginPayload<'a> {
[INFO] [stdout]    | ------------------------- methods in this implementation
[INFO] [stdout] 58 |     fn username(&self) -> &str {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn password(&self) -> &str {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attempt_login` is never used
[INFO] [stdout]    --> src/main.rs:304:10
[INFO] [stdout]     |
[INFO] [stdout] 304 | async fn attempt_login(
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/preferences.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     IoError(std::io::Error),
[INFO] [stdout]   |     ------- ^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PrefError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 |     IoError(()),
[INFO] [stdout]   |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/preferences.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     TomlError(toml::de::Error),
[INFO] [stdout]   |     --------- ^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PrefError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 |     TomlError(()),
[INFO] [stdout]   |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `db_port` is never used
[INFO] [stdout]   --> src/preferences.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Preferences {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn db_port(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clone_short_url` is never used
[INFO] [stdout]   --> src/url_db.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | impl UrlRow {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn clone_short_url(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_url` is never used
[INFO] [stdout]    --> src/url_db.rs:172:14
[INFO] [stdout]     |
[INFO] [stdout] 172 | pub async fn delete_url(id: i64, pool: &sqlx::PgPool) -> Result<PgQueryResult, sqlx::Error> {
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `new_user` is never used
[INFO] [stdout]   --> src/user.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub async fn new_user(
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_user_for_db` is never used
[INFO] [stdout]   --> src/user.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub async fn create_user_for_db(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_user_to_db` is never used
[INFO] [stdout]   --> src/user.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | async fn add_user_to_db(user: &UserRow, pool: &sqlx::PgPool) -> Result<i64, sqlx::Error> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `retrieve_user_by_id` is never used
[INFO] [stdout]   --> src/user.rs:57:14
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub async fn retrieve_user_by_id(id: i64, pool: &sqlx::PgPool) -> Result<UserRow, sqlx::Error> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `retrieve_user_by_name` is never used
[INFO] [stdout]   --> src/user.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub async fn retrieve_user_by_name(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_unsalted_password` is never used
[INFO] [stdout]   --> src/user.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn hash_unsalted_password(password: Zeroizing<String>) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hash_salted_password` is never used
[INFO] [stdout]   --> src/user.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn hash_salted_password(password: Zeroizing<String>) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `salt_password` is never used
[INFO] [stdout]   --> src/user.rs:97:4
[INFO] [stdout]    |
[INFO] [stdout] 97 | fn salt_password(password: Zeroizing<String>) -> (Zeroizing<String>, String) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_user_from_db` is never used
[INFO] [stdout]    --> src/user.rs:138:14
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub async fn delete_user_from_db(id: i64, pool: &sqlx::PgPool) -> Result<u64, sqlx::Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `HmacSha256` is never used
[INFO] [stdout]   --> src/user/jwt.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type HmacSha256 = Hmac<Sha256>;
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/user/jwt.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl SigAlgo {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 64 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/user/jwt.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl Jwt {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] 110 |     pub fn new(head: JwtHeader, payload: JwtPayload) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     fn finalize_hs256(&self, secret: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn header(&self) -> &JwtHeader {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 133 |     pub fn payload(&self) -> &JwtPayload {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn finalize(&self, secret: &str) -> String {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn from_str(token: &str, secret: &str) -> Result<(Self, String), impl serde::de::Error> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 189 |     pub fn verify(&self, secret: &str) -> Result<bool, JwtError> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `defaults`, and `type` are never used
[INFO] [stdout]    --> src/user/jwt.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl JwtHeader {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 224 |     pub fn new(alg: SigAlgo, r#type: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub fn defaults() -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn r#type(&self) -> &String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/user/jwt.rs:268:12
[INFO] [stdout]     |
[INFO] [stdout] 266 | impl JwtPayload {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 267 |     /// Creates a new payload with a provided subscriber, name, email, and the issued at time.
[INFO] [stdout] 268 |     pub fn new(sub: i64, name: String, email: String, iat: u64) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 43s
[INFO] running `Command { std: "docker" "inspect" "c899a5f662907d693b887e0db4355b13a99025b2ca68bb9b9f9b9ea39262e5ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c899a5f662907d693b887e0db4355b13a99025b2ca68bb9b9f9b9ea39262e5ea", kill_on_drop: false }`
[INFO] [stdout] c899a5f662907d693b887e0db4355b13a99025b2ca68bb9b9f9b9ea39262e5ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7fa73e2f8369cbe3fafa47726e55746d7e230da9ecd1146ac4e718b122c4057
[INFO] running `Command { std: "docker" "start" "-a" "e7fa73e2f8369cbe3fafa47726e55746d7e230da9ecd1146ac4e718b122c4057", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: env
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling url_shortner v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 | use user::jwt::{self, Jwt, JwtHeader, JwtPayload, SigAlgo};
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `prefs`
[INFO] [stdout]    --> src/main.rs:308:16
[INFO] [stdout]     |
[INFO] [stdout] 308 |     let (pool, prefs) = pool_and_prefs.both();
[INFO] [stdout]     |                ^^^^^ help: if this is intentional, prefix it with an underscore: `_prefs`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token`
[INFO] [stdout]    --> src/main.rs:324:13
[INFO] [stdout]     |
[INFO] [stdout] 324 |         let token = Jwt::new(
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `both` is never used
[INFO] [stdout]   --> src/main.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl PoolAndPrefs {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     fn both(&self) -> (&PgPool, &Preferences) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `username` and `password` are never read
[INFO] [stdout]   --> src/main.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | struct LoginPayload<'a> {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 53 |     username: &'a str,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 54 |     password: &'a str,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `username` and `password` are never used
[INFO] [stdout]   --> src/main.rs:58:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl<'a> LoginPayload<'a> {
[INFO] [stdout]    | ------------------------- methods in this implementation
[INFO] [stdout] 58 |     fn username(&self) -> &str {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn password(&self) -> &str {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attempt_login` is never used
[INFO] [stdout]    --> src/main.rs:304:10
[INFO] [stdout]     |
[INFO] [stdout] 304 | async fn attempt_login(
[INFO] [stdout]     |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/preferences.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 |     IoError(std::io::Error),
[INFO] [stdout]   |     ------- ^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PrefError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 |     IoError(()),
[INFO] [stdout]   |             ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/preferences.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 |     TomlError(toml::de::Error),
[INFO] [stdout]   |     --------- ^^^^^^^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PrefError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 9 |     TomlError(()),
[INFO] [stdout]   |               ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `db_port` is never used
[INFO] [stdout]   --> src/preferences.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 30 | impl Preferences {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn db_port(&self) -> u32 {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clone_short_url` is never used
[INFO] [stdout]   --> src/url_db.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 70 | impl UrlRow {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 80 |     pub fn clone_short_url(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `retrieve_user_by_name` is never used
[INFO] [stdout]   --> src/user.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub async fn retrieve_user_by_name(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_user_from_db` is never used
[INFO] [stdout]    --> src/user.rs:138:14
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub async fn delete_user_from_db(id: i64, pool: &sqlx::PgPool) -> Result<u64, sqlx::Error> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `as_str` is never used
[INFO] [stdout]   --> src/user/jwt.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl SigAlgo {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] 64 |     pub fn as_str(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_str` is never used
[INFO] [stdout]    --> src/user/jwt.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 109 | impl Jwt {
[INFO] [stdout]     | -------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub fn from_str(token: &str, secret: &str) -> Result<(Self, String), impl serde::de::Error> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `type` is never used
[INFO] [stdout]    --> src/user/jwt.rs:233:12
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl JwtHeader {
[INFO] [stdout]     | -------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 233 |     pub fn r#type(&self) -> &String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.84s
[INFO] running `Command { std: "docker" "inspect" "e7fa73e2f8369cbe3fafa47726e55746d7e230da9ecd1146ac4e718b122c4057", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7fa73e2f8369cbe3fafa47726e55746d7e230da9ecd1146ac4e718b122c4057", kill_on_drop: false }`
[INFO] [stdout] e7fa73e2f8369cbe3fafa47726e55746d7e230da9ecd1146ac4e718b122c4057
