[INFO] cloning repository https://github.com/tanguy-fgl/Calcularust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tanguy-fgl/Calcularust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanguy-fgl%2FCalcularust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanguy-fgl%2FCalcularust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d58e42cbf5622ff1ff7744506d68b0d96461b084
[INFO] checking tanguy-fgl/Calcularust 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%2Ftanguy-fgl%2FCalcularust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tanguy-fgl/Calcularust
[INFO] finished tweaking git repo https://github.com/tanguy-fgl/Calcularust
[INFO] tweaked toml for git repo https://github.com/tanguy-fgl/Calcularust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tanguy-fgl/Calcularust 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/tanguy-fgl/Calcularust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7e6bd83509a6065060ef67928911b77bfae1dd9b5419307b940fcd7b4a0f0c08
[INFO] running `Command { std: "docker" "start" "-a" "7e6bd83509a6065060ef67928911b77bfae1dd9b5419307b940fcd7b4a0f0c08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e6bd83509a6065060ef67928911b77bfae1dd9b5419307b940fcd7b4a0f0c08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e6bd83509a6065060ef67928911b77bfae1dd9b5419307b940fcd7b4a0f0c08", kill_on_drop: false }`
[INFO] [stdout] 7e6bd83509a6065060ef67928911b77bfae1dd9b5419307b940fcd7b4a0f0c08
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 85000c3fcc9f238137ca158cc6524a07ce7cae2608a3ff6f3d0c6397411c401e
[INFO] running `Command { std: "docker" "start" "-a" "85000c3fcc9f238137ca158cc6524a07ce7cae2608a3ff6f3d0c6397411c401e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking indexmap v2.11.0
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking serde_json v1.0.143
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking CalculaRust v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:79:83
[INFO] [stdout]     |
[INFO] [stdout]  79 |   async fn handle_request(req: Request<Body>) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]     |  ___________________________________________________________________________________^
[INFO] [stdout]  80 | |     match (req.method(), req.uri().path()) {
[INFO] [stdout]  81 | |         // Servir les fichiers statiques
[INFO] [stdout]  82 | |         (&Method::GET, "/") => {
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | | }
[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/main.rs:79:83
[INFO] [stdout]     |
[INFO] [stdout]  79 |   async fn handle_request(req: Request<Body>) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]     |  ___________________________________________________________________________________^
[INFO] [stdout]  80 | |     match (req.method(), req.uri().path()) {
[INFO] [stdout]  81 | |         // Servir les fichiers statiques
[INFO] [stdout]  82 | |         (&Method::GET, "/") => {
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:80:5
[INFO] [stdout]     |
[INFO] [stdout]  80 | /     match (req.method(), req.uri().path()) {
[INFO] [stdout]  81 | |         // Servir les fichiers statiques
[INFO] [stdout]  82 | |         (&Method::GET, "/") => {
[INFO] [stdout]  83 | |             Ok(Response::new(Body::from(include_str!("../static/index.html"))))
[INFO] [stdout] ...   |
[INFO] [stdout] 153 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:82:32
[INFO] [stdout]    |
[INFO] [stdout] 82 |           (&Method::GET, "/") => {
[INFO] [stdout]    |  ________________________________^
[INFO] [stdout] 83 | |             Ok(Response::new(Body::from(include_str!("../static/index.html"))))
[INFO] [stdout] 84 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Ok(Response::new(Body::from(include_str!("../static/index.html"))))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:85:41
[INFO] [stdout]    |
[INFO] [stdout] 85 |           (&Method::GET, "/style.css") => {
[INFO] [stdout]    |  _________________________________________^
[INFO] [stdout] 86 | |             let mut response = Response::new(Body::from(include_str!("../static/style.css")));
[INFO] [stdout] 87 | |             response.headers_mut().insert("content-type", "text/css".parse().unwrap());
[INFO] [stdout] 88 | |             Ok(response)
[INFO] [stdout] 89 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |             Ok(response)
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:90:41
[INFO] [stdout]    |
[INFO] [stdout] 90 |           (&Method::GET, "/script.js") => {
[INFO] [stdout]    |  _________________________________________^
[INFO] [stdout] 91 | |             let mut response = Response::new(Body::from(include_str!("../static/script.js")));
[INFO] [stdout] 92 | |             response.headers_mut().insert("content-type", "application/javascript".parse().unwrap());
[INFO] [stdout] 93 | |             Ok(response)
[INFO] [stdout] 94 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             Ok(response)
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:97:46
[INFO] [stdout]     |
[INFO] [stdout]  97 |           (&Method::POST, "/api/calculate") => {
[INFO] [stdout]     |  ______________________________________________^
[INFO] [stdout]  98 | |             let body_bytes = hyper::body::to_bytes(req.into_body()).await.unwrap_or_default();
[INFO] [stdout]  99 | |             
[INFO] [stdout] 100 | |             match serde_json::from_slice::<CalcRequest>(&body_bytes) {
[INFO] [stdout] ...   |
[INFO] [stdout] 136 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 | /             match serde_json::from_slice::<CalcRequest>(&body_bytes) {
[INFO] [stdout] 101 | |                 Ok(calc_req) => {
[INFO] [stdout] 102 | |                     let timestamp = Utc::now().format("%H:%M:%S");
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |             }
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:101:33
[INFO] [stdout]     |
[INFO] [stdout] 101 |                   Ok(calc_req) => {
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 102 | |                     let timestamp = Utc::now().format("%H:%M:%S");
[INFO] [stdout] ...   |
[INFO] [stdout] 128 | |                     Ok(res)
[INFO] [stdout] 129 | |                 }
[INFO] [stdout]     | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |                     Ok(res)
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:130:27
[INFO] [stdout]     |
[INFO] [stdout] 130 |                   Err(_) => {
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 131 | |                     let mut res = Response::new(Body::from("Invalid JSON"));
[INFO] [stdout] 132 | |                     *res.status_mut() = StatusCode::BAD_REQUEST;
[INFO] [stdout] 133 | |                     Ok(res)
[INFO] [stdout] 134 | |                 }
[INFO] [stdout]     | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     Ok(res)
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:139:49
[INFO] [stdout]     |
[INFO] [stdout] 139 |           (&Method::OPTIONS, "/api/calculate") => {
[INFO] [stdout]     |  _________________________________________________^
[INFO] [stdout] 140 | |             let mut res = Response::new(Body::empty());
[INFO] [stdout] 141 | |             res.headers_mut().insert("access-control-allow-origin", "*".parse().unwrap());
[INFO] [stdout] 142 | |             res.headers_mut().insert("access-control-allow-methods", "POST, OPTIONS".parse().unwrap());
[INFO] [stdout] 143 | |             res.headers_mut().insert("access-control-allow-headers", "content-type".parse().unwrap());
[INFO] [stdout] 144 | |             Ok(res)
[INFO] [stdout] 145 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |             Ok(res)
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:148:14
[INFO] [stdout]     |
[INFO] [stdout] 148 |           _ => {
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 149 | |             let mut res = Response::new(Body::from("Not Found"));
[INFO] [stdout] 150 | |             *res.status_mut() = StatusCode::NOT_FOUND;
[INFO] [stdout] 151 | |             Ok(res)
[INFO] [stdout] 152 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:151:13
[INFO] [stdout]     |
[INFO] [stdout] 151 |             Ok(res)
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<service::util::ServiceFn<fn(hyper::Request<Body>) -> impl Future<Output = Result<Response<Body>, Infallible>> {handle_request}, Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:161:15
[INFO] [stdout]     |
[INFO] [stdout] 161 |           async {
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 162 | |             Ok::<_, Infallible>(service_fn(handle_request))
[INFO] [stdout] 163 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<service::util::ServiceFn<fn(hyper::Request<Body>) -> impl Future<Output = Result<Response<Body>, Infallible>> {handle_request}, Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             Ok::<_, Infallible>(service_fn(handle_request))
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:79:83
[INFO] [stdout]     |
[INFO] [stdout]  79 |   async fn handle_request(req: Request<Body>) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]     |  ___________________________________________________________________________________^
[INFO] [stdout]  80 | |     match (req.method(), req.uri().path()) {
[INFO] [stdout]  81 | |         // Servir les fichiers statiques
[INFO] [stdout]  82 | |         (&Method::GET, "/") => {
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | | }
[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/main.rs:79:83
[INFO] [stdout]     |
[INFO] [stdout]  79 |   async fn handle_request(req: Request<Body>) -> Result<Response<Body>, Infallible> {
[INFO] [stdout]     |  ___________________________________________________________________________________^
[INFO] [stdout]  80 | |     match (req.method(), req.uri().path()) {
[INFO] [stdout]  81 | |         // Servir les fichiers statiques
[INFO] [stdout]  82 | |         (&Method::GET, "/") => {
[INFO] [stdout] ...   |
[INFO] [stdout] 154 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:80:5
[INFO] [stdout]     |
[INFO] [stdout]  80 | /     match (req.method(), req.uri().path()) {
[INFO] [stdout]  81 | |         // Servir les fichiers statiques
[INFO] [stdout]  82 | |         (&Method::GET, "/") => {
[INFO] [stdout]  83 | |             Ok(Response::new(Body::from(include_str!("../static/index.html"))))
[INFO] [stdout] ...   |
[INFO] [stdout] 153 | |     }
[INFO] [stdout]     | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:82:32
[INFO] [stdout]    |
[INFO] [stdout] 82 |           (&Method::GET, "/") => {
[INFO] [stdout]    |  ________________________________^
[INFO] [stdout] 83 | |             Ok(Response::new(Body::from(include_str!("../static/index.html"))))
[INFO] [stdout] 84 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Ok(Response::new(Body::from(include_str!("../static/index.html"))))
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:85:41
[INFO] [stdout]    |
[INFO] [stdout] 85 |           (&Method::GET, "/style.css") => {
[INFO] [stdout]    |  _________________________________________^
[INFO] [stdout] 86 | |             let mut response = Response::new(Body::from(include_str!("../static/style.css")));
[INFO] [stdout] 87 | |             response.headers_mut().insert("content-type", "text/css".parse().unwrap());
[INFO] [stdout] 88 | |             Ok(response)
[INFO] [stdout] 89 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |             Ok(response)
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:90:41
[INFO] [stdout]    |
[INFO] [stdout] 90 |           (&Method::GET, "/script.js") => {
[INFO] [stdout]    |  _________________________________________^
[INFO] [stdout] 91 | |             let mut response = Response::new(Body::from(include_str!("../static/script.js")));
[INFO] [stdout] 92 | |             response.headers_mut().insert("content-type", "application/javascript".parse().unwrap());
[INFO] [stdout] 93 | |             Ok(response)
[INFO] [stdout] 94 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]   --> src/main.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             Ok(response)
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:97:46
[INFO] [stdout]     |
[INFO] [stdout]  97 |           (&Method::POST, "/api/calculate") => {
[INFO] [stdout]     |  ______________________________________________^
[INFO] [stdout]  98 | |             let body_bytes = hyper::body::to_bytes(req.into_body()).await.unwrap_or_default();
[INFO] [stdout]  99 | |             
[INFO] [stdout] 100 | |             match serde_json::from_slice::<CalcRequest>(&body_bytes) {
[INFO] [stdout] ...   |
[INFO] [stdout] 136 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 | /             match serde_json::from_slice::<CalcRequest>(&body_bytes) {
[INFO] [stdout] 101 | |                 Ok(calc_req) => {
[INFO] [stdout] 102 | |                     let timestamp = Utc::now().format("%H:%M:%S");
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |             }
[INFO] [stdout]     | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:101:33
[INFO] [stdout]     |
[INFO] [stdout] 101 |                   Ok(calc_req) => {
[INFO] [stdout]     |  _________________________________^
[INFO] [stdout] 102 | |                     let timestamp = Utc::now().format("%H:%M:%S");
[INFO] [stdout] ...   |
[INFO] [stdout] 128 | |                     Ok(res)
[INFO] [stdout] 129 | |                 }
[INFO] [stdout]     | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:128:21
[INFO] [stdout]     |
[INFO] [stdout] 128 |                     Ok(res)
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:130:27
[INFO] [stdout]     |
[INFO] [stdout] 130 |                   Err(_) => {
[INFO] [stdout]     |  ___________________________^
[INFO] [stdout] 131 | |                     let mut res = Response::new(Body::from("Invalid JSON"));
[INFO] [stdout] 132 | |                     *res.status_mut() = StatusCode::BAD_REQUEST;
[INFO] [stdout] 133 | |                     Ok(res)
[INFO] [stdout] 134 | |                 }
[INFO] [stdout]     | |_________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:133:21
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     Ok(res)
[INFO] [stdout]     |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:139:49
[INFO] [stdout]     |
[INFO] [stdout] 139 |           (&Method::OPTIONS, "/api/calculate") => {
[INFO] [stdout]     |  _________________________________________________^
[INFO] [stdout] 140 | |             let mut res = Response::new(Body::empty());
[INFO] [stdout] 141 | |             res.headers_mut().insert("access-control-allow-origin", "*".parse().unwrap());
[INFO] [stdout] 142 | |             res.headers_mut().insert("access-control-allow-methods", "POST, OPTIONS".parse().unwrap());
[INFO] [stdout] 143 | |             res.headers_mut().insert("access-control-allow-headers", "content-type".parse().unwrap());
[INFO] [stdout] 144 | |             Ok(res)
[INFO] [stdout] 145 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |             Ok(res)
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:148:14
[INFO] [stdout]     |
[INFO] [stdout] 148 |           _ => {
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 149 | |             let mut res = Response::new(Body::from("Not Found"));
[INFO] [stdout] 150 | |             *res.status_mut() = StatusCode::NOT_FOUND;
[INFO] [stdout] 151 | |             Ok(res)
[INFO] [stdout] 152 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:151:13
[INFO] [stdout]     |
[INFO] [stdout] 151 |             Ok(res)
[INFO] [stdout]     |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<service::util::ServiceFn<fn(hyper::Request<Body>) -> impl Future<Output = Result<Response<Body>, Infallible>> {handle_request}, Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:161:15
[INFO] [stdout]     |
[INFO] [stdout] 161 |           async {
[INFO] [stdout]     |  _______________^
[INFO] [stdout] 162 | |             Ok::<_, Infallible>(service_fn(handle_request))
[INFO] [stdout] 163 | |         }
[INFO] [stdout]     | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<service::util::ServiceFn<fn(hyper::Request<Body>) -> impl Future<Output = Result<Response<Body>, Infallible>> {handle_request}, Body>, Infallible>
[INFO] [stdout]    --> src/main.rs:162:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |             Ok::<_, Infallible>(service_fn(handle_request))
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `CalculaRust` (bin "CalculaRust" test) due to 21 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `CalculaRust` (bin "CalculaRust") due to 21 previous errors
[INFO] running `Command { std: "docker" "inspect" "85000c3fcc9f238137ca158cc6524a07ce7cae2608a3ff6f3d0c6397411c401e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85000c3fcc9f238137ca158cc6524a07ce7cae2608a3ff6f3d0c6397411c401e", kill_on_drop: false }`
[INFO] [stdout] 85000c3fcc9f238137ca158cc6524a07ce7cae2608a3ff6f3d0c6397411c401e
