[INFO] fetching crate hyperscan-tokio 0.1.0... [INFO] checking hyperscan-tokio-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hyperscan-tokio 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate hyperscan-tokio 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate hyperscan-tokio 0.1.0 [INFO] tweaked toml for crates.io crate hyperscan-tokio 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hyperscan-tokio 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hyperscan-tokio 0.1.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tikv-jemallocator v0.6.0 [INFO] [stderr] Downloaded mimalloc v0.1.47 [INFO] [stderr] Downloaded quicksort v1.1.0 [INFO] [stderr] Downloaded hyperscan-tokio-sys v0.1.0 [INFO] [stderr] Downloaded core_affinity v0.8.3 [INFO] [stderr] Downloaded pcre2 v0.2.9 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.43 [INFO] [stderr] Downloaded tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 [INFO] [stderr] Downloaded pcre2-sys v0.2.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be55ea7f6c33c2523863aa19499d893269104e1144e1d7b332b076663e329e1e [INFO] running `Command { std: "docker" "start" "-a" "be55ea7f6c33c2523863aa19499d893269104e1144e1d7b332b076663e329e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be55ea7f6c33c2523863aa19499d893269104e1144e1d7b332b076663e329e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be55ea7f6c33c2523863aa19499d893269104e1144e1d7b332b076663e329e1e", kill_on_drop: false }` [INFO] [stdout] be55ea7f6c33c2523863aa19499d893269104e1144e1d7b332b076663e329e1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e03f76e0291bfef688c9573bb41fe91d3b3a49f8d9c5b1f93ec8110adc5154da [INFO] running `Command { std: "docker" "start" "-a" "e03f76e0291bfef688c9573bb41fe91d3b3a49f8d9c5b1f93ec8110adc5154da", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling prettyplease v0.2.34 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.72.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling pcre2-sys v0.2.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking core_affinity v0.8.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking pcre2 v0.2.9 [INFO] [stderr] Checking quicksort v1.1.0 [INFO] [stderr] Compiling hyperscan-tokio-sys v0.1.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.6.0 [INFO] [stderr] Checking tikv-jemallocator v0.6.0 [INFO] [stderr] Checking hyperscan-tokio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/builder.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::x86_64::*` [INFO] [stdout] --> src/features.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use std::arch::x86_64::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/literal.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | /// Flags specific to literal matching [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flags` [INFO] [stdout] --> src/literal.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use hyperscan_tokio_sys::{Flags, Mode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/literal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DatabasePtr`, `Matching`, and `VectorScan` [INFO] [stdout] --> src/vectored.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use hyperscan_tokio_sys::{DatabasePtr, Matching, VectorScan}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/builder.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::x86_64::*` [INFO] [stdout] --> src/features.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use std::arch::x86_64::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/literal.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | /// Flags specific to literal matching [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Flags` [INFO] [stdout] --> src/literal.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use hyperscan_tokio_sys::{Flags, Mode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/literal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DatabasePtr`, `Matching`, and `VectorScan` [INFO] [stdout] --> src/vectored.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use hyperscan_tokio_sys::{DatabasePtr, Matching, VectorScan}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_size` is assigned to, but never used [INFO] [stdout] --> src/cache.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let mut total_size = 0usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_size` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/cache.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | for (key, _, size) in entries { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/vectored.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | let scanner = VectoredScanner::new(Arc::new(db)).unwrap(); [INFO] [stdout] | -------------------- ^^^^^^^^^^^^ expected `Database`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Database` [INFO] [stdout] found struct `std::sync::Arc` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vectored.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(database: Database) -> Result { [INFO] [stdout] | ^^^ ------------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vectored.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut scratch = self.scratch_pool.acquire()?; [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 `total_size` is assigned to, but never used [INFO] [stdout] --> src/cache.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let mut total_size = 0usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_size` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/cache.rs:260:22 [INFO] [stdout] | [INFO] [stdout] 260 | for (key, _, size) in entries { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/cache.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | let db = cache.get_or_compile(key.clone(), || { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_ptr` and `as_mut_ptr` are never used [INFO] [stdout] --> src/scratch_pool.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 12 | impl Scratch { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub(crate) fn as_ptr(&self) -> &ScratchPtr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub(crate) fn as_mut_ptr(&mut self) -> &mut ScratchPtr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/stream.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct StreamState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 14 | inner: StreamPtr, [INFO] [stdout] 15 | database: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `core_id` is never read [INFO] [stdout] --> src/worker_pool.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct Worker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | core_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:325:1 [INFO] [stdout] | [INFO] [stdout] 325 | pub mod builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:326:1 [INFO] [stdout] | [INFO] [stdout] 326 | pub mod cache; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:342:1 [INFO] [stdout] | [INFO] [stdout] 342 | pub mod database; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:343:1 [INFO] [stdout] | [INFO] [stdout] 343 | pub mod error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:349:1 [INFO] [stdout] | [INFO] [stdout] 349 | pub mod scratch_pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:350:1 [INFO] [stdout] | [INFO] [stdout] 350 | pub mod stream; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:352:1 [INFO] [stdout] | [INFO] [stdout] 352 | pub mod worker_pool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | pub mod zero_copy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/allocator.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub unsafe extern "C" fn jemalloc_alloc(size: usize) -> *mut c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/allocator.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub unsafe extern "C" fn jemalloc_free(ptr: *mut c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/builder.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(expression: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn id(mut self, id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn flags(mut self, flags: Flags) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn caseless(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn multiline(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn dotall(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn utf8(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn singlematch(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn allowempty(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn som_leftmost(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn min_offset(mut self, offset: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn max_offset(mut self, offset: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn min_length(mut self, length: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn edit_distance(mut self, distance: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn hamming_distance(mut self, distance: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/builder.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub expression: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/builder.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/builder.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub flags: Flags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/builder.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub min_offset: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/builder.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub max_offset: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/builder.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | pub min_length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/builder.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub edit_distance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/builder.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub hamming_distance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/builder.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new(expression: impl Into) -> PatternBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/builder.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn add_pattern(mut self, pattern: Pattern) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn add_patterns(mut self, patterns: impl IntoIterator) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn mode(mut self, mode: Mode) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn platform(mut self, platform: hyperscan_tokio_sys::Platform) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn som_horizon(mut self, horizon: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/builder.rs:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/cache.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn max_size(mut self, size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/cache.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn max_memory_bytes(mut self, bytes: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/cache.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn ttl(mut self, duration: Duration) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/cache.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn build(self) -> DatabaseCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/cache.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/cache.rs:290:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub entries: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/cache.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub capacity: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/cache.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | pub memory_usage_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/cache.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | pub memory_limit_bytes: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/cache.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | pub total_hits: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub mode: Mode, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub expression_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub database_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub stream_size: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub flags: hyperscan_tokio_sys::Flags, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub min_offset: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub max_offset: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub min_length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub edit_distance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/database.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub hamming_distance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/database.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn mode(&self) -> Mode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/database.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn pattern_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/database.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn serialize(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/database.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn deserialize(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/database.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn new(database: Database) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/database.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | pub async fn reload(&self, new_database: Database) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/database.rs:363:5 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn current(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/database.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn version(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/database.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | pub async fn wait_for_reload(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/error.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Compile { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | message: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pattern_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | position: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Runtime(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Pattern { id: u32, message: String }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | Pattern { id: u32, message: String }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | Pattern { id: u32, message: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/error.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | Serialization(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | InvalidMode, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/error.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | ScratchAllocation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/error.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | VersionMismatch { expected: u32, actual: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | VersionMismatch { expected: u32, actual: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/error.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 29 | VersionMismatch { expected: u32, actual: u32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/error.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | WorkerPool(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/error.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Io(#[from] std::io::Error), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/error.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | Join(#[from] tokio::task::JoinError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a type alias [INFO] [stdout] --> src/error.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/expression.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/expression.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn add_expression(mut self, context: ExpressionContext) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/expression.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn add_expressions(mut self, contexts: impl IntoIterator) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/expression.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn build(self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/features.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub avx2: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/features.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub avx512: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/features.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub neon: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/features.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub arch: CpuArchitecture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/features.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum CpuArchitecture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/features.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | X86_64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/features.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Aarch64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/features.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/literal.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / bitflags::bitflags! { [INFO] [stdout] 10 | | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] 11 | | pub struct LiteralFlags: u32 { [INFO] [stdout] 12 | | /// Case-insensitive matching [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::__declare_public_bitflags` which comes from the expansion of the macro `bitflags::bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/literal.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn id(mut self, id: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/literal.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn caseless(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/literal.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn som_leftmost(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/literal.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/literal.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/literal.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn add_literal(mut self, literal: Literal) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/literal.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn mode(mut self, mode: Mode) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/literal.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn build(self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/scanner.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn new(database: Arc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/stream.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn create_state(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/stream.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / pub async fn scan_stream(&self, stream: S) -> Result> [INFO] [stdout] 124 | | where [INFO] [stdout] 125 | | S: Stream> + Send, [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/stream.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub async fn close_stream(&self, state: Arc>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/worker_pool.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct WorkerPoolBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/worker_pool.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn num_workers(mut self, n: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/worker_pool.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn core_ids(mut self, ids: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/worker_pool.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn queue_size(mut self, size: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/worker_pool.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct WorkerPool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/worker_pool.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct ScanJob { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/worker_pool.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub id: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/worker_pool.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub data: bytes::Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/worker_pool.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct ScanResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/worker_pool.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub job_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/worker_pool.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | pub matches: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/worker_pool.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub async fn scan_batch(&self, jobs: Vec) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/zero_copy.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | fn to_bytes(self) -> Bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vectored.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | let mut scratch = self.scratch_pool.acquire()?; [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] error[E0433]: failed to resolve: use of undeclared type `ChimeraDatabaseBuilder` [INFO] [stdout] --> examples/complete_features.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | ChimeraDatabaseBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ChimeraDatabaseBuilder` [INFO] [stdout] | help: a struct with a similar name exists: `LiteralDatabaseBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChimeraScanner` [INFO] [stdout] --> examples/complete_features.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | let chimera_scanner = ChimeraScanner::new(chimera_db)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ChimeraScanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `patterns` found for struct `hyperscan_tokio::DatabaseBuilder` in the current scope [INFO] [stdout] --> examples/complete_features.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 73 | / DatabaseBuilder::new() [INFO] [stdout] 74 | | .patterns(som_patterns) [INFO] [stdout] | | -^^^^^^^^ private field, not a method [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: there is a method `add_patterns` with a similar name [INFO] [stdout] | [INFO] [stdout] 74 | .add_patterns(som_patterns) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8; 60]: ScanInput` is not satisfied [INFO] [stdout] --> examples/complete_features.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | let som_matches = scanner.scan_bytes(som_data).await?; [INFO] [stdout] | ---------- ^^^^^^^^ the trait `ScanInput` is not implemented for `&[u8; 60]` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `ScanInput` is implemented for `&[u8]` [INFO] [stdout] note: required by a bound in `hyperscan_tokio::Scanner::scan_bytes` [INFO] [stdout] --> /opt/rustwide/workdir/src/scanner.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn scan_bytes(&self, data: impl ScanInput) -> Result> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Scanner::scan_bytes` [INFO] [stdout] help: convert the array to a `&'static [u8]` slice instead [INFO] [stdout] | [INFO] [stdout] 82 | let som_matches = scanner.scan_bytes(&som_data[..]).await?; [INFO] [stdout] | + ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8; 60]: ScanInput` is not satisfied [INFO] [stdout] --> examples/complete_features.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | let som_matches = scanner.scan_bytes(som_data).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `ScanInput` is not implemented for `&[u8; 60]` [INFO] [stdout] | [INFO] [stdout] = help: the trait `ScanInput` is implemented for `&[u8]` [INFO] [stdout] note: required by a bound in `hyperscan_tokio::Scanner::scan_bytes` [INFO] [stdout] --> /opt/rustwide/workdir/src/scanner.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn scan_bytes(&self, data: impl ScanInput) -> Result> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Scanner::scan_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&[u8; 60]: ScanInput` is not satisfied [INFO] [stdout] --> examples/complete_features.rs:82:52 [INFO] [stdout] | [INFO] [stdout] 82 | let som_matches = scanner.scan_bytes(som_data).await?; [INFO] [stdout] | ^^^^^ the trait `ScanInput` is not implemented for `&[u8; 60]` [INFO] [stdout] | [INFO] [stdout] = help: the trait `ScanInput` is implemented for `&[u8]` [INFO] [stdout] note: required by a bound in `hyperscan_tokio::Scanner::scan_bytes` [INFO] [stdout] --> /opt/rustwide/workdir/src/scanner.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | pub async fn scan_bytes(&self, data: impl ScanInput) -> Result> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `Scanner::scan_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> examples/metrics_monitoring.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/metrics_monitoring.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::interval` [INFO] [stdout] --> examples/metrics_monitoring.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::time::interval; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `patterns` found for struct `hyperscan_tokio::DatabaseBuilder` in the current scope [INFO] [stdout] --> examples/complete_features.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 117 | / DatabaseBuilder::new() [INFO] [stdout] 118 | | .patterns(context_patterns) [INFO] [stdout] | | -^^^^^^^^ private field, not a method [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: there is a method `add_patterns` with a similar name [INFO] [stdout] | [INFO] [stdout] 118 | .add_patterns(context_patterns) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyperscan_tokio::chimera` [INFO] [stdout] --> examples/chimera_capture_groups.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use hyperscan_tokio::chimera::{Chimera, ChimeraBuilder}; [INFO] [stdout] | ^^^^^^^ could not find `chimera` in `hyperscan_tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 329 | #[cfg(feature = "chimera")] [INFO] [stdout] | ------------------- the item is gated behind the `chimera` feature [INFO] [stdout] 330 | #[cfg_attr(docsrs, doc(cfg(feature = "chimera")))] [INFO] [stdout] 331 | pub mod chimera; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChimeraDatabaseBuilder` [INFO] [stdout] --> examples/complete_features.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | ChimeraDatabaseBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ChimeraDatabaseBuilder` [INFO] [stdout] | help: a struct with a similar name exists: `LiteralDatabaseBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChimeraScanner` [INFO] [stdout] --> examples/complete_features.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | let advanced_scanner = ChimeraScanner::new(chimera_advanced)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ChimeraScanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperscan-tokio` (lib test) due to 1 previous error; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matching` [INFO] [stdout] --> examples/chimera_capture_groups.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | Matching::Continue [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Matching` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use hyperscan_tokio_sys::Matching; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matching` [INFO] [stdout] --> examples/chimera_capture_groups.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | Matching::Continue [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Matching` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use hyperscan_tokio_sys::Matching; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matching` [INFO] [stdout] --> examples/chimera_capture_groups.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | Matching::Continue [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Matching` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use hyperscan_tokio_sys::Matching; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matching` [INFO] [stdout] --> examples/chimera_capture_groups.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | Matching::Continue [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Matching` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use hyperscan_tokio_sys::Matching; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperscan-tokio` (example "complete_features") due to 9 previous errors [INFO] [stdout] error[E0107]: type alias takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> examples/chimera_capture_groups.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^ ---------------------------- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: type alias defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/workdir/src/error.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `patterns` found for struct `hyperscan_tokio::DatabaseBuilder` in the current scope [INFO] [stdout] --> examples/feature_parity.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 50 | / DatabaseBuilder::new() [INFO] [stdout] 51 | | .patterns(patterns) [INFO] [stdout] | | -^^^^^^^^ private field, not a method [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: there is a method `add_patterns` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 | .add_patterns(patterns) [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `hyperscan_tokio::Scanner` is not an iterator [INFO] [stdout] --> examples/feature_parity.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | let matches = scanner.scan(data).await?; [INFO] [stdout] | ^^^^ `hyperscan_tokio::Scanner` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/scanner.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Scanner { [INFO] [stdout] | ------------------ doesn't satisfy `hyperscan_tokio::Scanner: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `hyperscan_tokio::Scanner: Iterator` [INFO] [stdout] which is required by `&mut hyperscan_tokio::Scanner: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `hyperscan_tokio::Error` [INFO] [stdout] --> examples/chimera_capture_groups.rs:127:53 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> Result<(), Box> { [INFO] [stdout] | -------------------------------------- expected `hyperscan_tokio::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 127 | let re = regex::bytes::Regex::new(email_pattern)?; [INFO] [stdout] | ---------------------------------------^ the trait `From` is not implemented for `hyperscan_tokio::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, regex::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `hyperscan_tokio::Error` implements `From` [INFO] [stdout] `hyperscan_tokio::Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/feature_parity.rs:138:49 [INFO] [stdout] | [INFO] [stdout] 138 | let vectored_scanner = VectoredScanner::new(vectored_db)?; [INFO] [stdout] | -------------------- ^^^^^^^^^^^ expected `Database`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Database` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/vectored.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(database: Database) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/feature_parity.rs:157:49 [INFO] [stdout] | [INFO] [stdout] 157 | let mut stream_scanner = StreamScanner::new(stream_db)?; [INFO] [stdout] | ------------------ ^^^^^^^^^ expected `Database`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Database` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/stream.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(database: Database) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/feature_parity.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | b"tern that spans ", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected an array with a size of 13, found one with a size of 16 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `hyperscan_tokio::StreamScanner` is not an iterator [INFO] [stdout] --> examples/feature_parity.rs:165:38 [INFO] [stdout] | [INFO] [stdout] 165 | let matches = stream_scanner.scan(chunk).await?; [INFO] [stdout] | ^^^^ `hyperscan_tokio::StreamScanner` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/stream.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct StreamScanner { [INFO] [stdout] | ------------------------ doesn't satisfy `hyperscan_tokio::StreamScanner: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `hyperscan_tokio::StreamScanner: Iterator` [INFO] [stdout] which is required by `&mut hyperscan_tokio::StreamScanner: Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/allocator_comparison.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | let scanner = Scanner::new(db.clone()).unwrap(); [INFO] [stdout] | ------------ ^^^^^^^^^^ expected `Database`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyperscan_tokio::Database` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/scanner.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(database: Database) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperscan-tokio` (example "chimera_capture_groups") due to 7 previous errors [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperscan-tokio` (example "feature_parity") due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Chimera` [INFO] [stdout] --> examples/chimera_demo.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let chimera = Chimera::compile( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Chimera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchControl` [INFO] [stdout] --> examples/chimera_demo.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | MatchControl::Continue [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MatchControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Chimera` [INFO] [stdout] --> examples/chimera_demo.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let chimera = Chimera::compile_multi( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Chimera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchControl` [INFO] [stdout] --> examples/chimera_demo.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | MatchControl::Continue [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MatchControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Chimera` [INFO] [stdout] --> examples/chimera_demo.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | let chimera = Chimera::compile_ext_multi( [INFO] [stdout] | ^^^^^^^ use of undeclared type `Chimera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchControl` [INFO] [stdout] --> examples/chimera_demo.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | MatchControl::Continue [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MatchControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MatchControl` [INFO] [stdout] --> examples/chimera_demo.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | MatchControl::Continue [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MatchControl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorEventType` [INFO] [stdout] --> examples/chimera_demo.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | ErrorEventType::MatchLimit => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ErrorEventType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ErrorEventType` [INFO] [stdout] --> examples/chimera_demo.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | ErrorEventType::RecursionLimit => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ErrorEventType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperscan-tokio` (example "chimera_demo") due to 9 previous errors [INFO] [stdout] error[E0412]: cannot find type `ChimeraDatabase` in this scope [INFO] [stdout] --> examples/threat_detection_platform.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | async fn build_chimera_database() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 53 | async fn build_chimera_database() -> Result { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ChimeraScanner` in this scope [INFO] [stdout] --> examples/threat_detection_platform.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | chimera_scanner: ChimeraScanner, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ScanResult` in this scope [INFO] [stdout] --> examples/threat_detection_platform.rs:184:76 [INFO] [stdout] | [INFO] [stdout] 184 | async fn process_logs(&self, logs: Vec<(String, Bytes)>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use hyperscan_tokio::ScanResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ScanJob` in this scope [INFO] [stdout] --> examples/threat_detection_platform.rs:185:23 [INFO] [stdout] | [INFO] [stdout] 185 | let jobs: Vec = logs [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use hyperscan_tokio::ScanJob; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ScanJob` in this scope [INFO] [stdout] --> examples/threat_detection_platform.rs:188:41 [INFO] [stdout] | [INFO] [stdout] 188 | .map(|(id, (source, data))| ScanJob { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use hyperscan_tokio::ScanJob; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperscan-tokio` (example "allocator_comparison") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChimeraDatabaseBuilder` [INFO] [stdout] --> examples/threat_detection_platform.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | ChimeraDatabaseBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `ChimeraDatabaseBuilder` [INFO] [stdout] | help: a struct with a similar name exists: `LiteralDatabaseBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/threat_detection_platform.rs:77:35 [INFO] [stdout] | [INFO] [stdout] 77 | scanner: Scanner::new(threat_db)?, [INFO] [stdout] | ------------ ^^^^^^^^^ expected `Database`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyperscan_tokio::Database` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/scanner.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn new(database: Database) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChimeraScanner` [INFO] [stdout] --> examples/threat_detection_platform.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | chimera_scanner: ChimeraScanner::new(chimera_db)?, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ChimeraScanner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/threat_detection_platform.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | .build(threat_db)?; [INFO] [stdout] | ----- ^^^^^^^^^ expected `Database`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyperscan_tokio::Database` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/worker_pool.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn build(self, database: Database) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/threat_detection_platform.rs:269:45 [INFO] [stdout] | [INFO] [stdout] 269 | let stream_scanner = StreamScanner::new(stream_db)?; [INFO] [stdout] | ------------------ ^^^^^^^^^ expected `Database`, found `Arc` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `hyperscan_tokio::Database` [INFO] [stdout] found struct `Arc` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/stream.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(database: Database) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `Ok` to return `Result`, but it returns `Result, Error>` [INFO] [stdout] --> examples/threat_detection_platform.rs:279:55 [INFO] [stdout] | [INFO] [stdout] 279 | let mut match_stream = stream_scanner.scan_stream(packet_stream).await?; [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ expected `Result`, found `Result, Error>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `std::result::Result, std::io::Error>` [INFO] [stdout] = note: required for `Map>, fn(Vec) -> ... {Result::<..., ...>::Ok}>` to implement `Iterator` [INFO] [stdout] note: required by a bound in `hyperscan_tokio::StreamScanner::scan_stream` [INFO] [stdout] --> /opt/rustwide/workdir/src/stream.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 123 | pub async fn scan_stream(&self, stream: S) -> Result> [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] 124 | where [INFO] [stdout] 125 | S: Stream> + Send, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `StreamScanner::scan_stream` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/threat_detection_platform-ef0406a3ea7c70d4.long-type-8259026569128119768.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `MatchStream` in the current scope [INFO] [stdout] --> examples/threat_detection_platform.rs:282:38 [INFO] [stdout] | [INFO] [stdout] 282 | while let Some(m) = match_stream.next().await { [INFO] [stdout] | ^^^^ method not found in `MatchStream>, ...>>>` [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/threat_detection_platform-ef0406a3ea7c70d4.long-type-6215014972890996592.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0308, E0412, E0422, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hyperscan-tokio` (example "threat_detection_platform") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "e03f76e0291bfef688c9573bb41fe91d3b3a49f8d9c5b1f93ec8110adc5154da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03f76e0291bfef688c9573bb41fe91d3b3a49f8d9c5b1f93ec8110adc5154da", kill_on_drop: false }` [INFO] [stdout] e03f76e0291bfef688c9573bb41fe91d3b3a49f8d9c5b1f93ec8110adc5154da