[INFO] fetching crate google-cloud-pubsub 0.1.1... [INFO] building google-cloud-pubsub-0.1.1 against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] extracting crate google-cloud-pubsub 0.1.1 into /workspace/builds/worker-43/source [INFO] validating manifest of crates.io crate google-cloud-pubsub 0.1.1 on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate google-cloud-pubsub 0.1.1 [INFO] finished tweaking crates.io crate google-cloud-pubsub 0.1.1 [INFO] tweaked toml for crates.io crate google-cloud-pubsub 0.1.1 written to /workspace/builds/worker-43/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60bf86740e44f1b424a5f9a25cf24d8dcf14bb1d1057c0a397635a08cb72061a [INFO] running `Command { std: "docker" "start" "-a" "60bf86740e44f1b424a5f9a25cf24d8dcf14bb1d1057c0a397635a08cb72061a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60bf86740e44f1b424a5f9a25cf24d8dcf14bb1d1057c0a397635a08cb72061a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60bf86740e44f1b424a5f9a25cf24d8dcf14bb1d1057c0a397635a08cb72061a", kill_on_drop: false }` [INFO] [stdout] 60bf86740e44f1b424a5f9a25cf24d8dcf14bb1d1057c0a397635a08cb72061a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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" "-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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bee41c679b776944cc4c7b0f0b7077e2903c408840a6c3577b73885173d1676a [INFO] running `Command { std: "docker" "start" "-a" "bee41c679b776944cc4c7b0f0b7077e2903c408840a6c3577b73885173d1676a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling which v4.2.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling google-cloud-googleapis v0.3.0 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling google-cloud-metadata v0.1.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling tonic v0.6.2 [INFO] [stderr] Compiling google-cloud-auth v0.1.2 [INFO] [stderr] Compiling google-cloud-gax v0.4.0 [INFO] [stderr] Compiling google-cloud-pubsub v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StreamingPullRequest` [INFO] [stdout] --> src/subscriber.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | AcknowledgeRequest, ModifyAckDeadlineRequest, PubsubMessage, StreamingPullRequest, StreamingPullResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/publisher.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | let (mut tx, rx) = tokio::sync::oneshot::channel(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `google_cloud_googleapis::pubsub::v1::PullRequest::return_immediately` [INFO] [stdout] --> src/subscription.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | return_immediately: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subscriber.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | let mut stream = match response { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_topic` [INFO] [stdout] --> src/apiv1/publisher_client.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn update_topic( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_topic_snapshots` [INFO] [stdout] --> src/apiv1/publisher_client.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | pub async fn list_topic_snapshots( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cm` [INFO] [stdout] --> src/apiv1/schema_client.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | cm: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/apiv1/schema_client.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/apiv1/schema_client.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(cm: ConnectionManager) -> SchemaClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `client` [INFO] [stdout] --> src/apiv1/schema_client.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn client(&self) -> SchemaServiceClient { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn create_schema( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn get_schema( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_schemas` [INFO] [stdout] --> src/apiv1/schema_client.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn list_schemas( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn delete_schema( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn validate_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_message` [INFO] [stdout] --> src/apiv1/schema_client.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn validate_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `modify_push_config` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn modify_push_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:284:18 [INFO] [stdout] | [INFO] [stdout] 284 | pub async fn get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_snapshots` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:303:18 [INFO] [stdout] | [INFO] [stdout] 303 | pub async fn list_snapshots( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | pub async fn create_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:368:18 [INFO] [stdout] | [INFO] [stdout] 368 | pub async fn update_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:395:18 [INFO] [stdout] | [INFO] [stdout] 395 | pub async fn delete_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | self.sender.send(ReservedMessage { producer, message }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | / self.ordering_senders[index] [INFO] [stdout] 132 | | .send(ReservedMessage { producer, message }) [INFO] [stdout] 133 | | .await; [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | p.send(Ok(message_ids[i].to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | p.send(Err(Status::new(status.code().clone(), &(*status.message()).to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | task.await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | ping_sender.send(true).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | ... queue.send(ReceivedMessage::new(subscription.to_string(), client.clone(), mes, m.ack_id)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | v.await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | v.await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscription.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | mr.await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "bee41c679b776944cc4c7b0f0b7077e2903c408840a6c3577b73885173d1676a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bee41c679b776944cc4c7b0f0b7077e2903c408840a6c3577b73885173d1676a", kill_on_drop: false }` [INFO] [stdout] bee41c679b776944cc4c7b0f0b7077e2903c408840a6c3577b73885173d1676a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-43/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" "-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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0df121ed963434d04e7e27e5da488577e35e830af4e137b498fbb1e251605a6 [INFO] running `Command { std: "docker" "start" "-a" "e0df121ed963434d04e7e27e5da488577e35e830af4e137b498fbb1e251605a6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Compiling ctor v0.1.22 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling serial_test v0.5.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-util v0.7.0 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling tower v0.4.12 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling google-cloud-metadata v0.1.2 [INFO] [stderr] Compiling tonic v0.6.2 [INFO] [stderr] Compiling google-cloud-auth v0.1.2 [INFO] [stderr] Compiling google-cloud-googleapis v0.3.0 [INFO] [stderr] Compiling google-cloud-gax v0.4.0 [INFO] [stderr] Compiling google-cloud-pubsub v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StreamingPullRequest` [INFO] [stdout] --> src/subscriber.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | AcknowledgeRequest, ModifyAckDeadlineRequest, PubsubMessage, StreamingPullRequest, StreamingPullResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/publisher.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | let (mut tx, rx) = tokio::sync::oneshot::channel(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `google_cloud_googleapis::pubsub::v1::PullRequest::return_immediately` [INFO] [stdout] --> src/subscription.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | return_immediately: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamingPullRequest` [INFO] [stdout] --> src/subscriber.rs:7:66 [INFO] [stdout] | [INFO] [stdout] 7 | AcknowledgeRequest, ModifyAckDeadlineRequest, PubsubMessage, StreamingPullRequest, StreamingPullResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subscriber.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | let mut stream = match response { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_topic` [INFO] [stdout] --> src/apiv1/publisher_client.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn update_topic( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_topic_snapshots` [INFO] [stdout] --> src/apiv1/publisher_client.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | pub async fn list_topic_snapshots( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cm` [INFO] [stdout] --> src/apiv1/schema_client.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | cm: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/apiv1/schema_client.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/apiv1/schema_client.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(cm: ConnectionManager) -> SchemaClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `client` [INFO] [stdout] --> src/apiv1/schema_client.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn client(&self) -> SchemaServiceClient { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn create_schema( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn get_schema( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_schemas` [INFO] [stdout] --> src/apiv1/schema_client.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn list_schemas( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn delete_schema( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn validate_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_message` [INFO] [stdout] --> src/apiv1/schema_client.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn validate_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `modify_push_config` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn modify_push_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:284:18 [INFO] [stdout] | [INFO] [stdout] 284 | pub async fn get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_snapshots` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:303:18 [INFO] [stdout] | [INFO] [stdout] 303 | pub async fn list_snapshots( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | pub async fn create_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:368:18 [INFO] [stdout] | [INFO] [stdout] 368 | pub async fn update_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:395:18 [INFO] [stdout] | [INFO] [stdout] 395 | pub async fn delete_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | self.sender.send(ReservedMessage { producer, message }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | / self.ordering_senders[index] [INFO] [stdout] 132 | | .send(ReservedMessage { producer, message }) [INFO] [stdout] 133 | | .await; [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | p.send(Ok(message_ids[i].to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | p.send(Err(Status::new(status.code().clone(), &(*status.message()).to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | task.await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | ping_sender.send(true).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | ... queue.send(ReceivedMessage::new(subscription.to_string(), client.clone(), mes, m.ack_id)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | v.await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | v.await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscription.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | mr.await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/publisher.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | let (mut tx, rx) = tokio::sync::oneshot::channel(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `google_cloud_googleapis::pubsub::v1::PullRequest::return_immediately` [INFO] [stdout] --> src/subscription.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | return_immediately: false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/subscriber.rs:133:21 [INFO] [stdout] | [INFO] [stdout] 133 | let mut stream = match response { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_topic` [INFO] [stdout] --> src/apiv1/publisher_client.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn update_topic( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_topic_snapshots` [INFO] [stdout] --> src/apiv1/publisher_client.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | pub async fn list_topic_snapshots( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cm` [INFO] [stdout] --> src/apiv1/schema_client.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | cm: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SchemaClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/apiv1/schema_client.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/apiv1/schema_client.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(cm: ConnectionManager) -> SchemaClient { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `client` [INFO] [stdout] --> src/apiv1/schema_client.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn client(&self) -> SchemaServiceClient { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn create_schema( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub async fn get_schema( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_schemas` [INFO] [stdout] --> src/apiv1/schema_client.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn list_schemas( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn delete_schema( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_schema` [INFO] [stdout] --> src/apiv1/schema_client.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | pub async fn validate_schema( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_message` [INFO] [stdout] --> src/apiv1/schema_client.rs:124:18 [INFO] [stdout] | [INFO] [stdout] 124 | pub async fn validate_message( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `modify_push_config` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:264:18 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn modify_push_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:284:18 [INFO] [stdout] | [INFO] [stdout] 284 | pub async fn get_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_snapshots` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:303:18 [INFO] [stdout] | [INFO] [stdout] 303 | pub async fn list_snapshots( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:347:18 [INFO] [stdout] | [INFO] [stdout] 347 | pub async fn create_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:368:18 [INFO] [stdout] | [INFO] [stdout] 368 | pub async fn update_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_snapshot` [INFO] [stdout] --> src/apiv1/subscriber_client.rs:395:18 [INFO] [stdout] | [INFO] [stdout] 395 | pub async fn delete_snapshot( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | self.sender.send(ReservedMessage { producer, message }).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | / self.ordering_senders[index] [INFO] [stdout] 132 | | .send(ReservedMessage { producer, message }) [INFO] [stdout] 133 | | .await; [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | p.send(Ok(message_ids[i].to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | p.send(Err(Status::new(status.code().clone(), &(*status.message()).to_string()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/publisher.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | task.await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | ping_sender.send(true).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | ... queue.send(ReceivedMessage::new(subscription.to_string(), client.clone(), mes, m.ack_id)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | v.await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscriber.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | v.await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscription.rs:371:13 [INFO] [stdout] | [INFO] [stdout] 371 | mr.await; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/client.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/client.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 254 | / subscription [INFO] [stdout] 255 | | .receive( [INFO] [stdout] 256 | | move |v, _ctx| { [INFO] [stdout] 257 | | let s2 = s.clone(); [INFO] [stdout] ... | [INFO] [stdout] 267 | | ) [INFO] [stdout] 268 | | .await; [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/client.rs:262:29 [INFO] [stdout] | [INFO] [stdout] 262 | ... s2.send(data).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscription.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscription.rs:432:9 [INFO] [stdout] | [INFO] [stdout] 432 | pubc.publish(req, Some(CancellationToken::new()), None).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used [INFO] [stdout] --> src/subscription.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | message.ack(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscription.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | handle.await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscription.rs:507:9 [INFO] [stdout] | [INFO] [stdout] 507 | j.await; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used [INFO] [stdout] --> src/subscription.rs:526:29 [INFO] [stdout] | [INFO] [stdout] 526 | ... message.ack(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscription.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | handle.await; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used [INFO] [stdout] --> src/subscription.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | ... message.ack(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/subscription.rs:576:13 [INFO] [stdout] | [INFO] [stdout] 576 | task.await; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/topic.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | env_logger::try_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 23s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/google_cloud_pubsub-f423e8d6352616cb) [INFO] running `Command { std: "docker" "inspect" "e0df121ed963434d04e7e27e5da488577e35e830af4e137b498fbb1e251605a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0df121ed963434d04e7e27e5da488577e35e830af4e137b498fbb1e251605a6", kill_on_drop: false }` [INFO] [stdout] e0df121ed963434d04e7e27e5da488577e35e830af4e137b498fbb1e251605a6