[INFO] cloning repository https://github.com/saulhs12/link-shortener-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saulhs12/link-shortener-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaulhs12%2Flink-shortener-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaulhs12%2Flink-shortener-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7791a6cc00c75b28000ccfd2ee2279a55fe97531
[INFO] testing saulhs12/link-shortener-rust against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaulhs12%2Flink-shortener-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/saulhs12/link-shortener-rust
[INFO] finished tweaking git repo https://github.com/saulhs12/link-shortener-rust
[INFO] tweaked toml for git repo https://github.com/saulhs12/link-shortener-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/saulhs12/link-shortener-rust on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/saulhs12/link-shortener-rust 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2798de53bcbdf03e16fdcb0fff9d7b926d8efeb47a5996b908c7aae8abc4fb6c
[INFO] running `Command { std: "docker" "start" "-a" "2798de53bcbdf03e16fdcb0fff9d7b926d8efeb47a5996b908c7aae8abc4fb6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2798de53bcbdf03e16fdcb0fff9d7b926d8efeb47a5996b908c7aae8abc4fb6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2798de53bcbdf03e16fdcb0fff9d7b926d8efeb47a5996b908c7aae8abc4fb6c", kill_on_drop: false }`
[INFO] [stdout] 2798de53bcbdf03e16fdcb0fff9d7b926d8efeb47a5996b908c7aae8abc4fb6c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2902f7107241ecbdfa4765465e6714fc514b75ceb57289ae18e8d566c6036627
[INFO] running `Command { std: "docker" "start" "-a" "2902f7107241ecbdfa4765465e6714fc514b75ceb57289ae18e8d566c6036627", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling num-bigint v0.4.5
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling bigdecimal v0.3.1
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling tokio v1.38.0
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling unicode-properties v0.1.1
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]    Compiling sketches-ddsketch v0.2.2
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]    Compiling metrics v0.22.3
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling hashbrown v0.13.2
[INFO] [stderr]    Compiling winnow v0.6.11
[INFO] [stderr]    Compiling ordered-multimap v0.6.0
[INFO] [stderr]    Compiling time v0.3.36
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling metrics v0.23.0
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling password-hash v0.5.0
[INFO] [stderr]    Compiling rust-ini v0.19.0
[INFO] [stderr]    Compiling pem v3.0.4
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling blake2 v0.10.6
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling pathdiff v0.2.1
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling argon2 v0.5.3
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling arc-swap v1.7.1
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling pest v2.7.10
[INFO] [stderr]    Compiling pest_meta v2.7.10
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling pest_generator v2.7.10
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling h2 v0.4.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper v0.14.29
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling simple_asn1 v0.6.2
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling raw-cpuid v11.0.2
[INFO] [stderr]    Compiling quanta v0.12.3
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling serde_spanned v0.6.6
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling toml_edit v0.22.14
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling hyper-util v0.1.5
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling metrics-util v0.16.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling pest_derive v2.7.10
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling metrics-exporter-prometheus v0.13.1
[INFO] [stderr]    Compiling toml v0.8.14
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling metrics-util v0.17.0
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling axum-prometheus v0.6.1
[INFO] [stderr]    Compiling config v0.14.0
[INFO] [stderr]    Compiling metrics-exporter-prometheus v0.15.0
[INFO] [stderr]    Compiling jsonwebtoken v9.3.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling axum-macros v0.4.1
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling link_shortener v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `GenerateLinkService`
[INFO] [stdout]  --> src/api/handlers/redirect.rs:4:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::services::generate_id::{ GenerateLinkService};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::Json`
[INFO] [stdout]  --> src/repository/link.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use axum::Json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum_prometheus::PrometheusMetricLayer`
[INFO] [stdout]  --> src/startup.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum_prometheus::PrometheusMetricLayer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/startup.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::level_filters::LevelFilter`
[INFO] [stdout]  --> src/startup.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tracing::level_filters::LevelFilter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::Level`
[INFO] [stdout]  --> src/startup.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::Level;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::fmt`
[INFO] [stdout]  --> src/startup.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing_subscriber::fmt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::settings`
[INFO] [stdout]   --> src/startup.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::settings;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::link::Link`
[INFO] [stdout]  --> src/state.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::link::Link;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `metrics_exporter_prometheus::PrometheusHandle`
[INFO] [stdout]  --> src/state.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use metrics_exporter_prometheus::PrometheusHandle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/handlers/redirect.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Err(err) => Err((
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/repository/statistics.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Ok(Err(err)) => tracing::error!("Saving a new link click failes"),
[INFO] [stdout]    |                    ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `metrics::Counter` that must be used
[INFO] [stdout]   --> src/api/handlers/auth.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             counter!("unauthenticated_calls_count", &labels);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: counters do nothing unless you use them
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `metrics::Counter` that must be used
[INFO] [stdout]   --> src/api/handlers/auth.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         counter!("unauthenticated_calls_count", &labels);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: counters do nothing unless you use them
[INFO] [stdout]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `metrics::Counter` that must be used
[INFO] [stdout]   --> src/api/utils.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     counter!("request_error", &labels);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: counters do nothing unless you use them
[INFO] [stdout]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/auth.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     async fn create_auth(&self) -> Result<Auth, (StatusCode, String)>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 11 -     async fn create_auth(&self) -> Result<Auth, (StatusCode, String)>;
[INFO] [stdout] 11 +     fn create_auth(&self) -> impl std::future::Future<Output = Result<Auth, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/link.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn fetch_link_requested(&self, link_id: String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 12 -     async fn fetch_link_requested(&self, link_id: String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout] 12 +     fn fetch_link_requested(&self, link_id: String) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/link.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     async fn insert_link(&self, url: &String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 13 -     async fn insert_link(&self, url: &String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout] 13 +     fn insert_link(&self, url: &String) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/link.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     async fn update_link(
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 14 ~     fn update_link(
[INFO] [stdout] 15 |         &self,
[INFO] [stdout] 16 |         link_id: &String,
[INFO] [stdout] 17 |         url: &String,
[INFO] [stdout] 18 ~     ) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/repository/statistics.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     async fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str);
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 8 -     async fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str);
[INFO] [stdout] 8 +     fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/repository/statistics.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn fetch_statistics(
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 ~     fn fetch_statistics(
[INFO] [stdout] 10|         &self,
[INFO] [stdout] 11|         link_id: &String,
[INFO] [stdout] 12~     ) -> impl std::future::Future<Output = Result<Vec<CountedLinkStastitic>, (StatusCode, String)>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10m 02s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "2902f7107241ecbdfa4765465e6714fc514b75ceb57289ae18e8d566c6036627", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2902f7107241ecbdfa4765465e6714fc514b75ceb57289ae18e8d566c6036627", kill_on_drop: false }`
[INFO] [stdout] 2902f7107241ecbdfa4765465e6714fc514b75ceb57289ae18e8d566c6036627
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6400e1ded4a0fda3d2f95f997f66ad04f6a42297bd4ded8d23afb50847c9253e
[INFO] running `Command { std: "docker" "start" "-a" "6400e1ded4a0fda3d2f95f997f66ad04f6a42297bd4ded8d23afb50847c9253e", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `GenerateLinkService`
[INFO] [stdout]  --> src/api/handlers/redirect.rs:4:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::services::generate_id::{ GenerateLinkService};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::Json`
[INFO] [stdout]  --> src/repository/link.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use axum::Json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum_prometheus::PrometheusMetricLayer`
[INFO] [stdout]  --> src/startup.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum_prometheus::PrometheusMetricLayer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/startup.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::level_filters::LevelFilter`
[INFO] [stdout]  --> src/startup.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tracing::level_filters::LevelFilter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::Level`
[INFO] [stdout]  --> src/startup.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::Level;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::fmt`
[INFO] [stdout]  --> src/startup.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing_subscriber::fmt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::settings`
[INFO] [stdout]   --> src/startup.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::settings;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::link::Link`
[INFO] [stdout]  --> src/state.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::link::Link;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `metrics_exporter_prometheus::PrometheusHandle`
[INFO] [stdout]  --> src/state.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use metrics_exporter_prometheus::PrometheusHandle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/handlers/redirect.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Err(err) => Err((
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/repository/statistics.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Ok(Err(err)) => tracing::error!("Saving a new link click failes"),
[INFO] [stdout]    |                    ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `metrics::Counter` that must be used
[INFO] [stdout]   --> src/api/handlers/auth.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             counter!("unauthenticated_calls_count", &labels);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: counters do nothing unless you use them
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `metrics::Counter` that must be used
[INFO] [stdout]   --> src/api/handlers/auth.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         counter!("unauthenticated_calls_count", &labels);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: counters do nothing unless you use them
[INFO] [stdout]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `metrics::Counter` that must be used
[INFO] [stdout]   --> src/api/utils.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     counter!("request_error", &labels);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: counters do nothing unless you use them
[INFO] [stdout]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/auth.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     async fn create_auth(&self) -> Result<Auth, (StatusCode, String)>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 11 -     async fn create_auth(&self) -> Result<Auth, (StatusCode, String)>;
[INFO] [stdout] 11 +     fn create_auth(&self) -> impl std::future::Future<Output = Result<Auth, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/link.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn fetch_link_requested(&self, link_id: String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 12 -     async fn fetch_link_requested(&self, link_id: String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout] 12 +     fn fetch_link_requested(&self, link_id: String) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/link.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     async fn insert_link(&self, url: &String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 13 -     async fn insert_link(&self, url: &String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout] 13 +     fn insert_link(&self, url: &String) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/link.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     async fn update_link(
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 14 ~     fn update_link(
[INFO] [stdout] 15 |         &self,
[INFO] [stdout] 16 |         link_id: &String,
[INFO] [stdout] 17 |         url: &String,
[INFO] [stdout] 18 ~     ) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/repository/statistics.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     async fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str);
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 8 -     async fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str);
[INFO] [stdout] 8 +     fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/repository/statistics.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn fetch_statistics(
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 ~     fn fetch_statistics(
[INFO] [stdout] 10|         &self,
[INFO] [stdout] 11|         link_id: &String,
[INFO] [stdout] 12~     ) -> impl std::future::Future<Output = Result<Vec<CountedLinkStastitic>, (StatusCode, String)>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling link_shortener v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `GenerateLinkService`
[INFO] [stdout]  --> src/api/handlers/redirect.rs:4:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::services::generate_id::{ GenerateLinkService};
[INFO] [stdout]   |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::Json`
[INFO] [stdout]  --> src/repository/link.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use axum::Json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum_prometheus::PrometheusMetricLayer`
[INFO] [stdout]  --> src/startup.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum_prometheus::PrometheusMetricLayer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/startup.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::level_filters::LevelFilter`
[INFO] [stdout]  --> src/startup.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tracing::level_filters::LevelFilter;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::Level`
[INFO] [stdout]  --> src/startup.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::Level;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing_subscriber::fmt`
[INFO] [stdout]  --> src/startup.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use tracing_subscriber::fmt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::settings`
[INFO] [stdout]   --> src/startup.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::settings;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models::link::Link`
[INFO] [stdout]  --> src/state.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::models::link::Link;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `metrics_exporter_prometheus::PrometheusHandle`
[INFO] [stdout]  --> src/state.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use metrics_exporter_prometheus::PrometheusHandle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/api/handlers/redirect.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Err(err) => Err((
[INFO] [stdout]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/repository/statistics.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |             Ok(Err(err)) => tracing::error!("Saving a new link click failes"),
[INFO] [stdout]    |                    ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `metrics::Counter` that must be used
[INFO] [stdout]   --> src/api/handlers/auth.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             counter!("unauthenticated_calls_count", &labels);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: counters do nothing unless you use them
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `metrics::Counter` that must be used
[INFO] [stdout]   --> src/api/handlers/auth.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         counter!("unauthenticated_calls_count", &labels);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: counters do nothing unless you use them
[INFO] [stdout]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `metrics::Counter` that must be used
[INFO] [stdout]   --> src/api/utils.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     counter!("request_error", &labels);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: counters do nothing unless you use them
[INFO] [stdout]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/auth.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     async fn create_auth(&self) -> Result<Auth, (StatusCode, String)>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 11 -     async fn create_auth(&self) -> Result<Auth, (StatusCode, String)>;
[INFO] [stdout] 11 +     fn create_auth(&self) -> impl std::future::Future<Output = Result<Auth, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/link.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     async fn fetch_link_requested(&self, link_id: String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 12 -     async fn fetch_link_requested(&self, link_id: String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout] 12 +     fn fetch_link_requested(&self, link_id: String) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/link.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     async fn insert_link(&self, url: &String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 13 -     async fn insert_link(&self, url: &String) -> Result<Link, (StatusCode, String)>;
[INFO] [stdout] 13 +     fn insert_link(&self, url: &String) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]   --> src/repository/link.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     async fn update_link(
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]    |
[INFO] [stdout] 14 ~     fn update_link(
[INFO] [stdout] 15 |         &self,
[INFO] [stdout] 16 |         link_id: &String,
[INFO] [stdout] 17 |         url: &String,
[INFO] [stdout] 18 ~     ) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/repository/statistics.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     async fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str);
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 8 -     async fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str);
[INFO] [stdout] 8 +     fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stdout]  --> src/repository/statistics.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     async fn fetch_statistics(
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stdout]   |
[INFO] [stdout] 9 ~     fn fetch_statistics(
[INFO] [stdout] 10|         &self,
[INFO] [stdout] 11|         link_id: &String,
[INFO] [stdout] 12~     ) -> impl std::future::Future<Output = Result<Vec<CountedLinkStastitic>, (StatusCode, String)>> + Send;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.57s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] running `Command { std: "docker" "inspect" "6400e1ded4a0fda3d2f95f997f66ad04f6a42297bd4ded8d23afb50847c9253e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6400e1ded4a0fda3d2f95f997f66ad04f6a42297bd4ded8d23afb50847c9253e", kill_on_drop: false }`
[INFO] [stdout] 6400e1ded4a0fda3d2f95f997f66ad04f6a42297bd4ded8d23afb50847c9253e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 907a4e09bdb872869f8f29744a3361fceb7862a4e870480eb28ef36ef86a5043
[INFO] running `Command { std: "docker" "start" "-a" "907a4e09bdb872869f8f29744a3361fceb7862a4e870480eb28ef36ef86a5043", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `GenerateLinkService`
[INFO] [stderr]  --> src/api/handlers/redirect.rs:4:37
[INFO] [stderr]   |
[INFO] [stderr] 4 | use crate::services::generate_id::{ GenerateLinkService};
[INFO] [stderr]   |                                     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `axum::Json`
[INFO] [stderr]  --> src/repository/link.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use axum::Json;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `axum_prometheus::PrometheusMetricLayer`
[INFO] [stderr]  --> src/startup.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use axum_prometheus::PrometheusMetricLayer;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::error::Error`
[INFO] [stderr]  --> src/startup.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::error::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tracing::level_filters::LevelFilter`
[INFO] [stderr]  --> src/startup.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use tracing::level_filters::LevelFilter;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tracing::Level`
[INFO] [stderr]  --> src/startup.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use tracing::Level;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tracing_subscriber::fmt`
[INFO] [stderr]  --> src/startup.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use tracing_subscriber::fmt;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::settings`
[INFO] [stderr]   --> src/startup.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use crate::settings;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::models::link::Link`
[INFO] [stderr]  --> src/state.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::models::link::Link;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `metrics_exporter_prometheus::PrometheusHandle`
[INFO] [stderr]  --> src/state.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use metrics_exporter_prometheus::PrometheusHandle;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/api/handlers/redirect.rs:65:17
[INFO] [stderr]    |
[INFO] [stderr] 65 |             Err(err) => Err((
[INFO] [stderr]    |                 ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]   --> src/repository/statistics.rs:33:20
[INFO] [stderr]    |
[INFO] [stderr] 33 |             Ok(Err(err)) => tracing::error!("Saving a new link click failes"),
[INFO] [stderr]    |                    ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused `metrics::Counter` that must be used
[INFO] [stderr]   --> src/api/handlers/auth.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 |             counter!("unauthenticated_calls_count", &labels);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: counters do nothing unless you use them
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `metrics::Counter` that must be used
[INFO] [stderr]   --> src/api/handlers/auth.rs:33:9
[INFO] [stderr]    |
[INFO] [stderr] 33 |         counter!("unauthenticated_calls_count", &labels);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: counters do nothing unless you use them
[INFO] [stderr]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `metrics::Counter` that must be used
[INFO] [stderr]   --> src/api/utils.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     counter!("request_error", &labels);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: counters do nothing unless you use them
[INFO] [stderr]    = note: this warning originates in the macro `counter` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/repository/auth.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     async fn create_auth(&self) -> Result<Auth, (StatusCode, String)>;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr]    = note: `#[warn(async_fn_in_trait)]` on by default
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 11 -     async fn create_auth(&self) -> Result<Auth, (StatusCode, String)>;
[INFO] [stderr] 11 +     fn create_auth(&self) -> impl std::future::Future<Output = Result<Auth, (StatusCode, String)>> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/repository/link.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     async fn fetch_link_requested(&self, link_id: String) -> Result<Link, (StatusCode, String)>;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 12 -     async fn fetch_link_requested(&self, link_id: String) -> Result<Link, (StatusCode, String)>;
[INFO] [stderr] 12 +     fn fetch_link_requested(&self, link_id: String) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/repository/link.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     async fn insert_link(&self, url: &String) -> Result<Link, (StatusCode, String)>;
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 13 -     async fn insert_link(&self, url: &String) -> Result<Link, (StatusCode, String)>;
[INFO] [stderr] 13 +     fn insert_link(&self, url: &String) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]   --> src/repository/link.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 |     async fn update_link(
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]    |
[INFO] [stderr] 14 ~     fn update_link(
[INFO] [stderr] 15 |         &self,
[INFO] [stderr] 16 |         link_id: &String,
[INFO] [stderr] 17 |         url: &String,
[INFO] [stderr] 18 ~     ) -> impl std::future::Future<Output = Result<Link, (StatusCode, String)>> + Send;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]  --> src/repository/statistics.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 |     async fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str);
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]   |
[INFO] [stderr] 8 -     async fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str);
[INFO] [stderr] 8 +     fn save_statistics(&self, link_id: &str, referer: &str, user_agent: &str) -> impl std::future::Future<Output = ()> + Send;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified
[INFO] [stderr]  --> src/repository/statistics.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     async fn fetch_statistics(
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future`
[INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change
[INFO] [stderr]   |
[INFO] [stderr] 9 ~     fn fetch_statistics(
[INFO] [stderr] 10|         &self,
[INFO] [stderr] 11|         link_id: &String,
[INFO] [stderr] 12~     ) -> impl std::future::Future<Output = Result<Vec<CountedLinkStastitic>, (StatusCode, String)>> + Send;
[INFO] [stderr]   |
[INFO] [stderr] 
[INFO] [stderr] warning: `link_shortener` (lib) generated 21 warnings (run `cargo fix --lib -p link_shortener` to apply 10 suggestions)
[INFO] [stderr] warning: `link_shortener` (lib test) generated 21 warnings (21 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/link_shortener-915e8adda3cb31e5)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/link_shortener-d007a5cc9e88fecf)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests link_shortener
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "907a4e09bdb872869f8f29744a3361fceb7862a4e870480eb28ef36ef86a5043", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "907a4e09bdb872869f8f29744a3361fceb7862a4e870480eb28ef36ef86a5043", kill_on_drop: false }`
[INFO] [stdout] 907a4e09bdb872869f8f29744a3361fceb7862a4e870480eb28ef36ef86a5043
