[INFO] cloning repository https://github.com/david-burley/umb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/david-burley/umb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-burley%2Fumb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-burley%2Fumb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e5fda18e1a46b3bd0ca421663c69cf93269155c [INFO] testing david-burley/umb/4e5fda18e1a46b3bd0ca421663c69cf93269155c against 1.98.0-beta.1 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavid-burley%2Fumb" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/david-burley/umb [INFO] finished tweaking git repo https://github.com/david-burley/umb [INFO] tweaked toml for git repo https://github.com/david-burley/umb written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/david-burley/umb on toolchain 1.98.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/david-burley/umb 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b [INFO] running `Command { std: "docker" "start" "986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b", 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" "986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.35 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.43 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling clap_builder v4.5.53 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling flate2 v1.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling clap v4.5.53 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sysinfo v0.30.13 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling umb v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: umb@0.1.0: Building for linux-x86_64 [INFO] [stderr] warning: umb@0.1.0: CUDA GPU acceleration available if CUDA toolkit installed [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / /// Residual A2 — canonical race-free process-group reap. [INFO] [stdout] 197 | | /// [INFO] [stdout] 198 | | /// `kill_on_drop(true)` (tokio) and `sysinfo`'s per-pid `kill_with`/`kill` [INFO] [stdout] 199 | | /// SIGKILL ONLY the direct tracked child. A pooled MCP server that itself [INFO] [stdout] ... | [INFO] [stdout] 218 | | /// (std-only FFI; `libc`/`nix` are only *transitive* deps, not direct, and [INFO] [stdout] 219 | | /// must not be promoted). Returns `Ok` on success, `Err(errno)` otherwise. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 220 | #[cfg(unix)] [INFO] [stdout] 221 | / extern "C" { [INFO] [stdout] 222 | | fn kill(pid: i32, sig: i32) -> i32; [INFO] [stdout] 223 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / /// Attempt #8 — PR_SET_CHILD_SUBREAPER. `prctl(2)` and `waitpid(2)` are [INFO] [stdout] 226 | | /// declared as one-line `extern "C"` exactly like `kill` above (same std-only [INFO] [stdout] 227 | | /// FFI convention; `libc` is NOT a direct dep — only transitive — and the [INFO] [stdout] 228 | | /// in-tree precedent is the `kill` decl, so this follows it rather than [INFO] [stdout] ... | [INFO] [stdout] 232 | | /// PR_SET_CHILD_SUBREAPER only ever reads the first `unsigned long` arg, so a [INFO] [stdout] 233 | | /// fixed 5-arg `c_long` signature is ABI-correct for this single use. [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] 234 | #[cfg(target_os = "linux")] [INFO] [stdout] 235 | / extern "C" { [INFO] [stdout] 236 | | fn prctl( [INFO] [stdout] 237 | | option: i32, [INFO] [stdout] 238 | | arg2: std::os::raw::c_long, [INFO] [stdout] ... | [INFO] [stdout] 242 | | ) -> i32; [INFO] [stdout] 243 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | / /// `waitpid(2)` for the non-blocking adopted-orphan zombie reap. Declared [INFO] [stdout] 246 | | /// std-only `extern "C"` per the in-tree `kill` precedent (no `libc` [INFO] [stdout] 247 | | /// promotion). Called ONLY with a SPECIFIC positive `pid` (never the `-1` [INFO] [stdout] 248 | | /// "any child" wildcard) plus `WNOHANG`, so it is non-blocking AND can only [INFO] [stdout] ... | [INFO] [stdout] 251 | | /// `status` is an out-param we discard (we only need the reap, not the exit [INFO] [stdout] 252 | | /// code). [INFO] [stdout] | |__________^ [INFO] [stdout] 253 | #[cfg(target_os = "linux")] [INFO] [stdout] 254 | / extern "C" { [INFO] [stdout] 255 | | fn waitpid(pid: i32, status: *mut i32, options: i32) -> i32; [INFO] [stdout] 256 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/router.rs:1632:9 [INFO] [stdout] | [INFO] [stdout] 1632 | let mut flush = |buf: &mut Vec| -> Option { [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: unused variable: `description` [INFO] [stdout] --> src/server/router.rs:2122:13 [INFO] [stdout] | [INFO] [stdout] 2122 | let description = tool.description.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / /// Residual A2 — canonical race-free process-group reap. [INFO] [stdout] 197 | | /// [INFO] [stdout] 198 | | /// `kill_on_drop(true)` (tokio) and `sysinfo`'s per-pid `kill_with`/`kill` [INFO] [stdout] 199 | | /// SIGKILL ONLY the direct tracked child. A pooled MCP server that itself [INFO] [stdout] ... | [INFO] [stdout] 218 | | /// (std-only FFI; `libc`/`nix` are only *transitive* deps, not direct, and [INFO] [stdout] 219 | | /// must not be promoted). Returns `Ok` on success, `Err(errno)` otherwise. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 220 | #[cfg(unix)] [INFO] [stdout] 221 | / extern "C" { [INFO] [stdout] 222 | | fn kill(pid: i32, sig: i32) -> i32; [INFO] [stdout] 223 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / /// Attempt #8 — PR_SET_CHILD_SUBREAPER. `prctl(2)` and `waitpid(2)` are [INFO] [stdout] 226 | | /// declared as one-line `extern "C"` exactly like `kill` above (same std-only [INFO] [stdout] 227 | | /// FFI convention; `libc` is NOT a direct dep — only transitive — and the [INFO] [stdout] 228 | | /// in-tree precedent is the `kill` decl, so this follows it rather than [INFO] [stdout] ... | [INFO] [stdout] 232 | | /// PR_SET_CHILD_SUBREAPER only ever reads the first `unsigned long` arg, so a [INFO] [stdout] 233 | | /// fixed 5-arg `c_long` signature is ABI-correct for this single use. [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] 234 | #[cfg(target_os = "linux")] [INFO] [stdout] 235 | / extern "C" { [INFO] [stdout] 236 | | fn prctl( [INFO] [stdout] 237 | | option: i32, [INFO] [stdout] 238 | | arg2: std::os::raw::c_long, [INFO] [stdout] ... | [INFO] [stdout] 242 | | ) -> i32; [INFO] [stdout] 243 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | / /// `waitpid(2)` for the non-blocking adopted-orphan zombie reap. Declared [INFO] [stdout] 246 | | /// std-only `extern "C"` per the in-tree `kill` precedent (no `libc` [INFO] [stdout] 247 | | /// promotion). Called ONLY with a SPECIFIC positive `pid` (never the `-1` [INFO] [stdout] 248 | | /// "any child" wildcard) plus `WNOHANG`, so it is non-blocking AND can only [INFO] [stdout] ... | [INFO] [stdout] 251 | | /// `status` is an out-param we discard (we only need the reap, not the exit [INFO] [stdout] 252 | | /// code). [INFO] [stdout] | |__________^ [INFO] [stdout] 253 | #[cfg(target_os = "linux")] [INFO] [stdout] 254 | / extern "C" { [INFO] [stdout] 255 | | fn waitpid(pid: i32, status: *mut i32, options: i32) -> i32; [INFO] [stdout] 256 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ShortMode`, `Source as DictSource`, and `ToolDictionary` [INFO] [stdout] --> src/server/mod.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub use tool_dictionary::{ShortMode, Source as DictSource, ToolDictionary}; [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] --> src/server/router.rs:1632:9 [INFO] [stdout] | [INFO] [stdout] 1632 | let mut flush = |buf: &mut Vec| -> Option { [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: unused variable: `description` [INFO] [stdout] --> src/server/router.rs:2122:13 [INFO] [stdout] | [INFO] [stdout] 2122 | let description = tool.description.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_args`, `is_silent_mode`, and `is_info_command` are never used [INFO] [stdout] --> src/cli/args.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Cli { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 63 | /// Parse CLI arguments from command line [INFO] [stdout] 64 | pub fn parse_args() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_silent_mode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_info_command(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_embedding_dimension`, `has_custom_model`, and `get_cache_dir` are never used [INFO] [stdout] --> src/config.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 250 | impl UmbConfig { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn get_embedding_dimension(&self) -> EmbeddingDimension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | pub fn has_custom_model(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn get_cache_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FullReload` is never constructed [INFO] [stdout] --> src/features/hot_swap.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum ConfigChange { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | FullReload(RegistryConfig), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigChange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/features/hot_swap.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct HotSwapEvent { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 40 | pub change: ConfigChange, [INFO] [stdout] 41 | pub timestamp: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HotSwapEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_config` is never used [INFO] [stdout] --> src/features/hot_swap.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl HotSwapManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_config(&self) -> RegistryConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EmbeddingDimension` is never used [INFO] [stdout] --> src/features/semantic_search.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum EmbeddingDimension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `all`, `size`, `from_size`, and `description` are never used [INFO] [stdout] --> src/features/semantic_search.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl EmbeddingDimension { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 55 | /// Get all available dimensions [INFO] [stdout] 56 | pub fn all() -> &'static [EmbeddingDimension] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn from_size(size: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_server`, `list_stdio_servers`, and `list_sse_servers` are never used [INFO] [stdout] --> src/registry/config.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 289 | impl RegistryConfig { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn get_server(&self, name: &str) -> Option<&ServerEntry> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn list_stdio_servers(&self) -> Vec<(&String, &ServerEntry)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub fn list_sse_servers(&self) -> Vec<(&String, &ServerEntry)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_local_tool` is never used [INFO] [stdout] --> src/server/local_tools.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn is_local_tool(tool_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/server/router.rs:1495:9 [INFO] [stdout] | [INFO] [stdout] 1492 | pub struct SseServerConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1495 | pub env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SseServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/server/router.rs:1503:9 [INFO] [stdout] | [INFO] [stdout] 1500 | pub struct HttpServerConfig { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1503 | pub env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tool_count`, `server_count`, `is_sse_server`, and `is_http_server` are never used [INFO] [stdout] --> src/server/router.rs:3074:12 [INFO] [stdout] | [INFO] [stdout] 1908 | impl ToolRouter { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 3074 | pub fn tool_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3079 | pub fn server_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3084 | pub fn is_sse_server(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3089 | pub fn is_http_server(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 23s [INFO] running `Command { std: "docker" "inspect" "986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling sysinfo v0.30.13 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling notify v6.1.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling mac_address v1.1.8 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling hostname v0.4.2 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling umb v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: umb@0.1.0: Building for linux-x86_64 [INFO] [stderr] warning: umb@0.1.0: CUDA GPU acceleration available if CUDA toolkit installed [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / /// Residual A2 — canonical race-free process-group reap. [INFO] [stdout] 197 | | /// [INFO] [stdout] 198 | | /// `kill_on_drop(true)` (tokio) and `sysinfo`'s per-pid `kill_with`/`kill` [INFO] [stdout] 199 | | /// SIGKILL ONLY the direct tracked child. A pooled MCP server that itself [INFO] [stdout] ... | [INFO] [stdout] 218 | | /// (std-only FFI; `libc`/`nix` are only *transitive* deps, not direct, and [INFO] [stdout] 219 | | /// must not be promoted). Returns `Ok` on success, `Err(errno)` otherwise. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 220 | #[cfg(unix)] [INFO] [stdout] 221 | / extern "C" { [INFO] [stdout] 222 | | fn kill(pid: i32, sig: i32) -> i32; [INFO] [stdout] 223 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / /// Attempt #8 — PR_SET_CHILD_SUBREAPER. `prctl(2)` and `waitpid(2)` are [INFO] [stdout] 226 | | /// declared as one-line `extern "C"` exactly like `kill` above (same std-only [INFO] [stdout] 227 | | /// FFI convention; `libc` is NOT a direct dep — only transitive — and the [INFO] [stdout] 228 | | /// in-tree precedent is the `kill` decl, so this follows it rather than [INFO] [stdout] ... | [INFO] [stdout] 232 | | /// PR_SET_CHILD_SUBREAPER only ever reads the first `unsigned long` arg, so a [INFO] [stdout] 233 | | /// fixed 5-arg `c_long` signature is ABI-correct for this single use. [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] 234 | #[cfg(target_os = "linux")] [INFO] [stdout] 235 | / extern "C" { [INFO] [stdout] 236 | | fn prctl( [INFO] [stdout] 237 | | option: i32, [INFO] [stdout] 238 | | arg2: std::os::raw::c_long, [INFO] [stdout] ... | [INFO] [stdout] 242 | | ) -> i32; [INFO] [stdout] 243 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | / /// `waitpid(2)` for the non-blocking adopted-orphan zombie reap. Declared [INFO] [stdout] 246 | | /// std-only `extern "C"` per the in-tree `kill` precedent (no `libc` [INFO] [stdout] 247 | | /// promotion). Called ONLY with a SPECIFIC positive `pid` (never the `-1` [INFO] [stdout] 248 | | /// "any child" wildcard) plus `WNOHANG`, so it is non-blocking AND can only [INFO] [stdout] ... | [INFO] [stdout] 251 | | /// `status` is an out-param we discard (we only need the reap, not the exit [INFO] [stdout] 252 | | /// code). [INFO] [stdout] | |__________^ [INFO] [stdout] 253 | #[cfg(target_os = "linux")] [INFO] [stdout] 254 | / extern "C" { [INFO] [stdout] 255 | | fn waitpid(pid: i32, status: *mut i32, options: i32) -> i32; [INFO] [stdout] 256 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/router.rs:1632:9 [INFO] [stdout] | [INFO] [stdout] 1632 | let mut flush = |buf: &mut Vec| -> Option { [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: unused variable: `description` [INFO] [stdout] --> src/server/router.rs:2122:13 [INFO] [stdout] | [INFO] [stdout] 2122 | let description = tool.description.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / /// Residual A2 — canonical race-free process-group reap. [INFO] [stdout] 197 | | /// [INFO] [stdout] 198 | | /// `kill_on_drop(true)` (tokio) and `sysinfo`'s per-pid `kill_with`/`kill` [INFO] [stdout] 199 | | /// SIGKILL ONLY the direct tracked child. A pooled MCP server that itself [INFO] [stdout] ... | [INFO] [stdout] 218 | | /// (std-only FFI; `libc`/`nix` are only *transitive* deps, not direct, and [INFO] [stdout] 219 | | /// must not be promoted). Returns `Ok` on success, `Err(errno)` otherwise. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 220 | #[cfg(unix)] [INFO] [stdout] 221 | / extern "C" { [INFO] [stdout] 222 | | fn kill(pid: i32, sig: i32) -> i32; [INFO] [stdout] 223 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / /// Attempt #8 — PR_SET_CHILD_SUBREAPER. `prctl(2)` and `waitpid(2)` are [INFO] [stdout] 226 | | /// declared as one-line `extern "C"` exactly like `kill` above (same std-only [INFO] [stdout] 227 | | /// FFI convention; `libc` is NOT a direct dep — only transitive — and the [INFO] [stdout] 228 | | /// in-tree precedent is the `kill` decl, so this follows it rather than [INFO] [stdout] ... | [INFO] [stdout] 232 | | /// PR_SET_CHILD_SUBREAPER only ever reads the first `unsigned long` arg, so a [INFO] [stdout] 233 | | /// fixed 5-arg `c_long` signature is ABI-correct for this single use. [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] 234 | #[cfg(target_os = "linux")] [INFO] [stdout] 235 | / extern "C" { [INFO] [stdout] 236 | | fn prctl( [INFO] [stdout] 237 | | option: i32, [INFO] [stdout] 238 | | arg2: std::os::raw::c_long, [INFO] [stdout] ... | [INFO] [stdout] 242 | | ) -> i32; [INFO] [stdout] 243 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | / /// `waitpid(2)` for the non-blocking adopted-orphan zombie reap. Declared [INFO] [stdout] 246 | | /// std-only `extern "C"` per the in-tree `kill` precedent (no `libc` [INFO] [stdout] 247 | | /// promotion). Called ONLY with a SPECIFIC positive `pid` (never the `-1` [INFO] [stdout] 248 | | /// "any child" wildcard) plus `WNOHANG`, so it is non-blocking AND can only [INFO] [stdout] ... | [INFO] [stdout] 251 | | /// `status` is an out-param we discard (we only need the reap, not the exit [INFO] [stdout] 252 | | /// code). [INFO] [stdout] | |__________^ [INFO] [stdout] 253 | #[cfg(target_os = "linux")] [INFO] [stdout] 254 | / extern "C" { [INFO] [stdout] 255 | | fn waitpid(pid: i32, status: *mut i32, options: i32) -> i32; [INFO] [stdout] 256 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write as _` [INFO] [stdout] --> src/server/router.rs:5589:13 [INFO] [stdout] | [INFO] [stdout] 5589 | use std::io::Write as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/server/router.rs:4555:13 [INFO] [stdout] | [INFO] [stdout] 4555 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/router.rs:1632:9 [INFO] [stdout] | [INFO] [stdout] 1632 | let mut flush = |buf: &mut Vec| -> Option { [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: unused variable: `description` [INFO] [stdout] --> src/server/router.rs:2122:13 [INFO] [stdout] | [INFO] [stdout] 2122 | let description = tool.description.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / /// Residual A2 — canonical race-free process-group reap. [INFO] [stdout] 197 | | /// [INFO] [stdout] 198 | | /// `kill_on_drop(true)` (tokio) and `sysinfo`'s per-pid `kill_with`/`kill` [INFO] [stdout] 199 | | /// SIGKILL ONLY the direct tracked child. A pooled MCP server that itself [INFO] [stdout] ... | [INFO] [stdout] 218 | | /// (std-only FFI; `libc`/`nix` are only *transitive* deps, not direct, and [INFO] [stdout] 219 | | /// must not be promoted). Returns `Ok` on success, `Err(errno)` otherwise. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 220 | #[cfg(unix)] [INFO] [stdout] 221 | / extern "C" { [INFO] [stdout] 222 | | fn kill(pid: i32, sig: i32) -> i32; [INFO] [stdout] 223 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / /// Attempt #8 — PR_SET_CHILD_SUBREAPER. `prctl(2)` and `waitpid(2)` are [INFO] [stdout] 226 | | /// declared as one-line `extern "C"` exactly like `kill` above (same std-only [INFO] [stdout] 227 | | /// FFI convention; `libc` is NOT a direct dep — only transitive — and the [INFO] [stdout] 228 | | /// in-tree precedent is the `kill` decl, so this follows it rather than [INFO] [stdout] ... | [INFO] [stdout] 232 | | /// PR_SET_CHILD_SUBREAPER only ever reads the first `unsigned long` arg, so a [INFO] [stdout] 233 | | /// fixed 5-arg `c_long` signature is ABI-correct for this single use. [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] 234 | #[cfg(target_os = "linux")] [INFO] [stdout] 235 | / extern "C" { [INFO] [stdout] 236 | | fn prctl( [INFO] [stdout] 237 | | option: i32, [INFO] [stdout] 238 | | arg2: std::os::raw::c_long, [INFO] [stdout] ... | [INFO] [stdout] 242 | | ) -> i32; [INFO] [stdout] 243 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | / /// `waitpid(2)` for the non-blocking adopted-orphan zombie reap. Declared [INFO] [stdout] 246 | | /// std-only `extern "C"` per the in-tree `kill` precedent (no `libc` [INFO] [stdout] 247 | | /// promotion). Called ONLY with a SPECIFIC positive `pid` (never the `-1` [INFO] [stdout] 248 | | /// "any child" wildcard) plus `WNOHANG`, so it is non-blocking AND can only [INFO] [stdout] ... | [INFO] [stdout] 251 | | /// `status` is an out-param we discard (we only need the reap, not the exit [INFO] [stdout] 252 | | /// code). [INFO] [stdout] | |__________^ [INFO] [stdout] 253 | #[cfg(target_os = "linux")] [INFO] [stdout] 254 | / extern "C" { [INFO] [stdout] 255 | | fn waitpid(pid: i32, status: *mut i32, options: i32) -> i32; [INFO] [stdout] 256 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write as _` [INFO] [stdout] --> src/server/router.rs:5589:13 [INFO] [stdout] | [INFO] [stdout] 5589 | use std::io::Write as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ShortMode`, `Source as DictSource`, and `ToolDictionary` [INFO] [stdout] --> src/server/mod.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub use tool_dictionary::{ShortMode, Source as DictSource, ToolDictionary}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | / /// Residual A2 — canonical race-free process-group reap. [INFO] [stdout] 197 | | /// [INFO] [stdout] 198 | | /// `kill_on_drop(true)` (tokio) and `sysinfo`'s per-pid `kill_with`/`kill` [INFO] [stdout] 199 | | /// SIGKILL ONLY the direct tracked child. A pooled MCP server that itself [INFO] [stdout] ... | [INFO] [stdout] 218 | | /// (std-only FFI; `libc`/`nix` are only *transitive* deps, not direct, and [INFO] [stdout] 219 | | /// must not be promoted). Returns `Ok` on success, `Err(errno)` otherwise. [INFO] [stdout] | |___________________________________________________________________________^ [INFO] [stdout] 220 | #[cfg(unix)] [INFO] [stdout] 221 | / extern "C" { [INFO] [stdout] 222 | | fn kill(pid: i32, sig: i32) -> i32; [INFO] [stdout] 223 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 225 | / /// Attempt #8 — PR_SET_CHILD_SUBREAPER. `prctl(2)` and `waitpid(2)` are [INFO] [stdout] 226 | | /// declared as one-line `extern "C"` exactly like `kill` above (same std-only [INFO] [stdout] 227 | | /// FFI convention; `libc` is NOT a direct dep — only transitive — and the [INFO] [stdout] 228 | | /// in-tree precedent is the `kill` decl, so this follows it rather than [INFO] [stdout] ... | [INFO] [stdout] 232 | | /// PR_SET_CHILD_SUBREAPER only ever reads the first `unsigned long` arg, so a [INFO] [stdout] 233 | | /// fixed 5-arg `c_long` signature is ABI-correct for this single use. [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] 234 | #[cfg(target_os = "linux")] [INFO] [stdout] 235 | / extern "C" { [INFO] [stdout] 236 | | fn prctl( [INFO] [stdout] 237 | | option: i32, [INFO] [stdout] 238 | | arg2: std::os::raw::c_long, [INFO] [stdout] ... | [INFO] [stdout] 242 | | ) -> i32; [INFO] [stdout] 243 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/server/router.rs:245:1 [INFO] [stdout] | [INFO] [stdout] 245 | / /// `waitpid(2)` for the non-blocking adopted-orphan zombie reap. Declared [INFO] [stdout] 246 | | /// std-only `extern "C"` per the in-tree `kill` precedent (no `libc` [INFO] [stdout] 247 | | /// promotion). Called ONLY with a SPECIFIC positive `pid` (never the `-1` [INFO] [stdout] 248 | | /// "any child" wildcard) plus `WNOHANG`, so it is non-blocking AND can only [INFO] [stdout] ... | [INFO] [stdout] 251 | | /// `status` is an out-param we discard (we only need the reap, not the exit [INFO] [stdout] 252 | | /// code). [INFO] [stdout] | |__________^ [INFO] [stdout] 253 | #[cfg(target_os = "linux")] [INFO] [stdout] 254 | / extern "C" { [INFO] [stdout] 255 | | fn waitpid(pid: i32, status: *mut i32, options: i32) -> i32; [INFO] [stdout] 256 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ShortMode`, `Source as DictSource`, and `ToolDictionary` [INFO] [stdout] --> src/server/mod.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | pub use tool_dictionary::{ShortMode, Source as DictSource, ToolDictionary}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/server/router.rs:4555:13 [INFO] [stdout] | [INFO] [stdout] 4555 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/router.rs:1632:9 [INFO] [stdout] | [INFO] [stdout] 1632 | let mut flush = |buf: &mut Vec| -> Option { [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: unused variable: `description` [INFO] [stdout] --> src/server/router.rs:2122:13 [INFO] [stdout] | [INFO] [stdout] 2122 | let description = tool.description.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_args`, `is_silent_mode`, and `is_info_command` are never used [INFO] [stdout] --> src/cli/args.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Cli { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 63 | /// Parse CLI arguments from command line [INFO] [stdout] 64 | pub fn parse_args() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn is_silent_mode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn is_info_command(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_embedding_dimension`, `has_custom_model`, and `get_cache_dir` are never used [INFO] [stdout] --> src/config.rs:372:12 [INFO] [stdout] | [INFO] [stdout] 250 | impl UmbConfig { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 372 | pub fn get_embedding_dimension(&self) -> EmbeddingDimension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | pub fn has_custom_model(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn get_cache_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FullReload` is never constructed [INFO] [stdout] --> src/features/hot_swap.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum ConfigChange { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | FullReload(RegistryConfig), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigChange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/features/hot_swap.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct HotSwapEvent { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 40 | pub change: ConfigChange, [INFO] [stdout] 41 | pub timestamp: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HotSwapEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_config` is never used [INFO] [stdout] --> src/features/hot_swap.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl HotSwapManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_config(&self) -> RegistryConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EmbeddingDimension` is never used [INFO] [stdout] --> src/features/semantic_search.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum EmbeddingDimension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `all`, `size`, `from_size`, and `description` are never used [INFO] [stdout] --> src/features/semantic_search.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl EmbeddingDimension { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 55 | /// Get all available dimensions [INFO] [stdout] 56 | pub fn all() -> &'static [EmbeddingDimension] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn from_size(size: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_server`, `list_stdio_servers`, and `list_sse_servers` are never used [INFO] [stdout] --> src/registry/config.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 289 | impl RegistryConfig { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn get_server(&self, name: &str) -> Option<&ServerEntry> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn list_stdio_servers(&self) -> Vec<(&String, &ServerEntry)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub fn list_sse_servers(&self) -> Vec<(&String, &ServerEntry)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_local_tool` is never used [INFO] [stdout] --> src/server/local_tools.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn is_local_tool(tool_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/server/router.rs:1495:9 [INFO] [stdout] | [INFO] [stdout] 1492 | pub struct SseServerConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1495 | pub env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SseServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/server/router.rs:1503:9 [INFO] [stdout] | [INFO] [stdout] 1500 | pub struct HttpServerConfig { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1503 | pub env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `tool_count`, `server_count`, `is_sse_server`, and `is_http_server` are never used [INFO] [stdout] --> src/server/router.rs:3074:12 [INFO] [stdout] | [INFO] [stdout] 1908 | impl ToolRouter { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 3074 | pub fn tool_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3079 | pub fn server_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3084 | pub fn is_sse_server(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3089 | pub fn is_http_server(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/router.rs:1632:9 [INFO] [stdout] | [INFO] [stdout] 1632 | let mut flush = |buf: &mut Vec| -> Option { [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: unused variable: `description` [INFO] [stdout] --> src/server/router.rs:2122:13 [INFO] [stdout] | [INFO] [stdout] 2122 | let description = tool.description.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_args` is never used [INFO] [stdout] --> src/cli/args.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl Cli { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 63 | /// Parse CLI arguments from command line [INFO] [stdout] 64 | pub fn parse_args() -> 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: methods `has_custom_model` and `get_cache_dir` are never used [INFO] [stdout] --> src/config.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 250 | impl UmbConfig { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 378 | pub fn has_custom_model(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | pub fn get_cache_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FullReload` is never constructed [INFO] [stdout] --> src/features/hot_swap.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum ConfigChange { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | FullReload(RegistryConfig), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigChange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/features/hot_swap.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct HotSwapEvent { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 40 | pub change: ConfigChange, [INFO] [stdout] 41 | pub timestamp: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HotSwapEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_config` is never used [INFO] [stdout] --> src/features/hot_swap.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl HotSwapManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn get_config(&self) -> RegistryConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `all` and `description` are never used [INFO] [stdout] --> src/features/semantic_search.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl EmbeddingDimension { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 55 | /// Get all available dimensions [INFO] [stdout] 56 | pub fn all() -> &'static [EmbeddingDimension] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_server`, `list_stdio_servers`, and `list_sse_servers` are never used [INFO] [stdout] --> src/registry/config.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 289 | impl RegistryConfig { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn get_server(&self, name: &str) -> Option<&ServerEntry> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn list_stdio_servers(&self) -> Vec<(&String, &ServerEntry)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub fn list_sse_servers(&self) -> Vec<(&String, &ServerEntry)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/server/router.rs:1495:9 [INFO] [stdout] | [INFO] [stdout] 1492 | pub struct SseServerConfig { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1495 | pub env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SseServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `env` is never read [INFO] [stdout] --> src/server/router.rs:1503:9 [INFO] [stdout] | [INFO] [stdout] 1500 | pub struct HttpServerConfig { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1503 | pub env: HashMap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_sse_server` and `is_http_server` are never used [INFO] [stdout] --> src/server/router.rs:3084:12 [INFO] [stdout] | [INFO] [stdout] 1908 | impl ToolRouter { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 3084 | pub fn is_sse_server(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 3089 | pub fn is_http_server(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 26s [INFO] running `Command { std: "docker" "inspect" "986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: umb@0.1.0: Building for linux-x86_64 [INFO] [stderr] warning: umb@0.1.0: CUDA GPU acceleration available if CUDA toolkit installed [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/server/router.rs:196:1 [INFO] [stderr] | [INFO] [stderr] 196 | / /// Residual A2 — canonical race-free process-group reap. [INFO] [stderr] 197 | | /// [INFO] [stderr] 198 | | /// `kill_on_drop(true)` (tokio) and `sysinfo`'s per-pid `kill_with`/`kill` [INFO] [stderr] 199 | | /// SIGKILL ONLY the direct tracked child. A pooled MCP server that itself [INFO] [stderr] ... | [INFO] [stderr] 218 | | /// (std-only FFI; `libc`/`nix` are only *transitive* deps, not direct, and [INFO] [stderr] 219 | | /// must not be promoted). Returns `Ok` on success, `Err(errno)` otherwise. [INFO] [stderr] | |___________________________________________________________________________^ [INFO] [stderr] 220 | #[cfg(unix)] [INFO] [stderr] 221 | / extern "C" { [INFO] [stderr] 222 | | fn kill(pid: i32, sig: i32) -> i32; [INFO] [stderr] 223 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/server/router.rs:225:1 [INFO] [stderr] | [INFO] [stderr] 225 | / /// Attempt #8 — PR_SET_CHILD_SUBREAPER. `prctl(2)` and `waitpid(2)` are [INFO] [stderr] 226 | | /// declared as one-line `extern "C"` exactly like `kill` above (same std-only [INFO] [stderr] 227 | | /// FFI convention; `libc` is NOT a direct dep — only transitive — and the [INFO] [stderr] 228 | | /// in-tree precedent is the `kill` decl, so this follows it rather than [INFO] [stderr] ... | [INFO] [stderr] 232 | | /// PR_SET_CHILD_SUBREAPER only ever reads the first `unsigned long` arg, so a [INFO] [stderr] 233 | | /// fixed 5-arg `c_long` signature is ABI-correct for this single use. [INFO] [stderr] | |______________________________________________________________________^ [INFO] [stderr] 234 | #[cfg(target_os = "linux")] [INFO] [stderr] 235 | / extern "C" { [INFO] [stderr] 236 | | fn prctl( [INFO] [stderr] 237 | | option: i32, [INFO] [stderr] 238 | | arg2: std::os::raw::c_long, [INFO] [stderr] ... | [INFO] [stderr] 242 | | ) -> i32; [INFO] [stderr] 243 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/server/router.rs:245:1 [INFO] [stderr] | [INFO] [stderr] 245 | / /// `waitpid(2)` for the non-blocking adopted-orphan zombie reap. Declared [INFO] [stderr] 246 | | /// std-only `extern "C"` per the in-tree `kill` precedent (no `libc` [INFO] [stderr] 247 | | /// promotion). Called ONLY with a SPECIFIC positive `pid` (never the `-1` [INFO] [stderr] 248 | | /// "any child" wildcard) plus `WNOHANG`, so it is non-blocking AND can only [INFO] [stderr] ... | [INFO] [stderr] 251 | | /// `status` is an out-param we discard (we only need the reap, not the exit [INFO] [stderr] 252 | | /// code). [INFO] [stderr] | |__________^ [INFO] [stderr] 253 | #[cfg(target_os = "linux")] [INFO] [stderr] 254 | / extern "C" { [INFO] [stderr] 255 | | fn waitpid(pid: i32, status: *mut i32, options: i32) -> i32; [INFO] [stderr] 256 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/server/router.rs:1632:9 [INFO] [stderr] | [INFO] [stderr] 1632 | let mut flush = |buf: &mut Vec| -> Option { [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `description` [INFO] [stderr] --> src/server/router.rs:2122:13 [INFO] [stderr] | [INFO] [stderr] 2122 | let description = tool.description.clone(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `umb` (lib) generated 5 warnings (run `cargo fix --lib -p umb` to apply 2 suggestions) [INFO] [stderr] warning: unused imports: `ShortMode`, `Source as DictSource`, and `ToolDictionary` [INFO] [stderr] --> src/server/mod.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | pub use tool_dictionary::{ShortMode, Source as DictSource, ToolDictionary}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `parse_args`, `is_silent_mode`, and `is_info_command` are never used [INFO] [stderr] --> src/cli/args.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 62 | impl Cli { [INFO] [stderr] | -------- associated items in this implementation [INFO] [stderr] 63 | /// Parse CLI arguments from command line [INFO] [stderr] 64 | pub fn parse_args() -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn is_silent_mode(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 76 | pub fn is_info_command(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `get_embedding_dimension`, `has_custom_model`, and `get_cache_dir` are never used [INFO] [stderr] --> src/config.rs:372:12 [INFO] [stderr] | [INFO] [stderr] 250 | impl UmbConfig { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 372 | pub fn get_embedding_dimension(&self) -> EmbeddingDimension { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 378 | pub fn has_custom_model(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 383 | pub fn get_cache_dir(&self) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `FullReload` is never constructed [INFO] [stderr] --> src/features/hot_swap.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub enum ConfigChange { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] ... [INFO] [stderr] 34 | FullReload(RegistryConfig), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConfigChange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `timestamp` is never read [INFO] [stderr] --> src/features/hot_swap.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct HotSwapEvent { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 40 | pub change: ConfigChange, [INFO] [stderr] 41 | pub timestamp: chrono::DateTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HotSwapEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get_config` is never used [INFO] [stderr] --> src/features/hot_swap.rs:174:12 [INFO] [stderr] | [INFO] [stderr] 68 | impl HotSwapManager { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 174 | pub fn get_config(&self) -> RegistryConfig { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `EmbeddingDimension` is never used [INFO] [stderr] --> src/features/semantic_search.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | pub enum EmbeddingDimension { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `all`, `size`, `from_size`, and `description` are never used [INFO] [stderr] --> src/features/semantic_search.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 54 | impl EmbeddingDimension { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 55 | /// Get all available dimensions [INFO] [stderr] 56 | pub fn all() -> &'static [EmbeddingDimension] { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 66 | pub fn size(&self) -> usize { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | pub fn from_size(size: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | pub fn description(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_server`, `list_stdio_servers`, and `list_sse_servers` are never used [INFO] [stderr] --> src/registry/config.rs:448:12 [INFO] [stderr] | [INFO] [stderr] 289 | impl RegistryConfig { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 448 | pub fn get_server(&self, name: &str) -> Option<&ServerEntry> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 453 | pub fn list_stdio_servers(&self) -> Vec<(&String, &ServerEntry)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 461 | pub fn list_sse_servers(&self) -> Vec<(&String, &ServerEntry)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_local_tool` is never used [INFO] [stderr] --> src/server/local_tools.rs:175:8 [INFO] [stderr] | [INFO] [stderr] 175 | pub fn is_local_tool(tool_name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `env` is never read [INFO] [stderr] --> src/server/router.rs:1495:9 [INFO] [stderr] | [INFO] [stderr] 1492 | pub struct SseServerConfig { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 1495 | pub env: HashMap, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SseServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `env` is never read [INFO] [stderr] --> src/server/router.rs:1503:9 [INFO] [stderr] | [INFO] [stderr] 1500 | pub struct HttpServerConfig { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 1503 | pub env: HashMap, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HttpServerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `tool_count`, `server_count`, `is_sse_server`, and `is_http_server` are never used [INFO] [stderr] --> src/server/router.rs:3074:12 [INFO] [stderr] | [INFO] [stderr] 1908 | impl ToolRouter { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 3074 | pub fn tool_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 3079 | pub fn server_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 3084 | pub fn is_sse_server(&self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 3089 | pub fn is_http_server(&self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `umb` (bin "umb") generated 18 warnings (5 duplicates) (run `cargo fix --bin "umb" -p umb` to apply 1 suggestion) [INFO] [stderr] warning: unused import: `std::io::Write as _` [INFO] [stderr] --> src/server/router.rs:5589:13 [INFO] [stderr] | [INFO] [stderr] 5589 | use std::io::Write as _; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ShortMode`, `Source as DictSource`, and `ToolDictionary` [INFO] [stderr] --> src/server/mod.rs:9:27 [INFO] [stderr] | [INFO] [stderr] 9 | pub use tool_dictionary::{ShortMode, Source as DictSource, ToolDictionary}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stderr] --> src/server/router.rs:4555:13 [INFO] [stderr] | [INFO] [stderr] 4555 | use std::os::unix::process::CommandExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `parse_args` is never used [INFO] [stderr] --> src/cli/args.rs:64:12 [INFO] [stderr] | [INFO] [stderr] 62 | impl Cli { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] 63 | /// Parse CLI arguments from command line [INFO] [stderr] 64 | pub fn parse_args() -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `has_custom_model` and `get_cache_dir` are never used [INFO] [stderr] --> src/config.rs:378:12 [INFO] [stderr] | [INFO] [stderr] 250 | impl UmbConfig { [INFO] [stderr] | -------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 378 | pub fn has_custom_model(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 383 | pub fn get_cache_dir(&self) -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `all` and `description` are never used [INFO] [stderr] --> src/features/semantic_search.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 54 | impl EmbeddingDimension { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 55 | /// Get all available dimensions [INFO] [stderr] 56 | pub fn all() -> &'static [EmbeddingDimension] { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 82 | pub fn description(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `is_sse_server` and `is_http_server` are never used [INFO] [stderr] --> src/server/router.rs:3084:12 [INFO] [stderr] | [INFO] [stderr] 1908 | impl ToolRouter { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 3084 | pub fn is_sse_server(&self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 3089 | pub fn is_http_server(&self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `umb` (bin "umb" test) generated 18 warnings (11 duplicates) (run `cargo fix --bin "umb" -p umb --tests` to apply 2 suggestions) [INFO] [stderr] warning: `umb` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/umb-1dcc27eaba553af0) [INFO] [stdout] [INFO] [stdout] running 74 tests [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test features::semantic_search::tests::test_dimension_from_size ... ok [INFO] [stdout] test features::hot_swap::tests::test_diff_configs_server_removed ... ok [INFO] [stdout] test features::hot_swap::tests::test_diff_configs_no_changes ... ok [INFO] [stdout] test features::semantic_search::tests::test_dimensions ... ok [INFO] [stdout] test features::hot_swap::tests::test_diff_configs_server_added ... ok [INFO] [stdout] test registry::config::tests::test_comment_string_form ... ok [INFO] [stdout] test registry::config::tests::test_load_skips_bad_entry_keeps_valid_and_file_untouched ... ok [INFO] [stdout] test config::tests::test_embedding_dimension_conversion ... ok [INFO] [stdout] test registry::config::tests::test_http_type_now_reaches_http_variant ... ok [INFO] [stdout] test registry::config::tests::test_registry_config_mixed_transports ... ok [INFO] [stdout] test registry::config::tests::test_load_skips_legacy_stdio_type_sse_without_url ... ok [INFO] [stdout] test registry::config::tests::test_sse_type ... ok [INFO] [stdout] test registry::config::tests::test_stdio_explicit_type ... ok [INFO] [stdout] test registry::config::tests::test_serialize_deserialize_round_trip_all_variants ... ok [INFO] [stdout] test registry::config::tests::test_stdio_no_type_field ... ok [INFO] [stdout] test registry::config::tests::test_streamable_http_type ... ok [INFO] [stdout] test registry::config::tests::test_unknown_type_is_error ... ok [INFO] [stdout] test registry::config::tests::test_load_malformed_json_file_loud_backup_no_silent_loss ... ok [INFO] [stdout] test registry::config::tests::test_load_mcpservers_alias_all_valid_preserved ... ok [INFO] [stdout] test server::local_tools::tests::test_is_local_tool ... ok [INFO] [stdout] test server::local_tools::tests::test_local_tool_definitions ... ok [INFO] [stdout] test server::mcp::tests::test_parent_death_debounce_rejects_transient_none ... ok [INFO] [stdout] test server::local_tools::tests::test_edit_file ... ok [INFO] [stdout] test server::router::tests::test_a3_external_collision_emits_warn ... ok [INFO] [stdout] test server::local_tools::tests::test_run_command ... ok [INFO] [stdout] test server::mcp::tests::test_jsonrpc_serialization ... ok [INFO] [stdout] test server::mcp::tests::test_parent_died_predicate_drives_orphan_shutdown ... ok [INFO] [stdout] test server::mcp::tests::test_response_helpers ... ok [INFO] [stdout] test server::local_tools::tests::test_read_nonexistent_file ... ok [INFO] [stdout] test server::local_tools::tests::test_write_and_read_file ... ok [INFO] [stdout] test server::router::tests::test_list_tools_with_filter ... ok [INFO] [stdout] test server::router::tests::test_listtools_keyword_name_ranks_above_desc_and_is_deterministic ... ok [INFO] [stdout] test server::router::tests::test_listtools_no_query_is_deterministic_server_grouped ... ok [INFO] [stdout] test server::router::tests::test_minify_schema_preserves_validity_and_is_idempotent ... ok [INFO] [stdout] test server::router::tests::test_pgid_guard_refuses_invalid_and_own_pid_proceeds_for_normal ... ok [INFO] [stdout] test config::tests::test_config_serialization ... ok [INFO] [stdout] test server::router::tests::test_discovery_skips_non_json_chatter_and_does_not_stall ... ok [INFO] [stdout] test server::router::tests::test_doctor_tools_and_get_tool_info_show_source_provenance ... ok [INFO] [stdout] test server::router::tests::test_reap_kills_doubleforked_grandchild_via_process_group ... ignored, drives the real adopted-orphan sweep (ppid==self); unsound when the cargo-test binary is its own session/group leader (CI runners) — its own worker threads become sweep targets. Run isolated: cargo test -- --ignored --test-threads=1 [INFO] [stdout] test server::router::tests::test_reap_skips_pid_with_mismatched_start_time_but_reaps_genuine ... ignored, drives the real adopted-orphan sweep (ppid==self); unsound when the cargo-test binary is its own session/group leader (CI runners) — its own worker threads become sweep targets. Run isolated: cargo test -- --ignored --test-threads=1 [INFO] [stdout] test server::router::tests::test_reap_sweep_spares_allowlisted_probe_but_kills_unregistered_orphan ... ignored, drives the real adopted-orphan sweep (ppid==self); unsound when the cargo-test binary is its own session/group leader (CI runners) — its own worker threads become sweep targets. Run isolated: cargo test -- --ignored --test-threads=1 [INFO] [stdout] test server::router::tests::test_server_keyed_builtin_local_precedence_unchanged ... ok [INFO] [stdout] test server::router::tests::test_server_keyed_get_tool_info_collision_shape ... ok [INFO] [stdout] test server::router::tests::test_server_keyed_two_external_same_name_both_routable ... ok [INFO] [stdout] test server::router::tests::test_server_keyed_unique_name_no_hint_still_routes ... ok [INFO] [stdout] test server::router::tests::test_short_description_deterministic_and_safe ... ok [INFO] [stdout] test server::router::tests::test_evict_idle_disabled_when_ttl_zero ... ok [INFO] [stdout] test server::router::tests::test_stdio_shutdown_reaps_tracked_child_and_grandchild_before_exit ... ignored, drives the real adopted-orphan sweep (ppid==self); unsound when the cargo-test binary is its own session/group leader (CI runners) — its own worker threads become sweep targets. Run isolated: cargo test -- --ignored --test-threads=1 [INFO] [stdout] test server::router::tests::test_streamable_http_json_vs_eventstream_branch ... ok [INFO] [stdout] test server::router::tests::test_evict_idle_evicts_after_ttl_via_existing_reaper ... ok [INFO] [stdout] test server::router::tests::test_streamable_http_sse_frame_parsing_assembles_jsonrpc ... ok [INFO] [stdout] test server::router::tests::test_subreaper_adopts_and_reaps_setsid_doublefork_grandchild_no_zombie ... ignored, mutates process-global irreversible PR_SET_CHILD_SUBREAPER; incompatible with parallel in-process cargo test. Run isolated: cargo test -- --ignored --test-threads=1 [INFO] [stdout] test server::router::tests::test_sweep_interval_is_ttl_scaled_not_hardcoded ... ok [INFO] [stdout] test server::router::tests::test_tool_registration ... ok [INFO] [stdout] test server::router::tests::test_evict_idle_skips_in_use_locked_connection ... ok [INFO] [stdout] test server::router::tests::test_evict_idle_ttl_boundary ... ok [INFO] [stdout] test server::router::tests::test_two_tier_list_then_get_tool_info_roundtrip ... ok [INFO] [stdout] test server::router::tests::test_unregister_server ... ok [INFO] [stdout] test server::router::tests::test_pgid_reap_skips_recycled_group_on_ident_mismatch ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_auto_mode_silently_falls_back_when_hash_mismatches ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_auto_mode_applies_when_hash_matches ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_loads_compiled_fallback_when_no_in_repo_dir ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_off_mode_always_returns_live_def ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_skips_bad_file_without_panicking ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_on_mode_applies_regardless_of_hash ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_short_mode_parse ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_user_overlay_overrides_in_repo ... ok [INFO] [stdout] test server::router::tests::test_r2_hotswap_remove_evicts_stale_pooled_connection ... ok [INFO] [stdout] test server::router::tests::test_r1_router_read_guard_not_held_across_backend_await ... ok [INFO] [stdout] test server::router::tests::test_streamable_http_session_id_capture_resend_and_timeout ... ok [INFO] [stdout] test server::router::tests::test_spawned_sweeper_evicts_short_ttl_idle_within_bounded_time ... ok [INFO] [stdout] test server::router::tests::test_tracked_child_guard_untracks_on_early_return ... ok [INFO] [stdout] test server::router::tests::test_touch_resets_idle_clock_prevents_eviction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 69 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 7.41s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/umb-ab2a8be745ea685c) [INFO] [stdout] [INFO] [stdout] running 80 tests [INFO] [stdout] test cli::args::tests::test_default_is_silent ... ok [INFO] [stdout] test cli::args::tests::test_doctor_is_info_command ... ok [INFO] [stdout] test cli::args::tests::test_list_servers_not_silent ... ok [INFO] [stdout] test cli::args::tests::test_verbose_not_silent ... ok [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test config::tests::test_embedding_dimension_conversion ... ok [INFO] [stdout] test cli::signal::tests::test_cancellation_token_creation ... ok [INFO] [stdout] test cli::signal::tests::test_cloned_token_shares_state ... ok [INFO] [stdout] test features::hot_swap::tests::test_diff_configs_no_changes ... ok [INFO] [stdout] test features::hot_swap::tests::test_diff_configs_server_added ... ok [INFO] [stdout] test features::hot_swap::tests::test_diff_configs_server_removed ... ok [INFO] [stdout] test config::tests::test_config_serialization ... ok [INFO] [stdout] test features::semantic_search::tests::test_dimensions ... ok [INFO] [stdout] test registry::config::tests::test_registry_config_mixed_transports ... ok [INFO] [stdout] test features::semantic_search::tests::test_dimension_from_size ... ok [INFO] [stdout] test registry::config::tests::test_serialize_deserialize_round_trip_all_variants ... ok [INFO] [stdout] test registry::config::tests::test_sse_type ... ok [INFO] [stdout] test registry::config::tests::test_comment_string_form ... ok [INFO] [stdout] test registry::config::tests::test_http_type_now_reaches_http_variant ... ok [INFO] [stdout] test registry::config::tests::test_stdio_explicit_type ... ok [INFO] [stdout] test registry::config::tests::test_stdio_no_type_field ... ok [INFO] [stdout] test registry::config::tests::test_streamable_http_type ... ok [INFO] [stdout] test registry::config::tests::test_unknown_type_is_error ... ok [INFO] [stdout] test server::local_tools::tests::test_is_local_tool ... ok [INFO] [stdout] test server::local_tools::tests::test_local_tool_definitions ... ok [INFO] [stdout] test server::local_tools::tests::test_read_nonexistent_file ... ok [INFO] [stdout] test server::mcp::tests::test_jsonrpc_serialization ... ok [INFO] [stdout] test server::mcp::tests::test_parent_death_debounce_rejects_transient_none ... ok [INFO] [stdout] test server::mcp::tests::test_parent_died_predicate_drives_orphan_shutdown ... ok [INFO] [stdout] test server::mcp::tests::test_response_helpers ... ok [INFO] [stdout] test server::router::tests::test_a3_external_collision_emits_warn ... ok [INFO] [stdout] test server::local_tools::tests::test_write_and_read_file ... ok [INFO] [stdout] test registry::config::tests::test_load_malformed_json_file_loud_backup_no_silent_loss ... ok [INFO] [stdout] test registry::config::tests::test_load_skips_bad_entry_keeps_valid_and_file_untouched ... ok [INFO] [stdout] test registry::config::tests::test_load_skips_legacy_stdio_type_sse_without_url ... ok [INFO] [stdout] test registry::config::tests::test_load_mcpservers_alias_all_valid_preserved ... ok [INFO] [stdout] test server::local_tools::tests::test_run_command ... ok [INFO] [stdout] test server::router::tests::test_list_tools_with_filter ... ok [INFO] [stdout] test server::router::tests::test_listtools_keyword_name_ranks_above_desc_and_is_deterministic ... ok [INFO] [stdout] test server::router::tests::test_listtools_no_query_is_deterministic_server_grouped ... ok [INFO] [stdout] test server::local_tools::tests::test_edit_file ... ok [INFO] [stdout] test server::router::tests::test_pgid_guard_refuses_invalid_and_own_pid_proceeds_for_normal ... ok [INFO] [stdout] test server::router::tests::test_minify_schema_preserves_validity_and_is_idempotent ... ok [INFO] [stdout] test server::router::tests::test_doctor_tools_and_get_tool_info_show_source_provenance ... ok [INFO] [stdout] test server::router::tests::test_discovery_skips_non_json_chatter_and_does_not_stall ... ok [INFO] [stdout] test server::router::tests::test_reap_kills_doubleforked_grandchild_via_process_group ... ignored, drives the real adopted-orphan sweep (ppid==self); unsound when the cargo-test binary is its own session/group leader (CI runners) — its own worker threads become sweep targets. Run isolated: cargo test -- --ignored --test-threads=1 [INFO] [stdout] test server::router::tests::test_reap_skips_pid_with_mismatched_start_time_but_reaps_genuine ... ignored, drives the real adopted-orphan sweep (ppid==self); unsound when the cargo-test binary is its own session/group leader (CI runners) — its own worker threads become sweep targets. Run isolated: cargo test -- --ignored --test-threads=1 [INFO] [stdout] test server::router::tests::test_reap_sweep_spares_allowlisted_probe_but_kills_unregistered_orphan ... ignored, drives the real adopted-orphan sweep (ppid==self); unsound when the cargo-test binary is its own session/group leader (CI runners) — its own worker threads become sweep targets. Run isolated: cargo test -- --ignored --test-threads=1 [INFO] [stdout] test server::router::tests::test_server_keyed_builtin_local_precedence_unchanged ... ok [INFO] [stdout] test server::router::tests::test_server_keyed_get_tool_info_collision_shape ... ok [INFO] [stdout] test server::router::tests::test_server_keyed_two_external_same_name_both_routable ... ok [INFO] [stdout] test server::router::tests::test_server_keyed_unique_name_no_hint_still_routes ... ok [INFO] [stdout] test server::router::tests::test_short_description_deterministic_and_safe ... ok [INFO] [stdout] test server::router::tests::test_evict_idle_disabled_when_ttl_zero ... ok [INFO] [stdout] test server::router::tests::test_stdio_shutdown_reaps_tracked_child_and_grandchild_before_exit ... ignored, drives the real adopted-orphan sweep (ppid==self); unsound when the cargo-test binary is its own session/group leader (CI runners) — its own worker threads become sweep targets. Run isolated: cargo test -- --ignored --test-threads=1 [INFO] [stdout] test server::router::tests::test_streamable_http_json_vs_eventstream_branch ... ok [INFO] [stdout] test server::router::tests::test_evict_idle_evicts_after_ttl_via_existing_reaper ... ok [INFO] [stdout] test server::router::tests::test_streamable_http_sse_frame_parsing_assembles_jsonrpc ... ok [INFO] [stdout] test server::router::tests::test_subreaper_adopts_and_reaps_setsid_doublefork_grandchild_no_zombie ... ignored, mutates process-global irreversible PR_SET_CHILD_SUBREAPER; incompatible with parallel in-process cargo test. Run isolated: cargo test -- --ignored --test-threads=1 [INFO] [stdout] test server::router::tests::test_sweep_interval_is_ttl_scaled_not_hardcoded ... ok [INFO] [stdout] test server::router::tests::test_tool_registration ... ok [INFO] [stdout] test server::router::tests::test_evict_idle_skips_in_use_locked_connection ... ok [INFO] [stdout] test server::router::tests::test_pgid_reap_skips_recycled_group_on_ident_mismatch ... ok [INFO] [stdout] test server::router::tests::test_two_tier_list_then_get_tool_info_roundtrip ... ok [INFO] [stdout] test server::router::tests::test_unregister_server ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_auto_mode_applies_when_hash_matches ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_auto_mode_silently_falls_back_when_hash_mismatches ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_loads_compiled_fallback_when_no_in_repo_dir ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_off_mode_always_returns_live_def ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_on_mode_applies_regardless_of_hash ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_skips_bad_file_without_panicking ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_dict_user_overlay_overrides_in_repo ... ok [INFO] [stdout] test server::tool_dictionary::tests::test_short_mode_parse ... ok [INFO] [stdout] test server::router::tests::test_evict_idle_ttl_boundary ... ok [INFO] [stdout] test server::router::tests::test_r2_hotswap_remove_evicts_stale_pooled_connection ... ok [INFO] [stdout] test server::router::tests::test_r1_router_read_guard_not_held_across_backend_await ... ok [INFO] [stdout] test server::router::tests::test_streamable_http_session_id_capture_resend_and_timeout ... ok [INFO] [stdout] test server::router::tests::test_spawned_sweeper_evicts_short_ttl_idle_within_bounded_time ... ok [INFO] [stdout] test server::router::tests::test_touch_resets_idle_clock_prevents_eviction ... ok [INFO] [stdout] test server::router::tests::test_tracked_child_guard_untracks_on_early_return ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 75 passed; 0 failed; 5 ignored; 0 measured; 0 filtered out; finished in 7.47s [INFO] [stdout] [INFO] [stderr] Running tests/stdio_eof.rs (/opt/rustwide/target/debug/deps/stdio_eof-13d4f4f1c02dfa16) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test stdio_umb_exits_promptly_on_stdin_eof ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Doc-tests umb [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b", kill_on_drop: false }` [INFO] [stdout] 986159262deab8f8d939a8ad99b4984cd469bc11bdf5c974d7df8fbd6f66af3b