[INFO] fetching crate ratsio 0.4.1... [INFO] checking ratsio-0.4.1 against master#df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e for pr-95474 [INFO] extracting crate ratsio 0.4.1 into /workspace/builds/worker-55/source [INFO] validating manifest of crates.io crate ratsio 0.4.1 on toolchain df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ratsio 0.4.1 [INFO] finished tweaking crates.io crate ratsio 0.4.1 [INFO] tweaked toml for crates.io crate ratsio 0.4.1 written to /workspace/builds/worker-55/source/Cargo.toml [INFO] crate crates.io crate ratsio 0.4.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-types v0.7.0 [INFO] [stderr] Downloaded redox_syscall v0.2.6 [INFO] [stderr] Downloaded tokio v1.5.0 [INFO] [stderr] Downloaded pin-project-internal v1.0.6 [INFO] [stderr] Downloaded pin-project v1.0.6 [INFO] [stderr] Downloaded futures-io v0.3.14 [INFO] [stderr] Downloaded futures-macro v0.3.14 [INFO] [stderr] Downloaded futures v0.3.14 [INFO] [stderr] Downloaded futures-executor v0.3.14 [INFO] [stderr] Downloaded which v4.1.0 [INFO] [stderr] Downloaded tokio-util v0.6.6 [INFO] [stderr] Downloaded prost-derive v0.7.0 [INFO] [stderr] Downloaded sha2 v0.9.3 [INFO] [stderr] Downloaded openssl v0.10.33 [INFO] [stderr] Downloaded prost v0.7.0 [INFO] [stderr] Downloaded curve25519-dalek v3.1.0 [INFO] [stderr] Downloaded mio v0.7.11 [INFO] [stderr] Downloaded subtle v2.4.0 [INFO] [stderr] Downloaded ed25519 v1.0.3 [INFO] [stderr] Downloaded signature v1.3.0 [INFO] [stderr] Downloaded zeroize v1.2.0 [INFO] [stderr] Downloaded openssl-sys v0.9.61 [INFO] [stderr] Downloaded prost-build v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 918b7764813a617c86352ae21a8f282dc9b1110f2b2027c685c802178cc02497 [INFO] running `Command { std: "docker" "start" "-a" "918b7764813a617c86352ae21a8f282dc9b1110f2b2027c685c802178cc02497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "918b7764813a617c86352ae21a8f282dc9b1110f2b2027c685c802178cc02497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "918b7764813a617c86352ae21a8f282dc9b1110f2b2027c685c802178cc02497", kill_on_drop: false }` [INFO] [stdout] 918b7764813a617c86352ae21a8f282dc9b1110f2b2027c685c802178cc02497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d26ab2b41bc491d8ed648024d279b5acd1507e5eac656d7074f193e1a9d125c [INFO] running `Command { std: "docker" "start" "-a" "8d26ab2b41bc491d8ed648024d279b5acd1507e5eac656d7074f193e1a9d125c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking atomic-counter v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Compiling which v4.1.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Checking ctrlc v3.1.9 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking pin-project v1.0.6 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling ratsio v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/nats_client/client_inner.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/nats_client/client_inner.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `signer` [INFO] [stdout] --> src/nats_client/mod.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | signer: SignerCallback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `UserJWT` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nats_client/mod.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | #[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: field is never read: `client_id` [INFO] [stdout] --> src/stan_client/mod.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | client_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `queue_group` [INFO] [stdout] --> src/stan_client/mod.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | queue_group: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `max_in_flight` [INFO] [stdout] --> src/stan_client/mod.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | max_in_flight: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `ack_wait_in_secs` [INFO] [stdout] --> src/stan_client/mod.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | ack_wait_in_secs: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `ack_inbox` [INFO] [stdout] --> src/stan_client/mod.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | ack_inbox: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `unsub_requests` [INFO] [stdout] --> src/stan_client/mod.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | unsub_requests: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `close_requests` [INFO] [stdout] --> src/stan_client/mod.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | close_requests: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `sub_close_requests` [INFO] [stdout] --> src/stan_client/mod.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | sub_close_requests: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClientInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Clone, Debug, Default)] [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: field is never read: `ping_requests` [INFO] [stdout] --> src/stan_client/mod.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | ping_requests: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClientInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Clone, Debug, Default)] [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: field is never read: `public_key` [INFO] [stdout] --> src/stan_client/mod.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | public_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClientInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Clone, Debug, Default)] [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: `on_reconnect` [INFO] [stdout] --> src/stan_client/client.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | async fn on_reconnect(&self) -> Result<(), RatsioError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_reconnect_helper` [INFO] [stdout] --> src/stan_client/client.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | async fn on_reconnect_helper(&self) -> Result<(), RatsioError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `re_subscribe` [INFO] [stdout] --> src/stan_client/client.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | async fn re_subscribe(&self, client_info: &ClientInfo, sub: Subscription) -> Result<(), RatsioError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `signer` [INFO] [stdout] --> src/nats_client/mod.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | signer: SignerCallback, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `UserJWT` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nats_client/mod.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 160 | #[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: field is never read: `client_id` [INFO] [stdout] --> src/stan_client/mod.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | client_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `queue_group` [INFO] [stdout] --> src/stan_client/mod.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 244 | queue_group: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `max_in_flight` [INFO] [stdout] --> src/stan_client/mod.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | max_in_flight: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `ack_wait_in_secs` [INFO] [stdout] --> src/stan_client/mod.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | ack_wait_in_secs: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `ack_inbox` [INFO] [stdout] --> src/stan_client/mod.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | ack_inbox: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `unsub_requests` [INFO] [stdout] --> src/stan_client/mod.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | unsub_requests: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `close_requests` [INFO] [stdout] --> src/stan_client/mod.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | close_requests: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Subscription` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:240:10 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Clone, Debug)] [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: field is never read: `sub_close_requests` [INFO] [stdout] --> src/stan_client/mod.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | sub_close_requests: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClientInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Clone, Debug, Default)] [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: field is never read: `ping_requests` [INFO] [stdout] --> src/stan_client/mod.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | ping_requests: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClientInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Clone, Debug, Default)] [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: field is never read: `public_key` [INFO] [stdout] --> src/stan_client/mod.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | public_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClientInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stan_client/mod.rs:268:10 [INFO] [stdout] | [INFO] [stdout] 268 | #[derive(Clone, Debug, Default)] [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: `on_reconnect` [INFO] [stdout] --> src/stan_client/client.rs:128:14 [INFO] [stdout] | [INFO] [stdout] 128 | async fn on_reconnect(&self) -> Result<(), RatsioError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_reconnect_helper` [INFO] [stdout] --> src/stan_client/client.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | async fn on_reconnect_helper(&self) -> Result<(), RatsioError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `re_subscribe` [INFO] [stdout] --> src/stan_client/client.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | async fn re_subscribe(&self, client_info: &ClientInfo, sub: Subscription) -> Result<(), RatsioError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratsio::protocol` [INFO] [stdout] --> tests/nats_client_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ratsio::protocol; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratsio::nuid` [INFO] [stdout] --> tests/nats_client_test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ratsio::nuid; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/stan_subscribe.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut runtime = tokio::runtime::Runtime::new().unwrap(); [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: unused import: `ratsio::nats_client::UriVec` [INFO] [stdout] --> examples/nats_publish.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ratsio::nats_client::UriVec; [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] --> examples/nats_sub_tls.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let mut runtime = tokio::runtime::Runtime::new().unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> examples/nats_sub_user.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let mut runtime = tokio::runtime::Runtime::new().unwrap(); [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: variable does not need to be mutable [INFO] [stdout] --> examples/nats_sub_token.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut runtime = tokio::runtime::Runtime::new().unwrap(); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/nats_subscribe.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut runtime = tokio::runtime::Runtime::new().unwrap(); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 35.13s [INFO] running `Command { std: "docker" "inspect" "8d26ab2b41bc491d8ed648024d279b5acd1507e5eac656d7074f193e1a9d125c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d26ab2b41bc491d8ed648024d279b5acd1507e5eac656d7074f193e1a9d125c", kill_on_drop: false }` [INFO] [stdout] 8d26ab2b41bc491d8ed648024d279b5acd1507e5eac656d7074f193e1a9d125c