[INFO] fetching crate postgrpc 0.1.2... [INFO] checking postgrpc-0.1.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate postgrpc 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate postgrpc 0.1.2 [INFO] finished tweaking crates.io crate postgrpc 0.1.2 [INFO] tweaked toml for crates.io crate postgrpc 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate postgrpc 0.1.2 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 crates.io crate postgrpc 0.1.2 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 81f4f9ce08960f2a8df409b0c7331544bef7c59f7c02e306037ea4ce289b34fe [INFO] running `Command { std: "docker" "start" "-a" "81f4f9ce08960f2a8df409b0c7331544bef7c59f7c02e306037ea4ce289b34fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81f4f9ce08960f2a8df409b0c7331544bef7c59f7c02e306037ea4ce289b34fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f4f9ce08960f2a8df409b0c7331544bef7c59f7c02e306037ea4ce289b34fe", kill_on_drop: false }` [INFO] [stdout] 81f4f9ce08960f2a8df409b0c7331544bef7c59f7c02e306037ea4ce289b34fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 562c8d003ef58de94a9e03688bde4d651add295efde00bf4704f4c800675f0cc [INFO] running `Command { std: "docker" "start" "-a" "562c8d003ef58de94a9e03688bde4d651add295efde00bf4704f4c800675f0cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking once_cell v1.13.1 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.62 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking futures-io v0.3.23 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling prettyplease v0.1.18 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking cpufeatures v0.2.3 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling openssl v0.10.41 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking phf_shared v0.10.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.75 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking num-bigint v0.4.3 [INFO] [stderr] Checking num-iter v0.1.43 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking num-rational v0.4.1 [INFO] [stderr] Checking postgres-protocol v0.6.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling prost-derive v0.11.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling futures-macro v0.3.23 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Compiling prost v0.11.0 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-subscriber v0.3.15 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking prost-types v0.11.1 [INFO] [stderr] Compiling prost-build v0.11.1 [INFO] [stderr] Compiling pbjson-build v0.4.0 [INFO] [stderr] Checking futures-executor v0.3.23 [INFO] [stderr] Checking axum-core v0.2.7 [INFO] [stderr] Checking futures v0.3.23 [INFO] [stderr] Compiling tonic-build v0.8.0 [INFO] [stderr] Compiling pbjson-types v0.4.0 [INFO] [stderr] Compiling tonic-health v0.7.0 [INFO] [stderr] Compiling tonic-reflection v0.5.0 [INFO] [stderr] Compiling postgrpc v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking deadpool-runtime v0.1.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking pbjson v0.4.0 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Checking postgres-types v0.2.4 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Checking tokio-postgres v0.7.6 [INFO] [stderr] Checking postgres_array v0.11.0 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking deadpool-postgres v0.10.2 [INFO] [stderr] Checking postgres-native-tls v0.5.0 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking axum v0.5.15 [INFO] [stderr] Checking tonic v0.8.0 [INFO] [stdout] warning: struct `TransactionQueryResponse` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/postgrpc-0e356668ba418bea/out/transaction.v1.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TransactionQueryResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Stream` that must be used [INFO] [stdout] --> src/services/health.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / connection [INFO] [stdout] 64 | | .query("SELECT 1", &[]) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | .map_err(|error| Status::unavailable(error.to_string()))?; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: streams do nothing unless polled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Stream` that must be used [INFO] [stdout] --> src/services/health.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / transaction [INFO] [stdout] 91 | | .query("SELECT 1", &[]) [INFO] [stdout] 92 | | .await [INFO] [stdout] 93 | | .map_err(|error| Status::unavailable(error.to_string()))?; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: streams do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/postgrpc-0e356668ba418bea/out/postgres.v1.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 112 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 113 | | let inner = inner.0; [INFO] [stdout] 114 | | let method = QuerySvc(inner); [INFO] [stdout] 115 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 122 | | Ok(res) [INFO] [stdout] 123 | | }; [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/postgrpc-0e356668ba418bea/out/postgres.v1.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | 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/postgrpc-0e356668ba418bea/out/postgres.v1.rs:127:41 [INFO] [stdout] | [INFO] [stdout] 127 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 128 | | Ok( [INFO] [stdout] 129 | | http::Response::builder() [INFO] [stdout] 130 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 136 | | }) [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/postgrpc-0e356668ba418bea/out/postgres.v1.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | / Ok( [INFO] [stdout] 129 | | http::Response::builder() [INFO] [stdout] 130 | | .status(200) [INFO] [stdout] 131 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 134 | | .unwrap(), [INFO] [stdout] 135 | | ) [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 149 | | let inner = inner.0; [INFO] [stdout] 150 | | let method = BeginSvc(inner); [INFO] [stdout] 151 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 158 | | Ok(res) [INFO] [stdout] 159 | | }; [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | 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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:186:42 [INFO] [stdout] | [INFO] [stdout] 186 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 187 | | let inner = inner.0; [INFO] [stdout] 188 | | let method = CommitSvc(inner); [INFO] [stdout] 189 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 196 | | Ok(res) [INFO] [stdout] 197 | | }; [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | 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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:226:42 [INFO] [stdout] | [INFO] [stdout] 226 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 227 | | let inner = inner.0; [INFO] [stdout] 228 | | let method = QuerySvc(inner); [INFO] [stdout] 229 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 236 | | Ok(res) [INFO] [stdout] 237 | | }; [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | 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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:264:42 [INFO] [stdout] | [INFO] [stdout] 264 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 265 | | let inner = inner.0; [INFO] [stdout] 266 | | let method = RollbackSvc(inner); [INFO] [stdout] 267 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(res) [INFO] [stdout] 275 | | }; [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | 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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:279:41 [INFO] [stdout] | [INFO] [stdout] 279 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 280 | | Ok( [INFO] [stdout] 281 | | http::Response::builder() [INFO] [stdout] 282 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 288 | | }) [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | / Ok( [INFO] [stdout] 281 | | http::Response::builder() [INFO] [stdout] 282 | | .status(200) [INFO] [stdout] 283 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 286 | | .unwrap(), [INFO] [stdout] 287 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `postgrpc` (lib test) due to 14 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `TransactionQueryResponse` is never constructed [INFO] [stdout] --> /opt/rustwide/target/debug/build/postgrpc-0e356668ba418bea/out/transaction.v1.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct TransactionQueryResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Stream` that must be used [INFO] [stdout] --> src/services/health.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / connection [INFO] [stdout] 64 | | .query("SELECT 1", &[]) [INFO] [stdout] 65 | | .await [INFO] [stdout] 66 | | .map_err(|error| Status::unavailable(error.to_string()))?; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: streams do nothing unless polled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Stream` that must be used [INFO] [stdout] --> src/services/health.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | / transaction [INFO] [stdout] 91 | | .query("SELECT 1", &[]) [INFO] [stdout] 92 | | .await [INFO] [stdout] 93 | | .map_err(|error| Status::unavailable(error.to_string()))?; [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: streams do nothing unless polled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result>, Infallible> [INFO] [stdout] --> /opt/rustwide/target/debug/build/postgrpc-0e356668ba418bea/out/postgres.v1.rs:112:42 [INFO] [stdout] | [INFO] [stdout] 112 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 113 | | let inner = inner.0; [INFO] [stdout] 114 | | let method = QuerySvc(inner); [INFO] [stdout] 115 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 122 | | Ok(res) [INFO] [stdout] 123 | | }; [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/postgrpc-0e356668ba418bea/out/postgres.v1.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | 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/postgrpc-0e356668ba418bea/out/postgres.v1.rs:127:41 [INFO] [stdout] | [INFO] [stdout] 127 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 128 | | Ok( [INFO] [stdout] 129 | | http::Response::builder() [INFO] [stdout] 130 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 136 | | }) [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/postgrpc-0e356668ba418bea/out/postgres.v1.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | / Ok( [INFO] [stdout] 129 | | http::Response::builder() [INFO] [stdout] 130 | | .status(200) [INFO] [stdout] 131 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 134 | | .unwrap(), [INFO] [stdout] 135 | | ) [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:148:42 [INFO] [stdout] | [INFO] [stdout] 148 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 149 | | let inner = inner.0; [INFO] [stdout] 150 | | let method = BeginSvc(inner); [INFO] [stdout] 151 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 158 | | Ok(res) [INFO] [stdout] 159 | | }; [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | 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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:186:42 [INFO] [stdout] | [INFO] [stdout] 186 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 187 | | let inner = inner.0; [INFO] [stdout] 188 | | let method = CommitSvc(inner); [INFO] [stdout] 189 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 196 | | Ok(res) [INFO] [stdout] 197 | | }; [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:196:25 [INFO] [stdout] | [INFO] [stdout] 196 | 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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:226:42 [INFO] [stdout] | [INFO] [stdout] 226 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 227 | | let inner = inner.0; [INFO] [stdout] 228 | | let method = QuerySvc(inner); [INFO] [stdout] 229 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 236 | | Ok(res) [INFO] [stdout] 237 | | }; [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | 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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:264:42 [INFO] [stdout] | [INFO] [stdout] 264 | let fut = async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 265 | | let inner = inner.0; [INFO] [stdout] 266 | | let method = RollbackSvc(inner); [INFO] [stdout] 267 | | let codec = tonic::codec::ProstCodec::default(); [INFO] [stdout] ... | [INFO] [stdout] 274 | | Ok(res) [INFO] [stdout] 275 | | }; [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | 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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:279:41 [INFO] [stdout] | [INFO] [stdout] 279 | Box::pin(async move { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 280 | | Ok( [INFO] [stdout] 281 | | http::Response::builder() [INFO] [stdout] 282 | | .status(200) [INFO] [stdout] ... | [INFO] [stdout] 288 | | }) [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/postgrpc-0e356668ba418bea/out/transaction.v1.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | / Ok( [INFO] [stdout] 281 | | http::Response::builder() [INFO] [stdout] 282 | | .status(200) [INFO] [stdout] 283 | | .header("grpc-status", "12") [INFO] [stdout] ... | [INFO] [stdout] 286 | | .unwrap(), [INFO] [stdout] 287 | | ) [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `postgrpc` (lib) due to 14 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "562c8d003ef58de94a9e03688bde4d651add295efde00bf4704f4c800675f0cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "562c8d003ef58de94a9e03688bde4d651add295efde00bf4704f4c800675f0cc", kill_on_drop: false }` [INFO] [stdout] 562c8d003ef58de94a9e03688bde4d651add295efde00bf4704f4c800675f0cc