[INFO] cloning repository https://github.com/n-tk11/ff_daemon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/n-tk11/ff_daemon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn-tk11%2Fff_daemon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fn-tk11%2Fff_daemon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 29eb908983f18824758ca6203b79308b52419f33 [INFO] checking n-tk11/ff_daemon 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%2Fn-tk11%2Fff_daemon" "/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/n-tk11/ff_daemon [INFO] finished tweaking git repo https://github.com/n-tk11/ff_daemon [INFO] tweaked toml for git repo https://github.com/n-tk11/ff_daemon written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/n-tk11/ff_daemon 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/n-tk11/ff_daemon 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-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] 4778afaf94b36437374e0f87f94f0b5bdad0c1adc73250e7307943dfc9beb4d0 [INFO] running `Command { std: "docker" "start" "-a" "4778afaf94b36437374e0f87f94f0b5bdad0c1adc73250e7307943dfc9beb4d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4778afaf94b36437374e0f87f94f0b5bdad0c1adc73250e7307943dfc9beb4d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4778afaf94b36437374e0f87f94f0b5bdad0c1adc73250e7307943dfc9beb4d0", kill_on_drop: false }` [INFO] [stdout] 4778afaf94b36437374e0f87f94f0b5bdad0c1adc73250e7307943dfc9beb4d0 [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] fd430e901c8c070a463a045b35e8c52fa2e285ca89ec1ff538ae68e2d5fdb84c [INFO] running `Command { std: "docker" "start" "-a" "fd430e901c8c070a463a045b35e8c52fa2e285ca89ec1ff538ae68e2d5fdb84c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking shlex v1.2.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking http-body v1.0.0-rc.2 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking http-body-util v0.1.0-rc.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking hyper v1.0.0-rc.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper-util v0.0.0 (https://github.com/hyperium/hyper-util.git#eacb82d0) [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking ff_daemon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | async move{ [INFO] [stdout] | ___________________^ [INFO] [stdout] 63 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 64 | | handle_connection(req, exit_kill.clone()) [INFO] [stdout] 65 | | })) [INFO] [stdout] 66 | | } [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, Infallible> [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 64 | | handle_connection(req, exit_kill.clone()) [INFO] [stdout] 65 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:82:103 [INFO] [stdout] | [INFO] [stdout] 82 | async fn handle_connection(req: Request, exit_kill: bool) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________________________________________________^ [INFO] [stdout] 83 | | [INFO] [stdout] 84 | | match (req.method(), req.uri().path()) { [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:82:103 [INFO] [stdout] | [INFO] [stdout] 82 | async fn handle_connection(req: Request, exit_kill: bool) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________________________________________________^ [INFO] [stdout] 83 | | [INFO] [stdout] 84 | | match (req.method(), req.uri().path()) { [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | / match (req.method(), req.uri().path()) { [INFO] [stdout] 85 | | [INFO] [stdout] 86 | | (&Method::POST, "/run") => { [INFO] [stdout] 87 | | let body_bytes = hyper::body::to_bytes(req.into_body()).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 156 | | }, [INFO] [stdout] 157 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | (&Method::POST, "/run") => { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 87 | | let body_bytes = hyper::body::to_bytes(req.into_body()).await.unwrap(); [INFO] [stdout] 88 | | let body_str = String::from_utf8(body_bytes.to_vec()).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 117 | | .unwrap()) [INFO] [stdout] 118 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | return Ok(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 92 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 93 | | .body(Body::from("Fail to spawn child to run FF\n")) [INFO] [stdout] 94 | | .unwrap()); [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | return Ok(Response::builder() [INFO] [stdout] | ____________________________^ [INFO] [stdout] 102 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 103 | | .body(Body::from(exit_msg.to_string())) [INFO] [stdout] 104 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | (_,_) => return Ok(Response::builder() [INFO] [stdout] | _________________________________^ [INFO] [stdout] 107 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 108 | | .body(Body::from("")) [INFO] [stdout] 109 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | / Ok(Response::builder() [INFO] [stdout] 115 | | .status(hyper::StatusCode::OK) [INFO] [stdout] 116 | | .body(Body::from("App start successfully\n")) [INFO] [stdout] 117 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:119:43 [INFO] [stdout] | [INFO] [stdout] 119 | (&Method::POST, "/checkpoint") => { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 120 | | let body_bytes = hyper::body::to_bytes(req.into_body()).await.unwrap(); [INFO] [stdout] 121 | | let body_str = String::from_utf8(body_bytes.to_vec()).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 149 | | .unwrap()) [INFO] [stdout] 150 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | return Ok(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 125 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 126 | | .body(Body::from("Fail to spawn child to checkpoint FF\n")) [INFO] [stdout] 127 | | .unwrap()); [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | return Ok(Response::builder() [INFO] [stdout] | ____________________________^ [INFO] [stdout] 134 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 135 | | .body(Body::from(exit_msg.to_string())) [INFO] [stdout] 136 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | (_,_) => return Ok(Response::builder() [INFO] [stdout] | _________________________________^ [INFO] [stdout] 139 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 140 | | .body(Body::from("")) [INFO] [stdout] 141 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | / Ok(Response::builder() [INFO] [stdout] 147 | | .status(hyper::StatusCode::OK) [INFO] [stdout] 148 | | .body(Body::from("App checkpointed\n")) [INFO] [stdout] 149 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | _ => { [INFO] [stdout] | ______________^ [INFO] [stdout] 152 | | Ok(Response::builder() [INFO] [stdout] 153 | | .status(hyper::StatusCode::BAD_REQUEST) [INFO] [stdout] 154 | | .body(Body::empty()) [INFO] [stdout] 155 | | .unwrap()) [INFO] [stdout] 156 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / Ok(Response::builder() [INFO] [stdout] 153 | | .status(hyper::StatusCode::BAD_REQUEST) [INFO] [stdout] 154 | | .body(Body::empty()) [INFO] [stdout] 155 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | async move{ [INFO] [stdout] | ___________________^ [INFO] [stdout] 63 | | Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 64 | | handle_connection(req, exit_kill.clone()) [INFO] [stdout] 65 | | })) [INFO] [stdout] 66 | | } [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, Infallible> [INFO] [stdout] --> src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | / Ok::<_, Infallible>(service_fn(move |req| { [INFO] [stdout] 64 | | handle_connection(req, exit_kill.clone()) [INFO] [stdout] 65 | | })) [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:82:103 [INFO] [stdout] | [INFO] [stdout] 82 | async fn handle_connection(req: Request, exit_kill: bool) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________________________________________________^ [INFO] [stdout] 83 | | [INFO] [stdout] 84 | | match (req.method(), req.uri().path()) { [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:82:103 [INFO] [stdout] | [INFO] [stdout] 82 | async fn handle_connection(req: Request, exit_kill: bool) -> Result, Infallible> { [INFO] [stdout] | _______________________________________________________________________________________________________^ [INFO] [stdout] 83 | | [INFO] [stdout] 84 | | match (req.method(), req.uri().path()) { [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | / match (req.method(), req.uri().path()) { [INFO] [stdout] 85 | | [INFO] [stdout] 86 | | (&Method::POST, "/run") => { [INFO] [stdout] 87 | | let body_bytes = hyper::body::to_bytes(req.into_body()).await.unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 156 | | }, [INFO] [stdout] 157 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:86:36 [INFO] [stdout] | [INFO] [stdout] 86 | (&Method::POST, "/run") => { [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 87 | | let body_bytes = hyper::body::to_bytes(req.into_body()).await.unwrap(); [INFO] [stdout] 88 | | let body_str = String::from_utf8(body_bytes.to_vec()).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 117 | | .unwrap()) [INFO] [stdout] 118 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | return Ok(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 92 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 93 | | .body(Body::from("Fail to spawn child to run FF\n")) [INFO] [stdout] 94 | | .unwrap()); [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | return Ok(Response::builder() [INFO] [stdout] | ____________________________^ [INFO] [stdout] 102 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 103 | | .body(Body::from(exit_msg.to_string())) [INFO] [stdout] 104 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | (_,_) => return Ok(Response::builder() [INFO] [stdout] | _________________________________^ [INFO] [stdout] 107 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 108 | | .body(Body::from("")) [INFO] [stdout] 109 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | / Ok(Response::builder() [INFO] [stdout] 115 | | .status(hyper::StatusCode::OK) [INFO] [stdout] 116 | | .body(Body::from("App start successfully\n")) [INFO] [stdout] 117 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:119:43 [INFO] [stdout] | [INFO] [stdout] 119 | (&Method::POST, "/checkpoint") => { [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 120 | | let body_bytes = hyper::body::to_bytes(req.into_body()).await.unwrap(); [INFO] [stdout] 121 | | let body_str = String::from_utf8(body_bytes.to_vec()).unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 149 | | .unwrap()) [INFO] [stdout] 150 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:124:23 [INFO] [stdout] | [INFO] [stdout] 124 | return Ok(Response::builder() [INFO] [stdout] | _______________________^ [INFO] [stdout] 125 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 126 | | .body(Body::from("Fail to spawn child to checkpoint FF\n")) [INFO] [stdout] 127 | | .unwrap()); [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | return Ok(Response::builder() [INFO] [stdout] | ____________________________^ [INFO] [stdout] 134 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 135 | | .body(Body::from(exit_msg.to_string())) [INFO] [stdout] 136 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 138 | (_,_) => return Ok(Response::builder() [INFO] [stdout] | _________________________________^ [INFO] [stdout] 139 | | .status(hyper::StatusCode::INTERNAL_SERVER_ERROR) [INFO] [stdout] 140 | | .body(Body::from("")) [INFO] [stdout] 141 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | / Ok(Response::builder() [INFO] [stdout] 147 | | .status(hyper::StatusCode::OK) [INFO] [stdout] 148 | | .body(Body::from("App checkpointed\n")) [INFO] [stdout] 149 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | _ => { [INFO] [stdout] | ______________^ [INFO] [stdout] 152 | | Ok(Response::builder() [INFO] [stdout] 153 | | .status(hyper::StatusCode::BAD_REQUEST) [INFO] [stdout] 154 | | .body(Body::empty()) [INFO] [stdout] 155 | | .unwrap()) [INFO] [stdout] 156 | | }, [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/main.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | / Ok(Response::builder() [INFO] [stdout] 153 | | .status(hyper::StatusCode::BAD_REQUEST) [INFO] [stdout] 154 | | .body(Body::empty()) [INFO] [stdout] 155 | | .unwrap()) [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ff_daemon` (bin "ff_daemon") due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ff_daemon` (bin "ff_daemon" test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "fd430e901c8c070a463a045b35e8c52fa2e285ca89ec1ff538ae68e2d5fdb84c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd430e901c8c070a463a045b35e8c52fa2e285ca89ec1ff538ae68e2d5fdb84c", kill_on_drop: false }` [INFO] [stdout] fd430e901c8c070a463a045b35e8c52fa2e285ca89ec1ff538ae68e2d5fdb84c