[INFO] fetching crate cmq 0.0.1... [INFO] checking cmq-0.0.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate cmq 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate cmq 0.0.1 [INFO] finished tweaking crates.io crate cmq 0.0.1 [INFO] tweaked toml for crates.io crate cmq 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cmq 0.0.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cmq 0.0.1 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crb-superagent v0.0.36 [INFO] [stderr] Downloaded crb-runtime v0.0.36 [INFO] [stderr] Downloaded typed-slab v0.2.1 [INFO] [stderr] Downloaded crb-agent v0.0.36 [INFO] [stderr] Downloaded crb-core-std v0.0.36 [INFO] [stderr] Downloaded crb-core v0.0.36 [INFO] [stderr] Downloaded crb-send v0.0.36 [INFO] [stderr] Downloaded crb v0.0.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e957475fdd2dad6f06da63f51f187cc6523e1a6a487fd7b7a243036a33c00bd8 [INFO] running `Command { std: "docker" "start" "-a" "e957475fdd2dad6f06da63f51f187cc6523e1a6a487fd7b7a243036a33c00bd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e957475fdd2dad6f06da63f51f187cc6523e1a6a487fd7b7a243036a33c00bd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e957475fdd2dad6f06da63f51f187cc6523e1a6a487fd7b7a243036a33c00bd8", kill_on_drop: false }` [INFO] [stdout] e957475fdd2dad6f06da63f51f187cc6523e1a6a487fd7b7a243036a33c00bd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] befdd99750ce38460fcf95409108a48a7d272ac33acb2c8c548619552e115ba0 [INFO] running `Command { std: "docker" "start" "-a" "befdd99750ce38460fcf95409108a48a7d272ac33acb2c8c548619552e115ba0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling convert_case v0.7.1 [INFO] [stderr] Checking crb-send v0.0.36 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking crb-core-std v0.0.36 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking typed-slab v0.2.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking crb-core v0.0.36 [INFO] [stderr] Checking crb-runtime v0.0.36 [INFO] [stderr] Checking crb-agent v0.0.36 [INFO] [stderr] Checking crb-superagent v0.0.36 [INFO] [stderr] Checking crb v0.0.36 [INFO] [stderr] Checking cmq v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SubId` [INFO] [stdout] --> src/pubsub/subscriber/agent.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::pubsub::{PubSub, SubEvent, SubId}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unique` [INFO] [stdout] --> src/pubsub/subscriber/agent.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crb::core::{Slot, Unique, mpsc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubId` [INFO] [stdout] --> src/pubsub/subscriber/mod.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::pubsub::{PubSub, SubEvent, SubId}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubId` [INFO] [stdout] --> src/pubsub/subscriber/agent.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::pubsub::{PubSub, SubEvent, SubId}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Unique` [INFO] [stdout] --> src/pubsub/subscriber/agent.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use crb::core::{Slot, Unique, mpsc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubId` [INFO] [stdout] --> src/pubsub/subscriber/mod.rs:4:39 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::pubsub::{PubSub, SubEvent, SubId}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_id` [INFO] [stdout] --> src/pubsub/publisher/agent.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(sub_id) = event.sub_id { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rel` [INFO] [stdout] --> src/pubsub/registrar.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let rel = ctx.spawn_trackable(event.runtime, event.group); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/pubsub/subscriber/agent.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | async fn handle(&mut self, event: Inquire, _ctx: &mut Context) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pub` is never constructed [INFO] [stdout] --> src/pubsub/publisher/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Pub { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `events`, `broadcast`, and `direct` are never used [INFO] [stdout] --> src/pubsub/publisher/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Pub { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(state: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn events(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn broadcast(&self, delta: T::Delta) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn direct(&self, sub_id: SubId, delta: T::Delta) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `events_tx`, and `subscribers` are never read [INFO] [stdout] --> src/pubsub/publisher/agent.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PubAgent { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | state: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | events_tx: mpsc::UnboundedSender>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | events_rx: Slot>>, [INFO] [stdout] 14 | subscribers: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delta` is never read [INFO] [stdout] --> src/pubsub/publisher/agent.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Dispatch { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 62 | sub_id: Option, [INFO] [stdout] 63 | delta: T::Delta, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sub_id` is never read [INFO] [stdout] --> src/pubsub/publisher/agent.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Flow { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 84 | sub_id: SubId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REGISTRAR` is never used [INFO] [stdout] --> src/pubsub/registrar.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static REGISTRAR: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn_pub` and `spawn_sub` are never used [INFO] [stdout] --> src/pubsub/registrar.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl RegistrarLink { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 23 | pub fn spawn_pub(&self, agent: PubAgent) -> Address> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn spawn_sub(&self, agent: SubAgent) -> Address> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `link` is never used [INFO] [stdout] --> src/pubsub/registrar.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Registrar { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 49 | pub fn link() -> &'static RegistrarLink { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Publisher` and `Subscriber` are never constructed [INFO] [stdout] --> src/pubsub/registrar.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Group { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 56 | Publisher, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | Subscriber, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sub` is never constructed [INFO] [stdout] --> src/pubsub/subscriber/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Sub { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `events`, and `query` are never used [INFO] [stdout] --> src/pubsub/subscriber/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Sub { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn events(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn query(&self, query: T::Query) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events_tx` is never read [INFO] [stdout] --> src/pubsub/subscriber/agent.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SubAgent { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 10 | events_tx: mpsc::UnboundedSender>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `query` is never read [INFO] [stdout] --> src/pubsub/subscriber/agent.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Inquire { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 57 | query: T::Query, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pubsub/mod.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn borrow(&self) -> watch::Ref { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn borrow(&self) -> watch::Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sub_id` [INFO] [stdout] --> src/pubsub/publisher/agent.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(sub_id) = event.sub_id { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rel` [INFO] [stdout] --> src/pubsub/registrar.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let rel = ctx.spawn_trackable(event.runtime, event.group); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/pubsub/subscriber/agent.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | async fn handle(&mut self, event: Inquire, _ctx: &mut Context) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pub` is never constructed [INFO] [stdout] --> src/pubsub/publisher/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Pub { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `events`, `broadcast`, and `direct` are never used [INFO] [stdout] --> src/pubsub/publisher/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Pub { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(state: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn events(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn broadcast(&self, delta: T::Delta) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn direct(&self, sub_id: SubId, delta: T::Delta) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `events_tx`, and `subscribers` are never read [INFO] [stdout] --> src/pubsub/publisher/agent.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct PubAgent { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | state: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | events_tx: mpsc::UnboundedSender>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | events_rx: Slot>>, [INFO] [stdout] 14 | subscribers: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delta` is never read [INFO] [stdout] --> src/pubsub/publisher/agent.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Dispatch { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 62 | sub_id: Option, [INFO] [stdout] 63 | delta: T::Delta, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sub_id` is never read [INFO] [stdout] --> src/pubsub/publisher/agent.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct Flow { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 84 | sub_id: SubId, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `REGISTRAR` is never used [INFO] [stdout] --> src/pubsub/registrar.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static REGISTRAR: OnceLock = OnceLock::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `spawn_pub` and `spawn_sub` are never used [INFO] [stdout] --> src/pubsub/registrar.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl RegistrarLink { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 23 | pub fn spawn_pub(&self, agent: PubAgent) -> Address> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn spawn_sub(&self, agent: SubAgent) -> Address> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `link` is never used [INFO] [stdout] --> src/pubsub/registrar.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Registrar { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 49 | pub fn link() -> &'static RegistrarLink { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Publisher` and `Subscriber` are never constructed [INFO] [stdout] --> src/pubsub/registrar.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Group { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 56 | Publisher, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | Subscriber, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sub` is never constructed [INFO] [stdout] --> src/pubsub/subscriber/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Sub { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `events`, and `query` are never used [INFO] [stdout] --> src/pubsub/subscriber/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Sub { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub async fn events(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn query(&self, query: T::Query) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events_tx` is never read [INFO] [stdout] --> src/pubsub/subscriber/agent.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SubAgent { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 10 | events_tx: mpsc::UnboundedSender>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `query` is never read [INFO] [stdout] --> src/pubsub/subscriber/agent.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Inquire { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 57 | query: T::Query, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pubsub/mod.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn borrow(&self) -> watch::Ref { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn borrow(&self) -> watch::Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.64s [INFO] running `Command { std: "docker" "inspect" "befdd99750ce38460fcf95409108a48a7d272ac33acb2c8c548619552e115ba0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "befdd99750ce38460fcf95409108a48a7d272ac33acb2c8c548619552e115ba0", kill_on_drop: false }` [INFO] [stdout] befdd99750ce38460fcf95409108a48a7d272ac33acb2c8c548619552e115ba0