[INFO] cloning repository https://github.com/sutin1234/axum-resp-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sutin1234/axum-resp-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsutin1234%2Faxum-resp-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsutin1234%2Faxum-resp-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 147af4b097ea2ee73a96bd45343dc6463375e36d
[INFO] checking sutin1234/axum-resp-api/147af4b097ea2ee73a96bd45343dc6463375e36d against c9ff496891c278ad660bc0ab85c1f0b72059464a for pr-160491
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsutin1234%2Faxum-resp-api" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sutin1234/axum-resp-api
[INFO] finished tweaking git repo https://github.com/sutin1234/axum-resp-api
[INFO] tweaked toml for git repo https://github.com/sutin1234/axum-resp-api written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sutin1234/axum-resp-api on toolchain c9ff496891c278ad660bc0ab85c1f0b72059464a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sutin1234/axum-resp-api 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" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded hermit-abi v0.3.4
[INFO] [stderr]   Downloaded http-body-util v0.1.0
[INFO] [stderr]   Downloaded tower-http v0.5.1
[INFO] [stderr]   Downloaded quoted_printable v0.5.0
[INFO] [stderr]   Downloaded chrono-tz-build v0.2.1
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.90
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.90
[INFO] [stderr]   Downloaded email_address v0.2.4
[INFO] [stderr]   Downloaded email-encoding v0.2.0
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.40
[INFO] [stderr]   Downloaded pkg-config v0.3.29
[INFO] [stderr]   Downloaded serde_path_to_error v0.1.15
[INFO] [stderr]   Downloaded axum-core v0.4.3
[INFO] [stderr]   Downloaded multer v3.0.0
[INFO] [stderr]   Downloaded tempfile v3.9.0
[INFO] [stderr]   Downloaded iana-time-zone v0.1.59
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.90
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.90
[INFO] [stderr]   Downloaded async-trait v0.1.77
[INFO] [stderr]   Downloaded ahash v0.8.7
[INFO] [stderr]   Downloaded hyper-util v0.1.2
[INFO] [stderr]   Downloaded chumsky v0.9.3
[INFO] [stderr]   Downloaded parse-zoneinfo v0.3.0
[INFO] [stderr]   Downloaded js-sys v0.3.67
[INFO] [stderr]   Downloaded openssl-sys v0.9.99
[INFO] [stderr]   Downloaded http v1.0.0
[INFO] [stderr]   Downloaded hyper v1.1.0
[INFO] [stderr]   Downloaded lettre v0.11.3
[INFO] [stderr]   Downloaded axum v0.7.4
[INFO] [stderr]   Downloaded reqwest v0.11.23
[INFO] [stderr]   Downloaded h2 v0.4.2
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.90
[INFO] [stderr]   Downloaded h2 v0.3.24
[INFO] [stderr]   Downloaded chrono v0.4.32
[INFO] [stderr]   Downloaded openssl v0.10.63
[INFO] [stderr]   Downloaded rustix v0.38.30
[INFO] [stderr]   Downloaded chrono-tz v0.8.5
[INFO] [stderr]   Downloaded tokio v1.35.1
[INFO] [stderr]   Downloaded openssl-src v300.2.1+3.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3294b7bfca185964c0781f66524f93f2eb8402313e29be647e41bceeae0a9e73
[INFO] running `Command { std: "docker" "start" "3294b7bfca185964c0781f66524f93f2eb8402313e29be647e41bceeae0a9e73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3294b7bfca185964c0781f66524f93f2eb8402313e29be647e41bceeae0a9e73", 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" "3294b7bfca185964c0781f66524f93f2eb8402313e29be647e41bceeae0a9e73" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3294b7bfca185964c0781f66524f93f2eb8402313e29be647e41bceeae0a9e73", 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" "3294b7bfca185964c0781f66524f93f2eb8402313e29be647e41bceeae0a9e73" "/opt/rustwide/cargo-home/bin/cargo" "+c9ff496891c278ad660bc0ab85c1f0b72059464a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]    Compiling pkg-config v0.3.29
[INFO] [stderr]     Checking http v1.0.0
[INFO] [stderr]    Compiling serde v1.0.195
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling openssl-src v300.2.1+3.2.0
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking bitflags v2.4.2
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking ryu v1.0.16
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling multer v3.0.0
[INFO] [stderr]     Checking http-body-util v0.1.0
[INFO] [stderr]     Checking hdrhistogram v7.5.4
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling axum v0.7.4
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking iana-time-zone v0.1.59
[INFO] [stderr]     Checking chrono v0.4.32
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking chumsky v0.9.3
[INFO] [stderr]     Checking email-encoding v0.2.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.7
[INFO] [stderr]     Checking fastrand v2.0.1
[INFO] [stderr]     Checking email_address v0.2.4
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]     Checking quoted_printable v0.5.0
[INFO] [stderr]     Checking tower-http v0.5.1
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.0
[INFO] [stderr]    Compiling chrono-tz-build v0.2.1
[INFO] [stderr]    Compiling chrono-tz v0.8.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.195
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.3
[INFO] [stderr]     Checking tokio v1.35.1
[INFO] [stderr]     Checking pin-project v1.1.3
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]     Checking h2 v0.4.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.15
[INFO] [stderr]     Checking envy v0.4.2
[INFO] [stderr]     Checking hyper v1.1.0
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking hyper-util v0.1.2
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking lettre v0.11.3
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.23
[INFO] [stderr]     Checking axum-resp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `axum::Json`
[INFO] [stdout]  --> src/handlers/email_handler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::Json;
[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: `axum::Json`
[INFO] [stdout]  --> src/times/my_time.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::Json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TimeZone`
[INFO] [stdout]  --> src/times/my_time.rs:2:46
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, Local, NaiveDateTime, TimeZone, Utc};
[INFO] [stdout]   |                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono_tz::Tz`
[INFO] [stdout]  --> src/times/my_time.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono_tz::Tz;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Value` and `json`
[INFO] [stdout]  --> src/times/my_time.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{json, Value};
[INFO] [stdout]   |                  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::Json`
[INFO] [stdout]  --> src/handlers/email_handler.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use axum::Json;
[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: `axum::Json`
[INFO] [stdout]  --> src/times/my_time.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::Json;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TimeZone`
[INFO] [stdout]  --> src/times/my_time.rs:2:46
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{DateTime, Local, NaiveDateTime, TimeZone, Utc};
[INFO] [stdout]   |                                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono_tz::Tz`
[INFO] [stdout]  --> src/times/my_time.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use chrono_tz::Tz;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Value` and `json`
[INFO] [stdout]  --> src/times/my_time.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::{json, Value};
[INFO] [stdout]   |                  ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
[INFO] [stdout]   --> src/times/my_time.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let naive = NaiveDateTime::from_timestamp(timestamp, 0);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/times/my_time.rs:40:45
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let datetime: DateTime<Utc> = DateTime::from_utc(naive, Utc);
[INFO] [stdout]    |                                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `from_timestamp_opt()` instead
[INFO] [stdout]   --> src/times/my_time.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let naive = NaiveDateTime::from_timestamp(timestamp, 0);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]   --> src/times/my_time.rs:40:45
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let datetime: DateTime<Utc> = DateTime::from_utc(naive, Utc);
[INFO] [stdout]    |                                             ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OK` and `Created` are never constructed
[INFO] [stdout]   --> src/api_response.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum ApiResponse {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 18 |     OK,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 19 |     Created,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BadRequest`, `Forbidden`, `Unauthorised`, and `InternalServerError` are never constructed
[INFO] [stdout]  --> src/error_response.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ApiError {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 5 |     BadRequest,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 6 |     Forbidden,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 7 |     Unauthorised,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 8 |     InternalServerError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_local_time` is never used
[INFO] [stdout]  --> src/times/my_time.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn get_local_time() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_time_format` is never used
[INFO] [stdout]   --> src/times/my_time.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn get_time_format(format: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timestamp_to_time` is never used
[INFO] [stdout]   --> src/times/my_time.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn timestamp_to_time(dt: &str, format: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `date_str_to_datetime` is never used
[INFO] [stdout]   --> src/times/my_time.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn date_str_to_datetime(date_str: &str, format: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_day_from_now` is never used
[INFO] [stdout]   --> src/times/my_time.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn add_day_from_now(num_days: i64) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `OK` and `Created` are never constructed
[INFO] [stdout]   --> src/api_response.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum ApiResponse {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 18 |     OK,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 19 |     Created,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `BadRequest`, `Forbidden`, `Unauthorised`, and `InternalServerError` are never constructed
[INFO] [stdout]  --> src/error_response.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ApiError {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 5 |     BadRequest,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 6 |     Forbidden,
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 7 |     Unauthorised,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 8 |     InternalServerError,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_local_time` is never used
[INFO] [stdout]  --> src/times/my_time.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn get_local_time() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_time_format` is never used
[INFO] [stdout]   --> src/times/my_time.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn get_time_format(format: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timestamp_to_time` is never used
[INFO] [stdout]   --> src/times/my_time.rs:37:4
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn timestamp_to_time(dt: &str, format: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `date_str_to_datetime` is never used
[INFO] [stdout]   --> src/times/my_time.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn date_str_to_datetime(date_str: &str, format: &str) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add_day_from_now` is never used
[INFO] [stdout]   --> src/times/my_time.rs:50:4
[INFO] [stdout]    |
[INFO] [stdout] 50 | fn add_day_from_now(num_days: i64) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 56s
[INFO] running `Command { std: "docker" "inspect" "3294b7bfca185964c0781f66524f93f2eb8402313e29be647e41bceeae0a9e73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3294b7bfca185964c0781f66524f93f2eb8402313e29be647e41bceeae0a9e73", kill_on_drop: false }`
[INFO] [stdout] 3294b7bfca185964c0781f66524f93f2eb8402313e29be647e41bceeae0a9e73
