[INFO] cloning repository https://github.com/Adriancoding96/sims_data_cacher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Adriancoding96/sims_data_cacher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdriancoding96%2Fsims_data_cacher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdriancoding96%2Fsims_data_cacher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ae70239ef1b0fead32d794320972713670dd79c8
[INFO] checking Adriancoding96/sims_data_cacher against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdriancoding96%2Fsims_data_cacher" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Adriancoding96/sims_data_cacher
[INFO] finished tweaking git repo https://github.com/Adriancoding96/sims_data_cacher
[INFO] tweaked toml for git repo https://github.com/Adriancoding96/sims_data_cacher written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Adriancoding96/sims_data_cacher on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Adriancoding96/sims_data_cacher 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0005beab3f6e7a59cac737f81d8f576fd61cc8728e6ec438182e3fef192ade2d
[INFO] running `Command { std: "docker" "start" "-a" "0005beab3f6e7a59cac737f81d8f576fd61cc8728e6ec438182e3fef192ade2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0005beab3f6e7a59cac737f81d8f576fd61cc8728e6ec438182e3fef192ade2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0005beab3f6e7a59cac737f81d8f576fd61cc8728e6ec438182e3fef192ade2d", kill_on_drop: false }`
[INFO] [stdout] 0005beab3f6e7a59cac737f81d8f576fd61cc8728e6ec438182e3fef192ade2d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ee9405c4452a05d55ffe370d242e826ef73e9c2f6a989ffc9230b502c57b1e06
[INFO] running `Command { std: "docker" "start" "-a" "ee9405c4452a05d55ffe370d242e826ef73e9c2f6a989ffc9230b502c57b1e06", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]     Checking bytes v1.6.0
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]    Compiling rustversion v1.0.15
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling serde v1.0.199
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking tower-layer v0.3.2
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling axum-core v0.4.3
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking lru v0.12.3
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking http-body v1.0.0
[INFO] [stderr]     Checking http-body-util v0.1.1
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling serde_derive v1.0.199
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking h2 v0.4.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking hyper v1.3.1
[INFO] [stderr]     Checking hyper-util v0.1.3
[INFO] [stderr]     Checking axum-server v0.6.0
[INFO] [stderr]     Checking sims_data_cacher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:31:82
[INFO] [stdout]    |
[INFO] [stdout] 31 |   pub async fn access_cache(data: Json<DataModel>) -> Result<Response, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________^
[INFO] [stdout] 32 | |     let mut cache = CACHE.lock().await;
[INFO] [stdout] 33 | |     if let Some(_value) = cache.get(&data.key) {
[INFO] [stdout] 34 | |         match to_string(&data.json_object) { //Validation check to ensure the JSON structure is okay
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:31:82
[INFO] [stdout]    |
[INFO] [stdout] 31 |   pub async fn access_cache(data: Json<DataModel>) -> Result<Response, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________^
[INFO] [stdout] 32 | |     let mut cache = CACHE.lock().await;
[INFO] [stdout] 33 | |     if let Some(_value) = cache.get(&data.key) {
[INFO] [stdout] 34 | |         match to_string(&data.json_object) { //Validation check to ensure the JSON structure is okay
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:31:82
[INFO] [stdout]    |
[INFO] [stdout] 31 |   pub async fn access_cache(data: Json<DataModel>) -> Result<Response, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________^
[INFO] [stdout] 32 | |     let mut cache = CACHE.lock().await;
[INFO] [stdout] 33 | |     if let Some(_value) = cache.get(&data.key) {
[INFO] [stdout] 34 | |         match to_string(&data.json_object) { //Validation check to ensure the JSON structure is okay
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | /     if let Some(_value) = cache.get(&data.key) {
[INFO] [stdout] 34 | |         match to_string(&data.json_object) { //Validation check to ensure the JSON structure is okay
[INFO] [stdout] 35 | |             Ok(json) => Ok(Response::builder()
[INFO] [stdout] 36 | |                 .status(StatusCode::OK)
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |             .unwrap())
[INFO] [stdout] 49 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:31:82
[INFO] [stdout]    |
[INFO] [stdout] 31 |   pub async fn access_cache(data: Json<DataModel>) -> Result<Response, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________^
[INFO] [stdout] 32 | |     let mut cache = CACHE.lock().await;
[INFO] [stdout] 33 | |     if let Some(_value) = cache.get(&data.key) {
[INFO] [stdout] 34 | |         match to_string(&data.json_object) { //Validation check to ensure the JSON structure is okay
[INFO] [stdout] ...  |
[INFO] [stdout] 50 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:33:48
[INFO] [stdout]    |
[INFO] [stdout] 33 |       if let Some(_value) = cache.get(&data.key) {
[INFO] [stdout]    |  ________________________________________________^
[INFO] [stdout] 34 | |         match to_string(&data.json_object) { //Validation check to ensure the JSON structure is okay
[INFO] [stdout] 35 | |             Ok(json) => Ok(Response::builder()
[INFO] [stdout] 36 | |                 .status(StatusCode::OK)
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     } else {
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | /         match to_string(&data.json_object) { //Validation check to ensure the JSON structure is okay
[INFO] [stdout] 35 | |             Ok(json) => Ok(Response::builder()
[INFO] [stdout] 36 | |                 .status(StatusCode::OK)
[INFO] [stdout] 37 | |                 .body(Body::from(json))
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |                 .unwrap())
[INFO] [stdout] 43 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |               Ok(json) => Ok(Response::builder()
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 36 | |                 .status(StatusCode::OK)
[INFO] [stdout] 37 | |                 .body(Body::from(json))
[INFO] [stdout] 38 | |                 .unwrap()),
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | /     if let Some(_value) = cache.get(&data.key) {
[INFO] [stdout] 34 | |         match to_string(&data.json_object) { //Validation check to ensure the JSON structure is okay
[INFO] [stdout] 35 | |             Ok(json) => Ok(Response::builder()
[INFO] [stdout] 36 | |                 .status(StatusCode::OK)
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |             .unwrap())
[INFO] [stdout] 49 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |               Err(_) => Ok(Response::builder()
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 40 | |                 .status(StatusCode::BAD_REQUEST)
[INFO] [stdout] 41 | |                 .body(Body::from("Invalid JSON structure"))
[INFO] [stdout] 42 | |                 .unwrap())
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:33:48
[INFO] [stdout]    |
[INFO] [stdout] 33 |       if let Some(_value) = cache.get(&data.key) {
[INFO] [stdout]    |  ________________________________________________^
[INFO] [stdout] 34 | |         match to_string(&data.json_object) { //Validation check to ensure the JSON structure is okay
[INFO] [stdout] 35 | |             Ok(json) => Ok(Response::builder()
[INFO] [stdout] 36 | |                 .status(StatusCode::OK)
[INFO] [stdout] ...  |
[INFO] [stdout] 44 | |     } else {
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |       } else {
[INFO] [stdout]    |  ____________^
[INFO] [stdout] 45 | |         Ok(Response::builder()
[INFO] [stdout] 46 | |             .status(StatusCode::NOT_FOUND)
[INFO] [stdout] 47 | |             .body(Body::from("data not in cache"))
[INFO] [stdout] 48 | |             .unwrap())
[INFO] [stdout] 49 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | /         match to_string(&data.json_object) { //Validation check to ensure the JSON structure is okay
[INFO] [stdout] 35 | |             Ok(json) => Ok(Response::builder()
[INFO] [stdout] 36 | |                 .status(StatusCode::OK)
[INFO] [stdout] 37 | |                 .body(Body::from(json))
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | |                 .unwrap())
[INFO] [stdout] 43 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         Ok(Response::builder()
[INFO] [stdout] 46 | |             .status(StatusCode::NOT_FOUND)
[INFO] [stdout] 47 | |             .body(Body::from("data not in cache"))
[INFO] [stdout] 48 | |             .unwrap())
[INFO] [stdout]    | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:35:25
[INFO] [stdout]    |
[INFO] [stdout] 35 |               Ok(json) => Ok(Response::builder()
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 36 | |                 .status(StatusCode::OK)
[INFO] [stdout] 37 | |                 .body(Body::from(json))
[INFO] [stdout] 38 | |                 .unwrap()),
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:39:23
[INFO] [stdout]    |
[INFO] [stdout] 39 |               Err(_) => Ok(Response::builder()
[INFO] [stdout]    |  _______________________^
[INFO] [stdout] 40 | |                 .status(StatusCode::BAD_REQUEST)
[INFO] [stdout] 41 | |                 .body(Body::from("Invalid JSON structure"))
[INFO] [stdout] 42 | |                 .unwrap())
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:54:82
[INFO] [stdout]    |
[INFO] [stdout] 54 |   pub async fn insert_cache(data: Json<DataModel>) -> Result<Response, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________^
[INFO] [stdout] 55 | |     let mut cache = CACHE.lock().await;
[INFO] [stdout] 56 | |     match to_string(&data.json_object) { //Serialize json object before caching
[INFO] [stdout] 57 | |         Ok(json_str) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |       } else {
[INFO] [stdout]    |  ____________^
[INFO] [stdout] 45 | |         Ok(Response::builder()
[INFO] [stdout] 46 | |             .status(StatusCode::NOT_FOUND)
[INFO] [stdout] 47 | |             .body(Body::from("data not in cache"))
[INFO] [stdout] 48 | |             .unwrap())
[INFO] [stdout] 49 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | /         Ok(Response::builder()
[INFO] [stdout] 46 | |             .status(StatusCode::NOT_FOUND)
[INFO] [stdout] 47 | |             .body(Body::from("data not in cache"))
[INFO] [stdout] 48 | |             .unwrap())
[INFO] [stdout]    | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:54:82
[INFO] [stdout]    |
[INFO] [stdout] 54 |   pub async fn insert_cache(data: Json<DataModel>) -> Result<Response, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________^
[INFO] [stdout] 55 | |     let mut cache = CACHE.lock().await;
[INFO] [stdout] 56 | |     match to_string(&data.json_object) { //Serialize json object before caching
[INFO] [stdout] 57 | |         Ok(json_str) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | /     match to_string(&data.json_object) { //Serialize json object before caching
[INFO] [stdout] 57 | |         Ok(json_str) => {
[INFO] [stdout] 58 | |             cache.put(data.key.clone(), json_str); // If serialization is successful, insert the serialized string into the cache
[INFO] [stdout] 59 | |             Ok(Response::builder()
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |           Ok(json_str) => {
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 58 | |             cache.put(data.key.clone(), json_str); // If serialization is successful, insert the serialized string into the cache
[INFO] [stdout] 59 | |             Ok(Response::builder()
[INFO] [stdout] 60 | |                 .status(StatusCode::CREATED)
[INFO] [stdout] 61 | |                 .body(Body::from("Data cached successfully"))
[INFO] [stdout] 62 | |                 .unwrap())
[INFO] [stdout] 63 | |         },
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:54:82
[INFO] [stdout]    |
[INFO] [stdout] 54 |   pub async fn insert_cache(data: Json<DataModel>) -> Result<Response, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________^
[INFO] [stdout] 55 | |     let mut cache = CACHE.lock().await;
[INFO] [stdout] 56 | |     match to_string(&data.json_object) { //Serialize json object before caching
[INFO] [stdout] 57 | |         Ok(json_str) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:54:82
[INFO] [stdout]    |
[INFO] [stdout] 54 |   pub async fn insert_cache(data: Json<DataModel>) -> Result<Response, Infallible> {
[INFO] [stdout]    |  __________________________________________________________________________________^
[INFO] [stdout] 55 | |     let mut cache = CACHE.lock().await;
[INFO] [stdout] 56 | |     match to_string(&data.json_object) { //Serialize json object before caching
[INFO] [stdout] 57 | |         Ok(json_str) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 71 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | /     match to_string(&data.json_object) { //Serialize json object before caching
[INFO] [stdout] 57 | |         Ok(json_str) => {
[INFO] [stdout] 58 | |             cache.put(data.key.clone(), json_str); // If serialization is successful, insert the serialized string into the cache
[INFO] [stdout] 59 | |             Ok(Response::builder()
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:57:25
[INFO] [stdout]    |
[INFO] [stdout] 57 |           Ok(json_str) => {
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 58 | |             cache.put(data.key.clone(), json_str); // If serialization is successful, insert the serialized string into the cache
[INFO] [stdout] 59 | |             Ok(Response::builder()
[INFO] [stdout] 60 | |                 .status(StatusCode::CREATED)
[INFO] [stdout] 61 | |                 .body(Body::from("Data cached successfully"))
[INFO] [stdout] 62 | |                 .unwrap())
[INFO] [stdout] 63 | |         },
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 | /             Ok(Response::builder()
[INFO] [stdout] 60 | |                 .status(StatusCode::CREATED)
[INFO] [stdout] 61 | |                 .body(Body::from("Data cached successfully"))
[INFO] [stdout] 62 | |                 .unwrap())
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 | /             Ok(Response::builder()
[INFO] [stdout] 60 | |                 .status(StatusCode::CREATED)
[INFO] [stdout] 61 | |                 .body(Body::from("Data cached successfully"))
[INFO] [stdout] 62 | |                 .unwrap())
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:64:19
[INFO] [stdout]    |
[INFO] [stdout] 64 |           Err(_) => {
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 65 | |             Ok(Response::builder()
[INFO] [stdout] 66 | |                 .status(StatusCode::BAD_REQUEST)
[INFO] [stdout] 67 | |                 .body(Body::from("Failed to serialize JSON object"))
[INFO] [stdout] 68 | |                 .unwrap())
[INFO] [stdout] 69 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:64:19
[INFO] [stdout]    |
[INFO] [stdout] 64 |           Err(_) => {
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 65 | |             Ok(Response::builder()
[INFO] [stdout] 66 | |                 .status(StatusCode::BAD_REQUEST)
[INFO] [stdout] 67 | |                 .body(Body::from("Failed to serialize JSON object"))
[INFO] [stdout] 68 | |                 .unwrap())
[INFO] [stdout] 69 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 | /             Ok(Response::builder()
[INFO] [stdout] 66 | |                 .status(StatusCode::BAD_REQUEST)
[INFO] [stdout] 67 | |                 .body(Body::from("Failed to serialize JSON object"))
[INFO] [stdout] 68 | |                 .unwrap())
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/routes/access_cache.rs:65:13
[INFO] [stdout]    |
[INFO] [stdout] 65 | /             Ok(Response::builder()
[INFO] [stdout] 66 | |                 .status(StatusCode::BAD_REQUEST)
[INFO] [stdout] 67 | |                 .body(Body::from("Failed to serialize JSON object"))
[INFO] [stdout] 68 | |                 .unwrap())
[INFO] [stdout]    | |__________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sims_data_cacher` (lib test) due to 16 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `sims_data_cacher` (lib) due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "ee9405c4452a05d55ffe370d242e826ef73e9c2f6a989ffc9230b502c57b1e06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee9405c4452a05d55ffe370d242e826ef73e9c2f6a989ffc9230b502c57b1e06", kill_on_drop: false }`
[INFO] [stdout] ee9405c4452a05d55ffe370d242e826ef73e9c2f6a989ffc9230b502c57b1e06
