[INFO] cloning repository https://github.com/kazgorot/demo_send_file_via_grpc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kazgorot/demo_send_file_via_grpc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazgorot%2Fdemo_send_file_via_grpc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkazgorot%2Fdemo_send_file_via_grpc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2851563bb7d793f8d2c32055c79b407bf08c23e8 [INFO] checking kazgorot/demo_send_file_via_grpc 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%2Fkazgorot%2Fdemo_send_file_via_grpc" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kazgorot/demo_send_file_via_grpc [INFO] finished tweaking git repo https://github.com/kazgorot/demo_send_file_via_grpc [INFO] tweaked toml for git repo https://github.com/kazgorot/demo_send_file_via_grpc written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kazgorot/demo_send_file_via_grpc 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/kazgorot/demo_send_file_via_grpc 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 2222bb3fd8c5510a8fffe3a93be23c5dbe0241d207c7d8102c5950fa755138a9 [INFO] running `Command { std: "docker" "start" "-a" "2222bb3fd8c5510a8fffe3a93be23c5dbe0241d207c7d8102c5950fa755138a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2222bb3fd8c5510a8fffe3a93be23c5dbe0241d207c7d8102c5950fa755138a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2222bb3fd8c5510a8fffe3a93be23c5dbe0241d207c7d8102c5950fa755138a9", kill_on_drop: false }` [INFO] [stdout] 2222bb3fd8c5510a8fffe3a93be23c5dbe0241d207c7d8102c5950fa755138a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 77b35a2e6c4312f1a6f93662dd13fefdc456cc8e91baae5d3b297a8db3d15903 [INFO] running `Command { std: "docker" "start" "-a" "77b35a2e6c4312f1a6f93662dd13fefdc456cc8e91baae5d3b297a8db3d15903", kill_on_drop: false }` [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Compiling prost v0.12.3 [INFO] [stderr] Compiling prost-types v0.12.3 [INFO] [stderr] Compiling prost-build v0.12.3 [INFO] [stderr] Compiling tonic-build v0.10.2 [INFO] [stderr] Compiling demo_grpc_send_file v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.10.2 [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:263:42 [INFO] [stdout] | [INFO] [stdout] 263 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 264 | | let inner = inner.0; [INFO] [stdout] 265 | | let method = SayHelloSvc(inner); [INFO] [stdout] 266 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 277 | | Ok(res) [INFO] [stdout] 278 | | }; [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] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:282:41 [INFO] [stdout] | [INFO] [stdout] 282 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 283 | | Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 291 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | / Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] 286 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 289 | | .unwrap(), [INFO] [stdout] 290 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `demo_grpc_send_file` (bin "client") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:263:42 [INFO] [stdout] | [INFO] [stdout] 263 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 264 | | let inner = inner.0; [INFO] [stdout] 265 | | let method = SayHelloSvc(inner); [INFO] [stdout] 266 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 277 | | Ok(res) [INFO] [stdout] 278 | | }; [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] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:282:41 [INFO] [stdout] | [INFO] [stdout] 282 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 283 | | Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 291 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | / Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] 286 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 289 | | .unwrap(), [INFO] [stdout] 290 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyFileService` is never constructed [INFO] [stdout] --> src/server.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MyFileService {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_request` is never used [INFO] [stdout] --> src/server.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn process_request (req: &HelloRequest) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/server.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewImageRequest` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct NewImageRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_to_bytes` is never used [INFO] [stdout] --> src/client.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn file_to_bytes(path: &Path) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/client.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `demo_grpc_send_file` (bin "server") due to 4 previous errors [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:263:42 [INFO] [stdout] | [INFO] [stdout] 263 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 264 | | let inner = inner.0; [INFO] [stdout] 265 | | let method = SayHelloSvc(inner); [INFO] [stdout] 266 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 277 | | Ok(res) [INFO] [stdout] 278 | | }; [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] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:282:41 [INFO] [stdout] | [INFO] [stdout] 282 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 283 | | Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 291 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | / Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] 286 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 289 | | .unwrap(), [INFO] [stdout] 290 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:263:42 [INFO] [stdout] | [INFO] [stdout] 263 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 264 | | let inner = inner.0; [INFO] [stdout] 265 | | let method = SayHelloSvc(inner); [INFO] [stdout] 266 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 277 | | Ok(res) [INFO] [stdout] 278 | | }; [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] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:282:41 [INFO] [stdout] | [INFO] [stdout] 282 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 283 | | Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 291 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | / Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] 286 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 289 | | .unwrap(), [INFO] [stdout] 290 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `demo_grpc_send_file` (bin "client" test) due to 4 previous errors [INFO] [stderr] error: could not compile `demo_grpc_send_file` (bin "demo_grpc_send_file" test) due to 4 previous errors; 6 warnings emitted [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:263:42 [INFO] [stdout] | [INFO] [stdout] 263 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 264 | | let inner = inner.0; [INFO] [stdout] 265 | | let method = SayHelloSvc(inner); [INFO] [stdout] 266 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 277 | | Ok(res) [INFO] [stdout] 278 | | }; [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] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:282:41 [INFO] [stdout] | [INFO] [stdout] 282 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 283 | | Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 291 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | / Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] 286 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 289 | | .unwrap(), [INFO] [stdout] 290 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `demo_grpc_send_file` (bin "server" test) due to 4 previous errors [INFO] [stdout] warning: struct `MyFileService` is never constructed [INFO] [stdout] --> src/server.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MyFileService {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_request` is never used [INFO] [stdout] --> src/server.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn process_request (req: &HelloRequest) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/server.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NewImageRequest` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct NewImageRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_to_bytes` is never used [INFO] [stdout] --> src/client.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn file_to_bytes(path: &Path) -> Result, std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/client.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:263:42 [INFO] [stdout] | [INFO] [stdout] 263 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 264 | | let inner = inner.0; [INFO] [stdout] 265 | | let method = SayHelloSvc(inner); [INFO] [stdout] 266 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 277 | | Ok(res) [INFO] [stdout] 278 | | }; [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] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:277:25 [INFO] [stdout] | [INFO] [stdout] 277 | Ok(res) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:282:41 [INFO] [stdout] | [INFO] [stdout] 282 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 283 | | Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 291 | | }) [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/demo_grpc_send_file-64cbda3c9edc3f56/out/mainflow.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | / Ok( [INFO] [stdout] 284 | | http::Response::builder() [INFO] [stdout] 285 | | .status(200) [INFO] [stdout] 286 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 289 | | .unwrap(), [INFO] [stdout] 290 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `demo_grpc_send_file` (bin "demo_grpc_send_file") due to 4 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "77b35a2e6c4312f1a6f93662dd13fefdc456cc8e91baae5d3b297a8db3d15903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77b35a2e6c4312f1a6f93662dd13fefdc456cc8e91baae5d3b297a8db3d15903", kill_on_drop: false }` [INFO] [stdout] 77b35a2e6c4312f1a6f93662dd13fefdc456cc8e91baae5d3b297a8db3d15903