[INFO] cloning repository https://github.com/DanielHe4rt/twitter-scylladb-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanielHe4rt/twitter-scylladb-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielHe4rt%2Ftwitter-scylladb-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielHe4rt%2Ftwitter-scylladb-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 60211e3c1c3fd1c36da35f05d63ad700970c9452 [INFO] checking DanielHe4rt/twitter-scylladb-rust against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124305 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanielHe4rt%2Ftwitter-scylladb-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanielHe4rt/twitter-scylladb-rust on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DanielHe4rt/twitter-scylladb-rust [INFO] finished tweaking git repo https://github.com/DanielHe4rt/twitter-scylladb-rust [INFO] tweaked toml for git repo https://github.com/DanielHe4rt/twitter-scylladb-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DanielHe4rt/twitter-scylladb-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" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded charybdis_parser v0.4.4 [INFO] [stderr] Downloaded charybdis_macros v0.4.4 [INFO] [stderr] Downloaded scylla-macros v0.4.0 [INFO] [stderr] Downloaded lz4_flex v0.11.2 [INFO] [stderr] Downloaded charybdis v0.4.4 [INFO] [stderr] Downloaded bigdecimal v0.4.3 [INFO] [stderr] Downloaded scylla-cql v0.1.0 [INFO] [stderr] Downloaded scylla v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e6bdcec2c4ffac9805ffdbb58bd6c3ba97be6eb0d129b21ab8f69aaa6f14d47 [INFO] running `Command { std: "docker" "start" "-a" "3e6bdcec2c4ffac9805ffdbb58bd6c3ba97be6eb0d129b21ab8f69aaa6f14d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e6bdcec2c4ffac9805ffdbb58bd6c3ba97be6eb0d129b21ab8f69aaa6f14d47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e6bdcec2c4ffac9805ffdbb58bd6c3ba97be6eb0d129b21ab8f69aaa6f14d47", kill_on_drop: false }` [INFO] [stdout] 3e6bdcec2c4ffac9805ffdbb58bd6c3ba97be6eb0d129b21ab8f69aaa6f14d47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 047430d8625a29ff9f0d8f282bd58783f678bba9552a81ce5ae9f1dff303bb9e [INFO] running `Command { std: "docker" "start" "-a" "047430d8625a29ff9f0d8f282bd58783f678bba9552a81ce5ae9f1dff303bb9e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lz4_flex v0.11.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling bigdecimal v0.4.3 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.35 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling histogram v0.6.9 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling arc-swap v1.7.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking secrecy v0.7.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling scylla-macros v0.4.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Compiling scylla-cql v0.1.0 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking actix-router v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling scylla v0.12.0 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Compiling charybdis_parser v0.4.4 [INFO] [stderr] Compiling charybdis_macros v0.4.4 [INFO] [stderr] Checking charybdis v0.4.4 [INFO] [stderr] Checking twitter-clone-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Metrics` is never constructed [INFO] [stdout] --> src/services/metrics.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Metrics { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/services/metrics.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn increment(&self, metric_type: MetricsType, username: impl Into) -> Result<(), Error>; [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] 17 - async fn increment(&self, metric_type: MetricsType, username: impl Into) -> Result<(), Error>; [INFO] [stdout] 17 + fn increment(&self, metric_type: MetricsType, username: impl Into) -> impl std::future::Future> + 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/services/metrics.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn decrement(&self, metric_type: MetricsType, username: impl Into) -> Result<(), Error>; [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] 18 - async fn decrement(&self, metric_type: MetricsType, username: impl Into) -> Result<(), Error>; [INFO] [stdout] 18 + fn decrement(&self, metric_type: MetricsType, username: impl Into) -> impl std::future::Future> + 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/services/metrics.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn get_by_username(&self, username: impl Into) -> Result; [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] 20 - async fn get_by_username(&self, username: impl Into) -> Result; [INFO] [stdout] 20 + fn get_by_username(&self, username: impl Into) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Metrics` is never constructed [INFO] [stdout] --> src/services/metrics.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Metrics { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/services/metrics.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn increment(&self, metric_type: MetricsType, username: impl Into) -> Result<(), Error>; [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] 17 - async fn increment(&self, metric_type: MetricsType, username: impl Into) -> Result<(), Error>; [INFO] [stdout] 17 + fn increment(&self, metric_type: MetricsType, username: impl Into) -> impl std::future::Future> + 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/services/metrics.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | async fn decrement(&self, metric_type: MetricsType, username: impl Into) -> Result<(), Error>; [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] 18 - async fn decrement(&self, metric_type: MetricsType, username: impl Into) -> Result<(), Error>; [INFO] [stdout] 18 + fn decrement(&self, metric_type: MetricsType, username: impl Into) -> impl std::future::Future> + 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/services/metrics.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | async fn get_by_username(&self, username: impl Into) -> Result; [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] 20 - async fn get_by_username(&self, username: impl Into) -> Result; [INFO] [stdout] 20 + fn get_by_username(&self, username: impl Into) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `web` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{App, HttpServer, web}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Data` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::web::Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twitter_clone_api::http::controllers::find_tweet::find_tweet_by_id` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use twitter_clone_api::http::controllers::find_tweet::find_tweet_by_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twitter_clone_api::http::controllers::get_user_profile::get_user_profile` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use twitter_clone_api::http::controllers::get_user_profile::get_user_profile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twitter_clone_api::http::controllers::post_tweet::post_tweet` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use twitter_clone_api::http::controllers::post_tweet::post_tweet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twitter_clone_api::services::metrics` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use twitter_clone_api::services::metrics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `web` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{App, HttpServer, web}; [INFO] [stdout] | ^^^ ^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::web::Data` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::web::Data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twitter_clone_api::http::controllers::find_tweet::find_tweet_by_id` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use twitter_clone_api::http::controllers::find_tweet::find_tweet_by_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twitter_clone_api::http::controllers::get_user_profile::get_user_profile` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use twitter_clone_api::http::controllers::get_user_profile::get_user_profile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twitter_clone_api::http::controllers::post_tweet::post_tweet` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use twitter_clone_api::http::controllers::post_tweet::post_tweet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `twitter_clone_api::services::metrics` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use twitter_clone_api::services::metrics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_url` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let app_url = app_data.config.app.url.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_port` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let app_port = app_data.config.app.port.parse::()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_url` [INFO] [stdout] --> src/main.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let app_url = app_data.config.app.url.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_port` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let app_port = app_data.config.app.port.parse::()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.37s [INFO] running `Command { std: "docker" "inspect" "047430d8625a29ff9f0d8f282bd58783f678bba9552a81ce5ae9f1dff303bb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "047430d8625a29ff9f0d8f282bd58783f678bba9552a81ce5ae9f1dff303bb9e", kill_on_drop: false }` [INFO] [stdout] 047430d8625a29ff9f0d8f282bd58783f678bba9552a81ce5ae9f1dff303bb9e