[INFO] cloning repository https://github.com/meddle0x53/gen_poller
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/meddle0x53/gen_poller" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeddle0x53%2Fgen_poller", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeddle0x53%2Fgen_poller'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dcff1fdae886861e3a285870db275ddc0ad0ca7b
[INFO] checking meddle0x53/gen_poller against f1c52bf13c990fc425c542cc90a0396a87db24ba for pr-164812
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmeddle0x53%2Fgen_poller" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/meddle0x53/gen_poller
[INFO] finished tweaking git repo https://github.com/meddle0x53/gen_poller
[INFO] tweaked toml for git repo https://github.com/meddle0x53/gen_poller written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/meddle0x53/gen_poller on toolchain f1c52bf13c990fc425c542cc90a0396a87db24ba
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/meddle0x53/gen_poller 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" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 24db9bdf9d492ea6c820b8643df3e52973b9a1057ab1467bf81ca62ba9455760
[INFO] running `Command { std: "docker" "start" "24db9bdf9d492ea6c820b8643df3e52973b9a1057ab1467bf81ca62ba9455760", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24db9bdf9d492ea6c820b8643df3e52973b9a1057ab1467bf81ca62ba9455760", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "24db9bdf9d492ea6c820b8643df3e52973b9a1057ab1467bf81ca62ba9455760" "/opt/rustwide/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24db9bdf9d492ea6c820b8643df3e52973b9a1057ab1467bf81ca62ba9455760", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "24db9bdf9d492ea6c820b8643df3e52973b9a1057ab1467bf81ca62ba9455760" "/opt/rustwide/cargo-home/bin/cargo" "+f1c52bf13c990fc425c542cc90a0396a87db24ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking humantime v2.2.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking humantime-serde v1.1.1
[INFO] [stderr]     Checking gen_poller v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/workers/worker.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...                   if let ControlMessage::Shutdown = ctrl_msg {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Supervisor` is never constructed
[INFO] [stdout]   --> src/workers/supervisor.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Supervisor<W>
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/workers/supervisor.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | / impl<W> Supervisor<W>
[INFO] [stdout] 22 | | where
[INFO] [stdout] 23 | |     W: Worker,
[INFO] [stdout]    | |______________- associated items in this implementation
[INFO] [stdout] 24 |   {
[INFO] [stdout] 25 |       pub fn new() -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |       pub async fn send(&self, name: &str, msg: W::Message) {
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |       pub async fn shutdown_all(&mut self) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |       pub async fn wait_for_all(&mut self) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |       pub async fn start_all(
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |       async fn build_worker(
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |       fn insert_worker(&mut self, name: String, handle: WorkerHandle<W::Message>) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |       async fn monitor(supervisor: Arc<Mutex<Self>>, mut shutdown: watch::Receiver<()>) {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WorkerEnvelope` is never used
[INFO] [stdout]   --> src/workers/worker.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum WorkerEnvelope<M> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ControlMessage` is never used
[INFO] [stdout]   --> src/workers/worker.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ControlMessage {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WorkerHandle` is never constructed
[INFO] [stdout]   --> src/workers/worker.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct WorkerHandle<Message> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Worker` is never used
[INFO] [stdout]   --> src/workers/worker.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub trait Worker: Send + Sync + 'static {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::broadcast`
[INFO] [stdout]  --> tests/subscribers.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::sync::broadcast;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tests/subscribers.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let mut rx = hub.subscribe();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tests/subscribers.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut rx = hub.subscribe();
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/workers/worker.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...                   if let ControlMessage::Shutdown = ctrl_msg {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/workers/worker.rs:158:50
[INFO] [stdout]     |
[INFO] [stdout] 158 |         async fn poll(&mut self, _hub: Arc<Hub>, config: &HashMap<String, serde_json::Value>) {
[INFO] [stdout]     |                                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hub`
[INFO] [stdout]    --> src/workers/worker.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let hub = Arc::new(Hub::new(32));
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_hub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `WorkerState` is more private than the item `worker::tests::DummyWorker::state`
[INFO] [stdout]    --> src/workers/worker.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |         pub state: Arc<WorkerState>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `worker::tests::DummyWorker::state` is reachable at visibility `pub(in crate::workers::worker)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `WorkerState` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/workers/worker.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 |     struct WorkerState {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `shutdown_all` and `wait_for_all` are never used
[INFO] [stdout]   --> src/workers/supervisor.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | / impl<W> Supervisor<W>
[INFO] [stdout] 22 | | where
[INFO] [stdout] 23 | |     W: Worker,
[INFO] [stdout]    | |______________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |       pub async fn shutdown_all(&mut self) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |       pub async fn wait_for_all(&mut self) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `hub` are never read
[INFO] [stdout]    --> src/workers/supervisor.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |     pub struct DummyWorker {
[INFO] [stdout]     |                ----------- fields in this struct
[INFO] [stdout] 153 |         pub name: String,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 154 |         pub hub: Arc<Hub>,
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DummyWorker` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `build_count` and `has_crashed` are never read
[INFO] [stdout]    --> src/workers/supervisor.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub struct DummyWorkerState {
[INFO] [stdout]     |                ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 166 |         pub build_count: AtomicUsize,
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout] 167 |         pub has_crashed: AtomicBool,
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/workers/worker.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub struct DummyWorker {
[INFO] [stdout]     |                ----------- field in this struct
[INFO] [stdout] 124 |         pub name: String,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/workers/worker.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...                   if let ControlMessage::Shutdown = ctrl_msg {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RepoConfig` is never constructed
[INFO] [stdout]  --> src/config.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RepoConfig {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PartialRepoConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PartialRepoConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_repo_configs` is never used
[INFO] [stdout]   --> src/config.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn load_repo_configs(path: &str) -> Result<Vec<RepoConfig>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PollingEvent` is never constructed
[INFO] [stdout]  --> src/workers/events.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct PollingEvent {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Hub` is never constructed
[INFO] [stdout]   --> src/workers/events.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Hub {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `subscribe`, and `publish` are never used
[INFO] [stdout]   --> src/workers/events.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Hub {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(buffer: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn subscribe(&self) -> broadcast::Receiver<PollingEvent> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn publish(&self, event: PollingEvent) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Supervisor` is never constructed
[INFO] [stdout]   --> src/workers/supervisor.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Supervisor<W>
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/workers/supervisor.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | / impl<W> Supervisor<W>
[INFO] [stdout] 22 | | where
[INFO] [stdout] 23 | |     W: Worker,
[INFO] [stdout]    | |______________- associated items in this implementation
[INFO] [stdout] 24 |   {
[INFO] [stdout] 25 |       pub fn new() -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |       pub async fn send(&self, name: &str, msg: W::Message) {
[INFO] [stdout]    |                    ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |       pub async fn shutdown_all(&mut self) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |       pub async fn wait_for_all(&mut self) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |       pub async fn start_all(
[INFO] [stdout]    |                    ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |       async fn build_worker(
[INFO] [stdout]    |                ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |       fn insert_worker(&mut self, name: String, handle: WorkerHandle<W::Message>) {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 99 |       async fn monitor(supervisor: Arc<Mutex<Self>>, mut shutdown: watch::Receiver<()>) {
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `WorkerEnvelope` is never used
[INFO] [stdout]   --> src/workers/worker.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum WorkerEnvelope<M> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ControlMessage` is never used
[INFO] [stdout]   --> src/workers/worker.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum ControlMessage {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WorkerHandle` is never constructed
[INFO] [stdout]   --> src/workers/worker.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct WorkerHandle<Message> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Worker` is never used
[INFO] [stdout]   --> src/workers/worker.rs:29:11
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub trait Worker: Send + Sync + 'static {
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PollingHandlerFn` is never used
[INFO] [stdout]  --> src/subscribers.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub type PollingHandlerFn<T> = Arc<dyn Fn(&str, &str, &T) + Send + Sync>;
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PollingHandlerFutureFn` is never used
[INFO] [stdout]   --> src/subscribers.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type PollingHandlerFutureFn<T> = Arc<dyn Fn(&str, &str, &T) -> BoxFuture<'static, ()> + Send + Sync>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PollingHandler` is never used
[INFO] [stdout]   --> src/subscribers.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum PollingHandler<T> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `async_handler` is never used
[INFO] [stdout]   --> src/subscribers.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn async_handler<T, F, Fut>(handler: F) -> PollingHandlerFutureFn<T>
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spawn_generic_subscriber` is never used
[INFO] [stdout]   --> src/subscribers.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub async fn spawn_generic_subscriber<T>(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/workers/worker.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...                   if let ControlMessage::Shutdown = ctrl_msg {
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]    --> src/workers/worker.rs:158:50
[INFO] [stdout]     |
[INFO] [stdout] 158 |         async fn poll(&mut self, _hub: Arc<Hub>, config: &HashMap<String, serde_json::Value>) {
[INFO] [stdout]     |                                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hub`
[INFO] [stdout]    --> src/workers/worker.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |         let hub = Arc::new(Hub::new(32));
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_hub`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `WorkerState` is more private than the item `worker::tests::DummyWorker::state`
[INFO] [stdout]    --> src/workers/worker.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |         pub state: Arc<WorkerState>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `worker::tests::DummyWorker::state` is reachable at visibility `pub(in crate::workers::worker)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `WorkerState` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/workers/worker.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 |     struct WorkerState {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RepoConfig` is never constructed
[INFO] [stdout]  --> src/config.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct RepoConfig {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PartialRepoConfig` is never constructed
[INFO] [stdout]   --> src/config.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct PartialRepoConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_repo_configs` is never used
[INFO] [stdout]   --> src/config.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn load_repo_configs(path: &str) -> Result<Vec<RepoConfig>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `shutdown_all` and `wait_for_all` are never used
[INFO] [stdout]   --> src/workers/supervisor.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | / impl<W> Supervisor<W>
[INFO] [stdout] 22 | | where
[INFO] [stdout] 23 | |     W: Worker,
[INFO] [stdout]    | |______________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |       pub async fn shutdown_all(&mut self) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |       pub async fn wait_for_all(&mut self) {
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `hub` are never read
[INFO] [stdout]    --> src/workers/supervisor.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |     pub struct DummyWorker {
[INFO] [stdout]     |                ----------- fields in this struct
[INFO] [stdout] 153 |         pub name: String,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 154 |         pub hub: Arc<Hub>,
[INFO] [stdout]     |             ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `DummyWorker` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `build_count` and `has_crashed` are never read
[INFO] [stdout]    --> src/workers/supervisor.rs:166:13
[INFO] [stdout]     |
[INFO] [stdout] 162 |     pub struct DummyWorkerState {
[INFO] [stdout]     |                ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 166 |         pub build_count: AtomicUsize,
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout] 167 |         pub has_crashed: AtomicBool,
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]    --> src/workers/worker.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub struct DummyWorker {
[INFO] [stdout]     |                ----------- field in this struct
[INFO] [stdout] 124 |         pub name: String,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PollingHandlerFn` is never used
[INFO] [stdout]  --> src/subscribers.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub type PollingHandlerFn<T> = Arc<dyn Fn(&str, &str, &T) + Send + Sync>;
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PollingHandlerFutureFn` is never used
[INFO] [stdout]   --> src/subscribers.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type PollingHandlerFutureFn<T> = Arc<dyn Fn(&str, &str, &T) -> BoxFuture<'static, ()> + Send + Sync>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `PollingHandler` is never used
[INFO] [stdout]   --> src/subscribers.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum PollingHandler<T> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `async_handler` is never used
[INFO] [stdout]   --> src/subscribers.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn async_handler<T, F, Fut>(handler: F) -> PollingHandlerFutureFn<T>
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spawn_generic_subscriber` is never used
[INFO] [stdout]   --> src/subscribers.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub async fn spawn_generic_subscriber<T>(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.32s
[INFO] running `Command { std: "docker" "inspect" "24db9bdf9d492ea6c820b8643df3e52973b9a1057ab1467bf81ca62ba9455760", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24db9bdf9d492ea6c820b8643df3e52973b9a1057ab1467bf81ca62ba9455760", kill_on_drop: false }`
[INFO] [stdout] 24db9bdf9d492ea6c820b8643df3e52973b9a1057ab1467bf81ca62ba9455760
