Error: CLIPPY_WARNING: [#def1] crates/goose-cli/src/recipes/print_recipe.rs:90:54: warning: redundant reference in `eprintln!` argument # | # 90 | eprintln!("{} {}", style("Description:").bold(), &recipe.description); # | ^^^^^^^^^^^^^^^^^^^ help: remove the redundant `&`: `recipe.description` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_borrows_in_formatting # = note: `#[warn(clippy::useless_borrows_in_formatting)]` on by default Error: CLIPPY_WARNING: [#def2] crates/goose-cli/src/session/builder.rs:419:6: warning: the `Err`-variant returned from this function is very large # | # 419 | ) -> Result<Vec<ExtensionConfig>, ExtensionError> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 880 bytes # | # = help: try reducing the size of `goose::agents::ExtensionError`, for example by boxing large elements or replacing it with `Box<goose::agents::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err # = note: `#[warn(clippy::result_large_err)]` on by default Error: CLIPPY_WARNING: [#def3] crates/goose-cli/src/session/mod.rs:536:63: warning: redundant reference in `format!` argument # | # 536 | console::style(format!("session closed ยท {}", &self.session_id)).dim() # | ^^^^^^^^^^^^^^^^ help: remove the redundant `&`: `self.session_id` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_borrows_in_formatting Error: CLIPPY_WARNING: [#def4] crates/goose/src/agents/agent.rs:1375:10: warning: the `Err`-variant returned from this function is very large # | # 1375 | ) -> ExtensionResult<()> { # | ^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err # = note: `#[warn(clippy::result_large_err)]` on by default Error: CLIPPY_WARNING: [#def5] crates/goose/src/agents/agent.rs:1461:10: warning: the `Err`-variant returned from this function is very large # | # 1461 | ) -> ExtensionResult<()> { # | ^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def6] crates/goose/src/agents/extension.rs:446:52: warning: the `Err`-variant returned from this function is very large # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # ... # 446 | pub async fn resolve(self, config: &Config) -> ExtensionResult<Self> { # | ^^^^^^^^^^^^^^^^^^^^^ # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def7] crates/goose/src/agents/extension_malware_check.rs:39:10: warning: the `Err`-variant returned from this function is very large # | # 39 | ) -> Result<(), ExtensionError> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def8] crates/goose/src/agents/extension_malware_check.rs:48:72: warning: the `Err`-variant returned from this function is very large # | # 48 | pub async fn deny_if_malicious_cmd_args(cmd: &str, args: &[String]) -> Result<(), ExtensionError> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def9] crates/goose/src/agents/extension_malware_check.rs:75:6: warning: the `Err`-variant returned from this function is very large # | # 75 | ) -> Result<(), ExtensionError> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def10] crates/goose/src/agents/extension_malware_check.rs:194:6: warning: the `Err`-variant returned from this function is very large # | # 194 | ) -> Result<(), ExtensionError> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def11] crates/goose/src/agents/extension_manager.rs:413:6: warning: the `Err`-variant returned from this function is very large # | # 413 | ) -> ExtensionResult<McpClient> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def12] crates/goose/src/agents/extension_manager.rs:533:6: warning: the `Err`-variant returned from this function is very large # | # 533 | ) -> Result<HashMap<String, String>, ExtensionError> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def13] crates/goose/src/agents/extension_manager.rs:621:6: warning: the `Err`-variant returned from this function is very large # | # 621 | ) -> ExtensionResult<Box<dyn McpClientTrait>> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def14] crates/goose/src/agents/extension_manager.rs:672:6: warning: the `Err`-variant returned from this function is very large # | # 672 | ) -> ExtensionResult<Box<dyn McpClientTrait>> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def15] crates/goose/src/agents/extension_manager.rs:815:6: warning: the `Err`-variant returned from this function is very large # | # 815 | ) -> ExtensionResult<Box<dyn McpClientTrait>> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def16] crates/goose/src/agents/extension_manager.rs:935:10: warning: the `Err`-variant returned from this function is very large # | # 935 | ) -> ExtensionResult<()> { # | ^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def17] crates/goose/src/agents/extension_manager.rs:1225:57: warning: the `Err`-variant returned from this function is very large # | # 1225 | pub async fn remove_extension(&self, name: &str) -> ExtensionResult<()> { # | ^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def18] crates/goose/src/agents/extension_manager.rs:1253:44: warning: the `Err`-variant returned from this function is very large # | # 1253 | pub async fn list_extensions(&self) -> ExtensionResult<Vec<String>> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def19] crates/goose/src/agents/extension_manager.rs:1276:10: warning: the `Err`-variant returned from this function is very large # | # 1276 | ) -> ExtensionResult<Vec<Tool>> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def20] crates/goose/src/agents/extension_manager.rs:1285:10: warning: the `Err`-variant returned from this function is very large # | # 1285 | ) -> ExtensionResult<Vec<Tool>> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def21] crates/goose/src/agents/extension_manager.rs:1322:63: warning: the `Err`-variant returned from this function is very large # | # 1322 | async fn get_all_tools_cached(&self, session_id: &str) -> ExtensionResult<Arc<Vec<Tool>>> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def22] crates/goose/src/agents/extension_manager.rs:1391:58: warning: the `Err`-variant returned from this function is very large # | # 1391 | async fn fetch_all_tools(&self, session_id: &str) -> ExtensionResult<Vec<Tool>> { # | ^^^^^^^^^^^^^^^^^^^^^^^^^^ # | # ::: crates/goose/src/agents/extension.rs:53:5 # | # 53 | InitializeError(#[from] ClientInitializeError), # | ---------------------------------------------- the variant `InitializeError` contains at least 856 bytes # 54 | #[error("{0}")] # 55 | ProcessExit(#[from] ProcessExit), # | -------------------------------- the largest variant contains at least 880 bytes # | # = help: try reducing the size of `agents::extension::ExtensionError`, for example by boxing large elements or replacing it with `Box<agents::extension::ExtensionError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def23] crates/goose/src/agents/mcp_client.rs:604:10: warning: the `Err`-variant returned from this function is very large # | # 604 | ) -> Result<Self, ClientInitializeError> # | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 856 bytes # | # = help: try reducing the size of `rmcp::service::ClientInitializeError`, for example by boxing large elements or replacing it with `Box<rmcp::service::ClientInitializeError>` # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#result_large_err Error: CLIPPY_WARNING: [#def24] crates/goose/src/providers/githubcopilot.rs:346:71: warning: redundant reference in `format!` argument # | # 346 | .header(http::header::AUTHORIZATION, format!("bearer {}", &token)) # | ^^^^^^ help: remove the redundant `&`: `token` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_borrows_in_formatting # = note: `#[warn(clippy::useless_borrows_in_formatting)]` on by default
| analyzer-version-clippy | 1.98.1 |
| analyzer-version-cppcheck | 2.22.0 |
| analyzer-version-gcc | 16.2.1 |
| analyzer-version-gcc-analyzer | 16.2.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.98.1 |
| diffbase-analyzer-version-cppcheck | 2.22.0 |
| diffbase-analyzer-version-gcc | 16.2.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.2.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-201.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | goose-1.52.0-1.20261002171029645351.pr67 |
| diffbase-store-results-to | /tmp/tmp7rdsuvq1/goose-1.52.0-1.20261002171029645351.pr67.tar.xz |
| diffbase-time-created | 2026-10-02 19:45:18 |
| diffbase-time-finished | 2026-10-02 20:33:34 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-4ae86b2c-d6db-4866-b207-b993f10df530' '-t' 'cppcheck,unicontrol,shellcheck,clippy,gcc' '-o' '/tmp/tmp7rdsuvq1/goose-1.52.0-1.20261002171029645351.pr67.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp7rdsuvq1/goose-1.52.0-1.20261002171029645351.pr67.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20260928.142326.g9f7dd5c-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-201.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260813.215201.gc98a3c4.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | goose-1.45.0-1.20260928163310732092.main |
| store-results-to | /tmp/tmp_hkpfxi_/goose-1.45.0-1.20260928163310732092.main.tar.xz |
| time-created | 2026-10-02 18:56:05 |
| time-finished | 2026-10-02 19:42:09 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '--root-override=fedora-rawhide-x86_64-7d8e5840-1efe-4659-a5b9-176938f3326c' '-t' 'cppcheck,unicontrol,shellcheck,clippy,gcc' '-o' '/tmp/tmp_hkpfxi_/goose-1.45.0-1.20260928163310732092.main.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp_hkpfxi_/goose-1.45.0-1.20260928163310732092.main.src.rpm' |
| tool-version | csmock-3.8.7.20260928.142326.g9f7dd5c-1.el9 |