a debugger for async rust!
This report summarizes scanner evidence for tokio-rs/console, a Rust project with 4,614 GitHub stars. SynthScan examined 25,233 lines of code across 123 source files, recording 85 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 3.4 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 85 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 85 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 85 distinct pattern matches across 3 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cliff.toml | 1 | # git-cliff ~ default configuration file | COMMENT |
| LOW | CONTRIBUTING.md | 181 | ```rust | COMMENT |
| LOW | CONTRIBUTING.md | 221 | /// use futures::sync::oneshot; | COMMENT |
| LOW | tokio-console/src/warnings.rs | 21 | /// warning. | COMMENT |
| LOW | tokio-console/src/warnings.rs | 41 | /// > "45 tasks have woken themselves more than 50% of the time" | COMMENT |
| LOW | tokio-console/src/config.rs | 21 | #[derive(Clap, Debug)] | COMMENT |
| LOW | tokio-console/src/config.rs | 41 | /// | COMMENT |
| LOW | tokio-console/src/config.rs | 61 | /// | COMMENT |
| LOW | tokio-console/src/config.rs | 81 | /// | COMMENT |
| LOW | tokio-console/src/config.rs | 101 | /// [possible values: all, self-wakes, lost-waker, never-yielded, large-future, auto-boxed-future] | COMMENT |
| LOW | tokio-console/src/config.rs | 121 | /// Each time span is an integer number followed by a suffix. Supported suffixes are: | COMMENT |
| LOW | tokio-console/src/config.rs | 141 | /// * `years`, `year`, `y` -- defined as 365.25 days | COMMENT |
| LOW | tokio-console/src/config.rs | 261 | pub enum OptionalCmd { | COMMENT |
| LOW | tokio-console/src/lib.rs | 1 | // this file is here to make a binary target so that cargo metadata works with this crate | COMMENT |
| LOW | tokio-console/src/lib.rs | 21 | /// ## Configuration File | COMMENT |
| LOW | tokio-console/src/lib.rs | 41 | /// | COMMENT |
| LOW | tokio-console/src/lib.rs | 61 | /// so that they may be shared by multiple developers. | COMMENT |
| LOW | tokio-console/src/state/tasks.rs | 61 | Scheduled, | COMMENT |
| LOW | tokio-console/src/state/tasks.rs | 81 | /// This is NOT the `tracing::span::Id` for the task's tracing span on the | COMMENT |
| LOW | tokio-console/src/view/durations.rs | 21 | /// This widget wraps the [`Percentiles`] and [`MiniHistogram`] widgets which | COMMENT |
| LOW | tokio-console/src/view/styles.rs | 21 | NoColors, | COMMENT |
| LOW | .github/FUNDING.yml | 1 | # These are supported funding model platforms | COMMENT |
| LOW | .github/workflows/release.yml | 1 | # This file was autogenerated by dist: https://axodotdev.github.io/cargo-dist | COMMENT |
| LOW | .github/workflows/release.yml | 21 | # like "1.0.0", "v0.1.0-prerelease.1", "my-app/0.1.0", "releases/v1.0.0", etc. | COMMENT |
| LOW | .github/workflows/audit.yml | 1 | name: Security audit | COMMENT |
| LOW | .github/workflows/ci.yml | 1 | on: | COMMENT |
| LOW | console-subscriber/tests/support/subscriber.rs | 141 | /// The server will start serving over its side of the duplex stream. | COMMENT |
| LOW | console-subscriber/tests/support/subscriber.rs | 181 | /// | COMMENT |
| LOW | console-subscriber/tests/support/task.rs | 201 | /// To match this expected task, an actual task must have the name `name`. | COMMENT |
| LOW | console-subscriber/tests/support/mod.rs | 21 | /// This function will panic if the expectations on the expected task are not | COMMENT |
| LOW | console-subscriber/tests/support/mod.rs | 61 | .name(name) | COMMENT |
| LOW | console-subscriber/examples/long_scheduled.rs | 1 | //! Long scheduled time | COMMENT |
| LOW | console-subscriber/src/visitors.rs | 21 | /// | COMMENT |
| LOW | console-subscriber/src/visitors.rs | 61 | /// Used to extract the fields needed to construct | COMMENT |
| LOW | console-subscriber/src/visitors.rs | 81 | /// was spawned, if they are present. Other fields are recorded as arbitrary | COMMENT |
| LOW | console-subscriber/src/visitors.rs | 101 | #[derive(Default)] | COMMENT |
| LOW | console-subscriber/src/visitors.rs | 121 | pub(crate) struct WakerVisitor { | COMMENT |
| LOW | console-subscriber/src/visitors.rs | 141 | op_name: Option<String>, | COMMENT |
| LOW | console-subscriber/src/lib.rs | 61 | /// operations. The `ConsoleLayer` collects and aggregates these events, and the | COMMENT |
| LOW | console-subscriber/src/lib.rs | 81 | /// Set of callsites for events representing waker operations. | COMMENT |
| LOW | console-subscriber/src/lib.rs | 121 | /// Used to anchor monotonic timestamps to a base `SystemTime`, to produce a | COMMENT |
| LOW | console-subscriber/src/lib.rs | 241 | COMMENT | |
| LOW | console-subscriber/src/lib.rs | 321 | (layer, server) | COMMENT |
| LOW | console-subscriber/src/lib.rs | 341 | /// See also [`Builder::client_buffer_capacity`]. | COMMENT |
| LOW | console-subscriber/src/lib.rs | 361 | /// | COMMENT |
| LOW | console-subscriber/src/lib.rs | 881 | } | COMMENT |
| LOW | console-subscriber/src/lib.rs | 901 | /// | COMMENT |
| LOW | console-subscriber/src/lib.rs | 921 | /// server.serve_with(tonic::transport::Server::default()).await | COMMENT |
| LOW | console-subscriber/src/lib.rs | 981 | /// # use std::{thread, time::Duration}; | COMMENT |
| LOW | console-subscriber/src/lib.rs | 1001 | /// # .name("subscriber".into()) | COMMENT |
| LOW | console-subscriber/src/lib.rs | 1021 | /// ); | COMMENT |
| LOW | console-subscriber/src/lib.rs | 1041 | /// let serve = router.serve(std::net::SocketAddr::new( | COMMENT |
| LOW | console-subscriber/src/lib.rs | 1101 | /// is running for as long as the gRPC server is. If the server stops | COMMENT |
| LOW | console-subscriber/src/lib.rs | 1121 | /// .. | COMMENT |
| LOW | console-subscriber/src/lib.rs | 1161 | /// further parts in the future, an as such is marked as `non_exhaustive`. | COMMENT |
| LOW | console-subscriber/src/stats.rs | 21 | /// not been changed, it does not have to be included in the current update. | COMMENT |
| LOW | console-subscriber/src/stats.rs | 61 | // waker stats | COMMENT |
| LOW | console-subscriber/src/callsites.rs | 81 | impl<const MAX_CALLSITES: usize> Default for Callsites<MAX_CALLSITES> { | COMMENT |
| LOW | console-subscriber/src/builder.rs | 41 | COMMENT | |
| LOW | console-subscriber/src/builder.rs | 101 | /// When this channel is at capacity, the client may be disconnected. | COMMENT |
| 22 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/release.yml | 258 | # Create a GitHub Release while uploading all files to it | COMMENT |
| MEDIUM | .github/workflows/release-plz.yml | 39 | # Create a PR with the new versions and changelog, preparing the next release. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | console-subscriber/src/aggregator/mod.rs | 661 | parents: Vec::new(), // TODO: implement parents nicely | CODE |