[INFO] cloning repository https://github.com/DavidPZ142/Rust_httpClient
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DavidPZ142/Rust_httpClient" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidPZ142%2FRust_httpClient", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidPZ142%2FRust_httpClient'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6b56fe4d5f089d65d2612e00ce65a20a11969c68
[INFO] checking DavidPZ142/Rust_httpClient against try#09eeb2bacb9b40b2ed1d47f03177442c0632cda1 for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidPZ142%2FRust_httpClient" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DavidPZ142/Rust_httpClient
[INFO] finished tweaking git repo https://github.com/DavidPZ142/Rust_httpClient
[INFO] tweaked toml for git repo https://github.com/DavidPZ142/Rust_httpClient written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DavidPZ142/Rust_httpClient on toolchain 09eeb2bacb9b40b2ed1d47f03177442c0632cda1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DavidPZ142/Rust_httpClient 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" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c4dc585e7700789eb631d41a7b1b4441b7d6e50e687a685ee23ee5b02ee58a3e
[INFO] running `Command { std: "docker" "start" "c4dc585e7700789eb631d41a7b1b4441b7d6e50e687a685ee23ee5b02ee58a3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c4dc585e7700789eb631d41a7b1b4441b7d6e50e687a685ee23ee5b02ee58a3e" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c4dc585e7700789eb631d41a7b1b4441b7d6e50e687a685ee23ee5b02ee58a3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c4dc585e7700789eb631d41a7b1b4441b7d6e50e687a685ee23ee5b02ee58a3e" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking once_cell v1.21.1
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]     Checking rustls-pki-types v1.11.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling rustls v0.23.25
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking winnow v0.7.4
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]     Checking indexmap v2.8.0
[INFO] [stderr]     Checking hashlink v0.10.0
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking trim-in-place v0.1.7
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking flate2 v1.1.0
[INFO] [stderr]     Checking webpki-roots v0.26.8
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking pathdiff v0.2.3
[INFO] [stderr]     Checking jiff v0.2.4
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking ureq-proto v0.3.5
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking rust-ini v0.21.1
[INFO] [stderr]     Checking yaml-rust2 v0.10.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking env_logger v0.11.7
[INFO] [stderr]     Checking rustls-webpki v0.103.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[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 thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking tokio v1.44.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking pest v2.7.15
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]    Compiling pest_meta v2.7.15
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]    Compiling pest_generator v2.7.15
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]    Compiling pest_derive v2.7.15
[INFO] [stderr]     Checking h2 v0.4.8
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking toml_edit v0.22.24
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking ureq v3.0.10
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking toml v0.8.20
[INFO] [stderr]     Checking config v0.15.11
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.15
[INFO] [stderr]     Checking my_rust_project v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::infrastructure::http_client::HttpClient`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::infrastructure::http_client::HttpClient;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::http_service::HttpService`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::services::http_service::HttpService;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/infrastructure/http_client_2.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{error, info, warn};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Body`
[INFO] [stdout]  --> src/infrastructure/http_client_2.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ureq::{Agent, Body};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ureq::config::Config`
[INFO] [stdout]  --> src/infrastructure/http_client_2.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ureq::config::Config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ureq::http::Response`
[INFO] [stdout]  --> src/infrastructure/http_client_2.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ureq::http::Response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::infrastructure::http_client::HttpClient`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::infrastructure::http_client::HttpClient;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::services::http_service::HttpService`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::services::http_service::HttpService;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/infrastructure/http_client_2.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{error, info, warn};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Body`
[INFO] [stdout]  --> src/infrastructure/http_client_2.rs:5:19
[INFO] [stdout]   |
[INFO] [stdout] 5 | use ureq::{Agent, Body};
[INFO] [stdout]   |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ureq::config::Config`
[INFO] [stdout]  --> src/infrastructure/http_client_2.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ureq::config::Config;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ureq::http::Response`
[INFO] [stdout]  --> src/infrastructure/http_client_2.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use ureq::http::Response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/infrastructure/http_client_2.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut config = Agent::config_builder()
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Student` is never constructed
[INFO] [stdout]  --> src/student.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Student{
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `look_info` are never used
[INFO] [stdout]   --> src/student.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Student {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout]  6 |     pub fn new (name: &str , age : u8) -> Student{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn look_info(&self){
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Response` is never constructed
[INFO] [stdout]  --> src/domain/http/response.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Response<T> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/domain/http/response.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Response<serde_json::Value> {
[INFO] [stdout]    | -------------------------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new (status : u16, headers: HashMap<String,String>, body: serde_json::Value) -> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ResponseError` and `DeserializationError` are never constructed
[INFO] [stdout]   --> src/errors/http_error.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum HttpError{
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  9 |     ResponseError(u16),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     DeserializationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpClient` is never constructed
[INFO] [stdout]  --> src/infrastructure/http_client.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct HttpClient {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, and `post` are never used
[INFO] [stdout]   --> src/infrastructure/http_client.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl HttpClient {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(base_url: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub async fn get(&self, endpoint : &str) -> Result<Value, HttpError> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub async fn post<T: Serialize>(&self, endpoint: &str, data: &T) -> Result<Value, HttpError> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/infrastructure/http_client_2.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl HttpClient2 {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn  get(&self, url : &str) -> Result<Value, HttpError>  {
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpService` is never constructed
[INFO] [stdout]  --> src/services/http_service.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct HttpService {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, and `post` are never used
[INFO] [stdout]   --> src/services/http_service.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl HttpService {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(client: HttpClient) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub async fn get(&self, endpoint: &str) -> Result<Value, HttpError> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub async fn post<T: Serialize>(&self, endpoint: &str, data: &T) -> Result<Value, HttpError> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/infrastructure/http_client_2.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let mut config = Agent::config_builder()
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Student` is never constructed
[INFO] [stdout]  --> src/student.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Student{
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `look_info` are never used
[INFO] [stdout]   --> src/student.rs:6:12
[INFO] [stdout]    |
[INFO] [stdout]  5 | impl Student {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout]  6 |     pub fn new (name: &str , age : u8) -> Student{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn look_info(&self){
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Response` is never constructed
[INFO] [stdout]  --> src/domain/http/response.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Response<T> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/domain/http/response.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Response<serde_json::Value> {
[INFO] [stdout]    | -------------------------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn new (status : u16, headers: HashMap<String,String>, body: serde_json::Value) -> Self{
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ResponseError` and `DeserializationError` are never constructed
[INFO] [stdout]   --> src/errors/http_error.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  4 | pub enum HttpError{
[INFO] [stdout]    |          --------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  9 |     ResponseError(u16),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 12 |     DeserializationError(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpClient` is never constructed
[INFO] [stdout]  --> src/infrastructure/http_client.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct HttpClient {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, and `post` are never used
[INFO] [stdout]   --> src/infrastructure/http_client.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl HttpClient {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(base_url: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub async fn get(&self, endpoint : &str) -> Result<Value, HttpError> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub async fn post<T: Serialize>(&self, endpoint: &str, data: &T) -> Result<Value, HttpError> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get` is never used
[INFO] [stdout]   --> src/infrastructure/http_client_2.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl HttpClient2 {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn  get(&self, url : &str) -> Result<Value, HttpError>  {
[INFO] [stdout]    |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HttpService` is never constructed
[INFO] [stdout]  --> src/services/http_service.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct HttpService {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get`, and `post` are never used
[INFO] [stdout]   --> src/services/http_service.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl HttpService {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 12 |     pub fn new(client: HttpClient) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub async fn get(&self, endpoint: &str) -> Result<Value, HttpError> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub async fn post<T: Serialize>(&self, endpoint: &str, data: &T) -> Result<Value, HttpError> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.78s
[INFO] running `Command { std: "docker" "inspect" "c4dc585e7700789eb631d41a7b1b4441b7d6e50e687a685ee23ee5b02ee58a3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4dc585e7700789eb631d41a7b1b4441b7d6e50e687a685ee23ee5b02ee58a3e", kill_on_drop: false }`
[INFO] [stdout] c4dc585e7700789eb631d41a7b1b4441b7d6e50e687a685ee23ee5b02ee58a3e
