[INFO] cloning repository https://github.com/chikina-dev/web-shell
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chikina-dev/web-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchikina-dev%2Fweb-shell", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchikina-dev%2Fweb-shell'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9afb0310fe154de67508a35e6b02817cd2ad2808
[INFO] checking chikina-dev/web-shell 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%2Fchikina-dev%2Fweb-shell" "/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/chikina-dev/web-shell
[INFO] finished tweaking git repo https://github.com/chikina-dev/web-shell
[INFO] tweaked toml for git repo https://github.com/chikina-dev/web-shell written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/chikina-dev/web-shell 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/chikina-dev/web-shell 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 54e5744136b4c83402f5ba496a423094a9e549d619a4fe207a81fffcc431623e
[INFO] running `Command { std: "docker" "start" "-a" "54e5744136b4c83402f5ba496a423094a9e549d619a4fe207a81fffcc431623e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "54e5744136b4c83402f5ba496a423094a9e549d619a4fe207a81fffcc431623e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54e5744136b4c83402f5ba496a423094a9e549d619a4fe207a81fffcc431623e", kill_on_drop: false }`
[INFO] [stdout] 54e5744136b4c83402f5ba496a423094a9e549d619a4fe207a81fffcc431623e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1b8eb79c19e2df6fc8e54591e07919ca71db952bb82913eece0e60ee26d70336
[INFO] running `Command { std: "docker" "start" "-a" "1b8eb79c19e2df6fc8e54591e07919ca71db952bb82913eece0e60ee26d70336", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]     Checking tokio v1.45.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tungstenite v0.26.2
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tokio-tungstenite v0.26.2
[INFO] [stderr]     Checking h2 v0.4.10
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking hyper-tungstenite v0.17.0
[INFO] [stderr]     Checking web-shell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib/pty.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub async fn pty_session(mut ws: WebSocketStream<TokioIo<Upgraded>>) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/lib/pty.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |             let mut master_async = Arc::new(Mutex::new(File::from_std(unsafe { std::fs::File::from_raw_fd(master.as_raw_fd()) })));
[INFO] [stdout]    |                 ----^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:34:25
[INFO] [stdout]    |
[INFO] [stdout] 34 | async fn handle_maneger(mut req: Request<Incoming>) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |                         ----^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib/pty.rs:18:26
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub async fn pty_session(mut ws: WebSocketStream<TokioIo<Upgraded>>) -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
[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: variable does not need to be mutable
[INFO] [stdout]   --> src/lib/pty.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |             let mut master_async = Arc::new(Mutex::new(File::from_std(unsafe { std::fs::File::from_raw_fd(master.as_raw_fd()) })));
[INFO] [stdout]    |                 ----^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:34:25
[INFO] [stdout]    |
[INFO] [stdout] 34 | async fn handle_maneger(mut req: Request<Incoming>) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |                         ----^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:34:113
[INFO] [stdout]    |
[INFO] [stdout] 34 |   async fn handle_maneger(mut req: Request<Incoming>) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |  _________________________________________________________________________________________________________________^
[INFO] [stdout] 35 | |     let path = req.uri().path();
[INFO] [stdout] 36 | |
[INFO] [stdout] 37 | |     if path == "/ws" && hyper_tungstenite::is_upgrade_request(&req) {
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | | }
[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<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:34:113
[INFO] [stdout]    |
[INFO] [stdout] 34 |   async fn handle_maneger(mut req: Request<Incoming>) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |  _________________________________________________________________________________________________________________^
[INFO] [stdout] 35 | |     let path = req.uri().path();
[INFO] [stdout] 36 | |
[INFO] [stdout] 37 | |     if path == "/ws" && hyper_tungstenite::is_upgrade_request(&req) {
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     if path == "/ws" && hyper_tungstenite::is_upgrade_request(&req) {
[INFO] [stdout] 38 | |         return ws_server::handle_socket(req).await;
[INFO] [stdout] 39 | |     } else {
[INFO] [stdout] 40 | |         return static_server::handle_request(path).await;
[INFO] [stdout] 41 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |         return ws_server::handle_socket(req).await;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:38:46
[INFO] [stdout]    |
[INFO] [stdout] 38 |         return ws_server::handle_socket(req).await;
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |         return ws_server::handle_socket(req).await;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |         return static_server::handle_request(path).await;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:40:52
[INFO] [stdout]    |
[INFO] [stdout] 40 |         return static_server::handle_request(path).await;
[INFO] [stdout]    |                                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |         return static_server::handle_request(path).await;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:8:101
[INFO] [stdout]    |
[INFO] [stdout]  8 |   pub async fn handle_request(path: &str) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |  _____________________________________________________________________________________________________^
[INFO] [stdout]  9 | |
[INFO] [stdout] 10 | |     let file = match path {
[INFO] [stdout] 11 | |         "/" | "/index.html" => Some(("static/index.html", "text/html")),
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:8:101
[INFO] [stdout]    |
[INFO] [stdout]  8 |   pub async fn handle_request(path: &str) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |  _____________________________________________________________________________________________________^
[INFO] [stdout]  9 | |
[INFO] [stdout] 10 | |     let file = match path {
[INFO] [stdout] 11 | |         "/" | "/index.html" => Some(("static/index.html", "text/html")),
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | /     if let Some((file_path, content_type)) = file {
[INFO] [stdout] 18 | |         match read(file_path).await {
[INFO] [stdout] 19 | |             Ok(content) => {
[INFO] [stdout] 20 | |                 let response = Response::builder()
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |         Ok(server::not_found())
[INFO] [stdout] 31 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:17:51
[INFO] [stdout]    |
[INFO] [stdout] 17 |       if let Some((file_path, content_type)) = file {
[INFO] [stdout]    |  ___________________________________________________^
[INFO] [stdout] 18 | |         match read(file_path).await {
[INFO] [stdout] 19 | |             Ok(content) => {
[INFO] [stdout] 20 | |                 let response = Response::builder()
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |     } else {
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | /         match read(file_path).await {
[INFO] [stdout] 19 | |             Ok(content) => {
[INFO] [stdout] 20 | |                 let response = Response::builder()
[INFO] [stdout] 21 | |                     .header("Content-Type", content_type)
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |             Err(_) => Ok(server::not_found()),
[INFO] [stdout] 28 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |               Ok(content) => {
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 20 | |                 let response = Response::builder()
[INFO] [stdout] 21 | |                     .header("Content-Type", content_type)
[INFO] [stdout] 22 | |                     .body(server::full_body(content))
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |             },
[INFO] [stdout]    | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 Ok(response)
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |             Err(_) => Ok(server::not_found()),
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |       } else {
[INFO] [stdout]    |  ____________^
[INFO] [stdout] 30 | |         Ok(server::not_found())
[INFO] [stdout] 31 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         Ok(server::not_found())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/ws_server.rs:9:112
[INFO] [stdout]    |
[INFO] [stdout]  9 |   pub async fn handle_socket(req: Request<Incoming>) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |  ________________________________________________________________________________________________________________^
[INFO] [stdout] 10 | |     println!("WebSocket upgrade request received");
[INFO] [stdout] 11 | |     let (response, websocket) = hyper_tungstenite::upgrade(req, None).unwrap();
[INFO] [stdout] 12 | |     tokio::spawn(async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |     return Ok(response.map(|_| server::empty_body()));
[INFO] [stdout] 27 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/ws_server.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     return Ok(response.map(|_| server::empty_body()));
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib/pty.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             close(slave);
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 32 |             let _ = close(slave);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib/pty.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             tokio::try_join!(reader, writer);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let _ = tokio::try_join!(reader, writer);;
[INFO] [stdout]    |             +++++++                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:34:113
[INFO] [stdout]    |
[INFO] [stdout] 34 |   async fn handle_maneger(mut req: Request<Incoming>) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |  _________________________________________________________________________________________________________________^
[INFO] [stdout] 35 | |     let path = req.uri().path();
[INFO] [stdout] 36 | |
[INFO] [stdout] 37 | |     if path == "/ws" && hyper_tungstenite::is_upgrade_request(&req) {
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | | }
[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<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:34:113
[INFO] [stdout]    |
[INFO] [stdout] 34 |   async fn handle_maneger(mut req: Request<Incoming>) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |  _________________________________________________________________________________________________________________^
[INFO] [stdout] 35 | |     let path = req.uri().path();
[INFO] [stdout] 36 | |
[INFO] [stdout] 37 | |     if path == "/ws" && hyper_tungstenite::is_upgrade_request(&req) {
[INFO] [stdout] ...  |
[INFO] [stdout] 42 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | /     if path == "/ws" && hyper_tungstenite::is_upgrade_request(&req) {
[INFO] [stdout] 38 | |         return ws_server::handle_socket(req).await;
[INFO] [stdout] 39 | |     } else {
[INFO] [stdout] 40 | |         return static_server::handle_request(path).await;
[INFO] [stdout] 41 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |         return ws_server::handle_socket(req).await;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:38:46
[INFO] [stdout]    |
[INFO] [stdout] 38 |         return ws_server::handle_socket(req).await;
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |         return ws_server::handle_socket(req).await;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |         return static_server::handle_request(path).await;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:40:52
[INFO] [stdout]    |
[INFO] [stdout] 40 |         return static_server::handle_request(path).await;
[INFO] [stdout]    |                                                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/main.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |         return static_server::handle_request(path).await;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:8:101
[INFO] [stdout]    |
[INFO] [stdout]  8 |   pub async fn handle_request(path: &str) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |  _____________________________________________________________________________________________________^
[INFO] [stdout]  9 | |
[INFO] [stdout] 10 | |     let file = match path {
[INFO] [stdout] 11 | |         "/" | "/index.html" => Some(("static/index.html", "text/html")),
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:8:101
[INFO] [stdout]    |
[INFO] [stdout]  8 |   pub async fn handle_request(path: &str) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |  _____________________________________________________________________________________________________^
[INFO] [stdout]  9 | |
[INFO] [stdout] 10 | |     let file = match path {
[INFO] [stdout] 11 | |         "/" | "/index.html" => Some(("static/index.html", "text/html")),
[INFO] [stdout] ...  |
[INFO] [stdout] 32 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | /     if let Some((file_path, content_type)) = file {
[INFO] [stdout] 18 | |         match read(file_path).await {
[INFO] [stdout] 19 | |             Ok(content) => {
[INFO] [stdout] 20 | |                 let response = Response::builder()
[INFO] [stdout] ...  |
[INFO] [stdout] 30 | |         Ok(server::not_found())
[INFO] [stdout] 31 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:17:51
[INFO] [stdout]    |
[INFO] [stdout] 17 |       if let Some((file_path, content_type)) = file {
[INFO] [stdout]    |  ___________________________________________________^
[INFO] [stdout] 18 | |         match read(file_path).await {
[INFO] [stdout] 19 | |             Ok(content) => {
[INFO] [stdout] 20 | |                 let response = Response::builder()
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | |     } else {
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | /         match read(file_path).await {
[INFO] [stdout] 19 | |             Ok(content) => {
[INFO] [stdout] 20 | |                 let response = Response::builder()
[INFO] [stdout] 21 | |                     .header("Content-Type", content_type)
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |             Err(_) => Ok(server::not_found()),
[INFO] [stdout] 28 | |         }
[INFO] [stdout]    | |_________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |               Ok(content) => {
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 20 | |                 let response = Response::builder()
[INFO] [stdout] 21 | |                     .header("Content-Type", content_type)
[INFO] [stdout] 22 | |                     .body(server::full_body(content))
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |             },
[INFO] [stdout]    | |_____________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:24:17
[INFO] [stdout]    |
[INFO] [stdout] 24 |                 Ok(response)
[INFO] [stdout]    |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:27:23
[INFO] [stdout]    |
[INFO] [stdout] 27 |             Err(_) => Ok(server::not_found()),
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |       } else {
[INFO] [stdout]    |  ____________^
[INFO] [stdout] 30 | |         Ok(server::not_found())
[INFO] [stdout] 31 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/static_server.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         Ok(server::not_found())
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/ws_server.rs:9:112
[INFO] [stdout]    |
[INFO] [stdout]  9 |   pub async fn handle_socket(req: Request<Incoming>) -> Result<Response<BoxBody<Bytes, Infallible>>, Infallible> {
[INFO] [stdout]    |  ________________________________________________________________________________________________________________^
[INFO] [stdout] 10 | |     println!("WebSocket upgrade request received");
[INFO] [stdout] 11 | |     let (response, websocket) = hyper_tungstenite::upgrade(req, None).unwrap();
[INFO] [stdout] 12 | |     tokio::spawn(async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |     return Ok(response.map(|_| server::empty_body()));
[INFO] [stdout] 27 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<BoxBody<hyper::body::Bytes, Infallible>>, Infallible>
[INFO] [stdout]   --> src/ws_server.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     return Ok(response.map(|_| server::empty_body()));
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib/pty.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             close(slave);
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 32 |             let _ = close(slave);
[INFO] [stdout]    |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `web-shell` (bin "web-shell" test) due to 21 previous errors; 6 warnings emitted
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/lib/pty.rs:77:13
[INFO] [stdout]    |
[INFO] [stdout] 77 |             tokio::try_join!(reader, writer);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let _ = tokio::try_join!(reader, writer);;
[INFO] [stdout]    |             +++++++                                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `web-shell` (bin "web-shell") due to 21 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1b8eb79c19e2df6fc8e54591e07919ca71db952bb82913eece0e60ee26d70336", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b8eb79c19e2df6fc8e54591e07919ca71db952bb82913eece0e60ee26d70336", kill_on_drop: false }`
[INFO] [stdout] 1b8eb79c19e2df6fc8e54591e07919ca71db952bb82913eece0e60ee26d70336
