[INFO] cloning repository https://github.com/hugoponthieu/poc-agent-registration [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hugoponthieu/poc-agent-registration" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhugoponthieu%2Fpoc-agent-registration", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhugoponthieu%2Fpoc-agent-registration'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b236c98b6a374ae689c9478c00752650c5cf744 [INFO] checking hugoponthieu/poc-agent-registration 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%2Fhugoponthieu%2Fpoc-agent-registration" "/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/hugoponthieu/poc-agent-registration [INFO] finished tweaking git repo https://github.com/hugoponthieu/poc-agent-registration [INFO] tweaked toml for git repo https://github.com/hugoponthieu/poc-agent-registration written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hugoponthieu/poc-agent-registration 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/hugoponthieu/poc-agent-registration 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-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] e666baf01bec6350f17b5ca869435f93b5a7c79b05fa1f4c0d92da697537d82e [INFO] running `Command { std: "docker" "start" "-a" "e666baf01bec6350f17b5ca869435f93b5a7c79b05fa1f4c0d92da697537d82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e666baf01bec6350f17b5ca869435f93b5a7c79b05fa1f4c0d92da697537d82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e666baf01bec6350f17b5ca869435f93b5a7c79b05fa1f4c0d92da697537d82e", kill_on_drop: false }` [INFO] [stdout] e666baf01bec6350f17b5ca869435f93b5a7c79b05fa1f4c0d92da697537d82e [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] d137dbfecad1dcbf15f7cf99974d6911e5c6331ac0d996bd212923cdfff6943e [INFO] running `Command { std: "docker" "start" "-a" "d137dbfecad1dcbf15f7cf99974d6911e5c6331ac0d996bd212923cdfff6943e", kill_on_drop: false }` [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking piper v0.2.3 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking async-executor v1.13.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling tls-api-test v0.6.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Compiling protobuf v3.5.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking log-ndc v0.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking test-cert-gen v0.6.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling prost-derive v0.13.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking tokio v1.39.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling prost v0.13.1 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking protobuf-support v3.5.0 [INFO] [stderr] Checking prost-types v0.13.1 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking async-io v2.3.3 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Compiling prost-build v0.13.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Compiling tonic-build v0.12.1 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tls-api v0.6.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tls-api-stub v0.6.0 [INFO] [stderr] Compiling poc-agent-registration v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking httpbis v0.10.0-pre (https://github.com/stepancheg/rust-http2#04410b1a) [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-timeout v0.5.1 [INFO] [stderr] Checking tonic v0.12.1 [INFO] [stderr] Checking tonic-reflection v0.12.1 [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/client.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::RegisterAgentResponse` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use proto::RegisterAgentResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Borrow` [INFO] [stdout] --> src/client.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proto::RegisterAgentResponse` [INFO] [stdout] --> src/client.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use proto::RegisterAgentResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut client: proto::agent_client::AgentClient; [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: struct `HealthStatus` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct HealthStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Empty {} [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:256:42 [INFO] [stdout] | [INFO] [stdout] 256 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 257 | | let method = RegisterAgentSvc(inner); [INFO] [stdout] 258 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 259 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 269 | | Ok(res) [INFO] [stdout] 270 | | }; [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | 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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 275 | | Ok( [INFO] [stdout] 276 | | http::Response::builder() [INFO] [stdout] 277 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 286 | | }) [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | / Ok( [INFO] [stdout] 276 | | http::Response::builder() [INFO] [stdout] 277 | | .status(200) [INFO] [stdout] 278 | | .header("grpc-status", tonic::Code::Unimplemented as i32) [INFO] [stdout] ... | [INFO] [stdout] 284 | | .unwrap(), [INFO] [stdout] 285 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut client: proto::agent_client::AgentClient; [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: struct `HealthStatus` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct HealthStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthStatus` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct HealthStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `poc-agent-registration` (bin "client") due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `FILE_DESCRIPTOR_SET` is never used [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) const FILE_DESCRIPTOR_SET: &[u8] = [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:256:42 [INFO] [stdout] | [INFO] [stdout] 256 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 257 | | let method = RegisterAgentSvc(inner); [INFO] [stdout] 258 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 259 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 269 | | Ok(res) [INFO] [stdout] 270 | | }; [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | 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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 275 | | Ok( [INFO] [stdout] 276 | | http::Response::builder() [INFO] [stdout] 277 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 286 | | }) [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | / Ok( [INFO] [stdout] 276 | | http::Response::builder() [INFO] [stdout] 277 | | .status(200) [INFO] [stdout] 278 | | .header("grpc-status", tonic::Code::Unimplemented as i32) [INFO] [stdout] ... | [INFO] [stdout] 284 | | .unwrap(), [INFO] [stdout] 285 | | ) [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:256:42 [INFO] [stdout] | [INFO] [stdout] 256 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 257 | | let method = RegisterAgentSvc(inner); [INFO] [stdout] 258 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 259 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 269 | | Ok(res) [INFO] [stdout] 270 | | }; [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | 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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 275 | | Ok( [INFO] [stdout] 276 | | http::Response::builder() [INFO] [stdout] 277 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 286 | | }) [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | / Ok( [INFO] [stdout] 276 | | http::Response::builder() [INFO] [stdout] 277 | | .status(200) [INFO] [stdout] 278 | | .header("grpc-status", tonic::Code::Unimplemented as i32) [INFO] [stdout] ... | [INFO] [stdout] 284 | | .unwrap(), [INFO] [stdout] 285 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `poc-agent-registration` (bin "client" test) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] error: could not compile `poc-agent-registration` (bin "server") due to 4 previous errors; 4 warnings emitted [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | request: tonic::Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthStatus` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct HealthStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Empty` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Empty {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_DESCRIPTOR_SET` is never used [INFO] [stdout] --> src/main.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) const FILE_DESCRIPTOR_SET: &[u8] = [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:256:42 [INFO] [stdout] | [INFO] [stdout] 256 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 257 | | let method = RegisterAgentSvc(inner); [INFO] [stdout] 258 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] 259 | | let mut grpc = tonic::server::Grpc::new(codec) [INFO] [stdout] ... | [INFO] [stdout] 269 | | Ok(res) [INFO] [stdout] 270 | | }; [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | 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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:274:41 [INFO] [stdout] | [INFO] [stdout] 274 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 275 | | Ok( [INFO] [stdout] 276 | | http::Response::builder() [INFO] [stdout] 277 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 286 | | }) [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/poc-agent-registration-f0ee5f0c9987fd47/out/registration.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | / Ok( [INFO] [stdout] 276 | | http::Response::builder() [INFO] [stdout] 277 | | .status(200) [INFO] [stdout] 278 | | .header("grpc-status", tonic::Code::Unimplemented as i32) [INFO] [stdout] ... | [INFO] [stdout] 284 | | .unwrap(), [INFO] [stdout] 285 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `poc-agent-registration` (bin "server" test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d137dbfecad1dcbf15f7cf99974d6911e5c6331ac0d996bd212923cdfff6943e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d137dbfecad1dcbf15f7cf99974d6911e5c6331ac0d996bd212923cdfff6943e", kill_on_drop: false }` [INFO] [stdout] d137dbfecad1dcbf15f7cf99974d6911e5c6331ac0d996bd212923cdfff6943e