[INFO] cloning repository https://github.com/hiboma/wazuh-cli
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hiboma/wazuh-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiboma%2Fwazuh-cli"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiboma%2Fwazuh-cli'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 381f1204d164ddc7dbcd3435129248c70c6fa454
[INFO] testing hiboma/wazuh-cli against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhiboma%2Fwazuh-cli" "/workspace/builds/worker-0-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hiboma/wazuh-cli
[INFO] removed 0 missing tests
[INFO] finished tweaking git repo https://github.com/hiboma/wazuh-cli
[INFO] tweaked toml for git repo https://github.com/hiboma/wazuh-cli written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hiboma/wazuh-cli on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/hiboma/wazuh-cli already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26
[INFO] running `"docker" "start" "108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26"`
[INFO] running `"docker" "inspect" "108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26"`
[INFO] running `"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" "108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26"`
[INFO] running `"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" "108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.190
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling rustls v0.23.46
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling clap_lex v1.0.0
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling clap_builder v4.6.7
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling thiserror v2.0.21
[INFO] [stderr]    Compiling winnow v1.0.2
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling syn v3.0.6
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling toml_writer v1.1.3+spec-1.1.0
[INFO] [stderr]    Compiling toml_parser v1.1.5+spec-1.1.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rtoolbox v0.0.5
[INFO] [stderr]    Compiling rpassword v7.5.4
[INFO] [stderr]    Compiling serde_spanned v1.1.2
[INFO] [stderr]    Compiling toml_datetime v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling toml v1.1.8+spec-1.1.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling clap_derive v4.6.7
[INFO] [stderr]    Compiling thiserror-impl v2.0.21
[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 zeroize_derive v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling zeroize v1.9.1
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling tokio v1.53.3
[INFO] [stderr]    Compiling webpki-roots v1.0.11
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling clap v4.6.7
[INFO] [stderr]    Compiling clap_complete v4.6.11
[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 icu_provider v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.16
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling wazuh-cli v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 40s
[INFO] running `"docker" "inspect" "108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26"`
[INFO] running `"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" "108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling libc v0.2.190
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling zeroize v1.9.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling clap_lex v1.0.0
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling iri-string v0.7.10
[INFO] [stderr]    Compiling winnow v1.0.2
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling clap_builder v4.6.7
[INFO] [stderr]    Compiling webpki-roots v1.0.11
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling toml_parser v1.1.5+spec-1.1.0
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling toml_writer v1.1.3+spec-1.1.0
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling thiserror v2.0.21
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rtoolbox v0.0.5
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling rpassword v7.5.4
[INFO] [stderr]    Compiling clap v4.6.7
[INFO] [stderr]    Compiling clap_complete v4.6.11
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling tokio v1.53.3
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling rustls-webpki v0.103.16
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling serde_spanned v1.1.2
[INFO] [stderr]    Compiling toml_datetime v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling serde_json v1.0.154
[INFO] [stderr]    Compiling rustls v0.23.46
[INFO] [stderr]    Compiling toml v1.1.8+spec-1.1.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v1.8.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling tower-http v0.6.8
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling hyper-rustls v0.27.7
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling wazuh-cli v0.7.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 42s
[INFO] running `"docker" "inspect" "108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26"`
[INFO] running `"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" "108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.35s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/wazuh-cli/454ec3efde603226/out/wazuh_cli-454ec3efde603226)
[INFO] [stdout] 
[INFO] [stdout] running 78 tests
[INFO] [stdout] test client::tests::credentials_debug_masks_password ... ok
[INFO] [stdout] test client::tls::tests::test_build_insecure_client ... ok
[INFO] [stdout] test config::credential_store::tests::memory_store_delete_missing_is_ok ... ok
[INFO] [stdout] test client::tests::credentials_debug_shows_empty_marker_when_password_unset ... ok
[INFO] [stdout] test client::tls::tests::test_build_default_client ... ok
[INFO] [stdout] test client::tls::tests::test_build_with_custom_timeout ... ok
[INFO] [stdout] test client::tls::tests::test_build_with_nonexistent_ca_cert ... ok
[INFO] [stdout] test client::tls::tests::test_build_with_nonexistent_client_cert ... ok
[INFO] [stdout] test config::credential_store::tests::failing_store_propagates_backend_error ... ok
[INFO] [stdout] test config::file::tests::missing_explicit_path_is_error ... ok
[INFO] [stdout] test config::file::tests::missing_default_path_is_ok ... ok
[INFO] [stdout] test config::tests::test_cli_overrides_env ... ok
[INFO] [stdout] test config::tests::test_cli_wins_over_file_for_api_url ... ok
[INFO] [stdout] test config::tests::test_config_debug_masks_api_password ... ok
[INFO] [stdout] test config::file::tests::password_field_triggers_warning_but_is_accessible ... ok
[INFO] [stdout] test config::file::tests::cli_override_wins_over_env_override ... ok
[INFO] [stdout] test config::file::tests::env_override_takes_precedence_over_default ... ok
[INFO] [stdout] test config::tests::test_default_resolution_ignores_ambient_wazuh_env ... ok
[INFO] [stdout] test config::file::tests::rejects_unknown_field_at_parse_time ... ok
[INFO] [stdout] test config::credential_store::tests::unavailable_store_reports_unavailable ... ok
[INFO] [stdout] test config::tests::test_empty_env_var_uses_default ... ok
[INFO] [stdout] test config::tests::test_env_guard_clears_and_restores_wazuh_vars ... ok
[INFO] [stdout] test config::tests::test_default_values ... ok
[INFO] [stdout] test config::tests::test_env_var_output_format ... ok
[INFO] [stdout] test config::tests::test_env_var_insecure_true ... ok
[INFO] [stdout] test config::tests::test_env_var_fallback ... ok
[INFO] [stdout] test config::credential_store::tests::memory_store_roundtrip ... ok
[INFO] [stdout] test config::tests::test_env_var_insecure_false ... ok
[INFO] [stdout] test config::tests::test_env_var_timeout ... ok
[INFO] [stdout] test config::tests::test_env_var_timeout_invalid ... ok
[INFO] [stdout] test config::tests::test_invalid_output_format ... ok
[INFO] [stdout] test config::tests::test_env_wins_over_credential_store ... ok
[INFO] [stdout] test config::file::tests::parses_full_example ... ok
[INFO] [stdout] test config::tests::test_env_wins_over_file_for_api_url ... ok
[INFO] [stdout] test config::tests::test_file_supplies_api_url_when_cli_and_env_unset ... ok
[INFO] [stdout] test config::tests::test_file_timeout_used_when_cli_and_env_unset ... ok
[INFO] [stdout] test config::tests::test_credential_store_backend_does_not_swallow_when_env_set ... ok
[INFO] [stdout] test config::tests::test_file_tls_insecure_flag_merges ... ok
[INFO] [stdout] test config::tests::test_keychain_wins_over_file_password_because_file_password_is_ignored ... ok
[INFO] [stdout] test config::tests::test_cli_opts_override ... ok
[INFO] [stdout] test config::tests::test_api_password_from_credential_store_when_env_unset ... ok
[INFO] [stdout] test output::tests::test_exit_code_api_error ... ok
[INFO] [stdout] test config::tests::test_config_debug_shows_empty_marker_when_password_unset ... ok
[INFO] [stdout] test output::tests::test_extract_data_empty_affected_items ... ok
[INFO] [stdout] test output::tests::test_exit_code_connection_error ... ok
[INFO] [stdout] test output::tests::test_exit_code_config_error ... ok
[INFO] [stdout] test config::tests::test_env_var_insecure_one ... ok
[INFO] [stdout] test output::tests::test_exit_code_partial_success ... ok
[INFO] [stdout] test config::tests::test_credential_store_backend_error_propagates_and_not_fallthrough ... ok
[INFO] [stdout] test output::tests::test_extract_data_non_object ... ok
[INFO] [stdout] test output::tests::test_extract_data_without_affected_items ... ok
[INFO] [stdout] test config::tests::test_env_var_insecure_yes ... ok
[INFO] [stdout] test secret::tests::read_from_file_accepts_mode_0600_regular_file ... ok
[INFO] [stdout] {
[INFO] [stdout]   "key": "value"
[INFO] [stdout] }
[INFO] [stdout] {
[INFO] [stdout]   "data": {
[INFO] [stdout]     "affected_items": [
[INFO] [stdout]       {
[INFO] [stdout]         "id": "001"
[INFO] [stdout]       }
[INFO] [stdout]     ],
[INFO] [stdout]     "total_affected_items": 1
[INFO] [stdout]   },
[INFO] [stdout]   "error": 0,
[INFO] [stdout]   "message": "ok"
[INFO] [stdout] }
[INFO] [stdout] test output::tests::test_exit_code_auth_error ... ok
[INFO] [stdout] test output::tests::test_print_error_config ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_directory ... ok
[INFO] [stdout] test output::tests::test_print_error_tls ... ok
[INFO] [stdout] test secret::tests::read_from_file_reports_missing_path ... ok
[INFO] [stdout] test output::tests::test_print_response_json ... ok
[INFO] [stdout] test output::tests::test_print_response_raw ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_group_readable_file ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_symlink ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_oversized_file ... ok
[INFO] [stdout] test output::tests::test_extract_data_with_affected_items ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_hard_linked_file ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_handles_bare_cr ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_preserves_trailing_space ... ok
[INFO] [stdout] test secret::tests::read_secret_rejects_empty_file ... ok
[INFO] [stdout] test output::tests::test_extract_data_without_data ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_handles_crlf ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_only_removes_one_newline ... ok
[INFO] [stdout] test secret::tests::removed_secret_option_does_not_echo_value ... ok
[INFO] [stdout] test secret::tests::source_from_flags_prefers_file_then_stdin_then_prompt ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_handles_lf ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_no_op_without_trailing_newline ... ok
[INFO] [stdout] test secret::tests::open_no_follow_does_not_block_on_fifo ... ok
[INFO] [stdout] test secret::tests::open_no_follow_refuses_symlink_to_fifo_without_blocking ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_fifo_without_blocking ... ok
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/wazuh-cli/8381ee9a4c8598dc/out/wazuh_cli-8381ee9a4c8598dc)
[INFO] [stdout] test result: ok. 78 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 78 tests
[INFO] [stdout] test client::tls::tests::test_build_default_client ... ok
[INFO] [stdout] test client::tls::tests::test_build_with_nonexistent_client_cert ... ok
[INFO] [stdout] test config::file::tests::env_override_takes_precedence_over_default ... ok
[INFO] [stdout] test config::credential_store::tests::failing_store_propagates_backend_error ... ok
[INFO] [stdout] test config::file::tests::missing_explicit_path_is_error ... ok
[INFO] [stdout] test config::file::tests::parses_full_example ... ok
[INFO] [stdout] test config::file::tests::missing_default_path_is_ok ... ok
[INFO] [stdout] test client::tests::credentials_debug_masks_password ... ok
[INFO] [stdout] test config::tests::test_cli_opts_override ... ok
[INFO] [stdout] test config::tests::test_credential_store_backend_does_not_swallow_when_env_set ... ok
[INFO] [stdout] test config::tests::test_config_debug_shows_empty_marker_when_password_unset ... ok
[INFO] [stdout] test config::tests::test_config_debug_masks_api_password ... ok
[INFO] [stdout] test client::tests::credentials_debug_shows_empty_marker_when_password_unset ... ok
[INFO] [stdout] test config::tests::test_default_resolution_ignores_ambient_wazuh_env ... ok
[INFO] [stdout] test config::file::tests::password_field_triggers_warning_but_is_accessible ... ok
[INFO] [stdout] test config::file::tests::rejects_unknown_field_at_parse_time ... ok
[INFO] [stdout] test config::tests::test_cli_wins_over_file_for_api_url ... ok
[INFO] [stdout] test config::tests::test_api_password_from_credential_store_when_env_unset ... ok
[INFO] [stdout] test config::tests::test_cli_overrides_env ... ok
[INFO] [stdout] test config::tests::test_credential_store_backend_error_propagates_and_not_fallthrough ... ok
[INFO] [stdout] test config::credential_store::tests::memory_store_roundtrip ... ok
[INFO] [stdout] test config::credential_store::tests::memory_store_delete_missing_is_ok ... ok
[INFO] [stdout] test client::tls::tests::test_build_with_custom_timeout ... ok
[INFO] [stdout] test config::file::tests::cli_override_wins_over_env_override ... ok
[INFO] [stdout] test config::tests::test_default_values ... ok
[INFO] [stdout] test config::credential_store::tests::unavailable_store_reports_unavailable ... ok
[INFO] [stdout] test client::tls::tests::test_build_insecure_client ... ok
[INFO] [stdout] test config::tests::test_env_var_fallback ... ok
[INFO] [stdout] test config::tests::test_env_var_output_format ... ok
[INFO] [stdout] test config::tests::test_env_var_timeout ... ok
[INFO] [stdout] test config::tests::test_env_var_timeout_invalid ... FAILED
[INFO] [stdout] test config::tests::test_env_wins_over_credential_store ... ok
[INFO] [stdout] test config::tests::test_env_var_insecure_true ... FAILED
[INFO] [stdout] test client::tls::tests::test_build_with_nonexistent_ca_cert ... ok
[INFO] [stdout] test config::tests::test_env_wins_over_file_for_api_url ... ok
[INFO] [stdout] test output::tests::test_exit_code_config_error ... ok
[INFO] [stdout] test config::tests::test_empty_env_var_uses_default ... ok
[INFO] [stdout] test output::tests::test_extract_data_empty_affected_items ... ok
[INFO] [stdout] test output::tests::test_exit_code_connection_error ... ok
[INFO] [stdout] test config::tests::test_env_guard_clears_and_restores_wazuh_vars ... ok
[INFO] [stdout] test output::tests::test_extract_data_with_affected_items ... ok
[INFO] [stdout] test config::tests::test_env_var_insecure_false ... ok
[INFO] [stdout] test output::tests::test_extract_data_without_data ... ok
[INFO] [stdout] test config::tests::test_env_var_insecure_yes ... ok
[INFO] [stdout] test output::tests::test_print_error_config ... ok
[INFO] [stdout] test output::tests::test_extract_data_non_object ... ok
[INFO] [stdout] test config::tests::test_file_supplies_api_url_when_cli_and_env_unset ... ok
[INFO] [stdout] test config::tests::test_file_timeout_used_when_cli_and_env_unset ... ok
[INFO] [stdout] test output::tests::test_exit_code_api_error ... ok
[INFO] [stdout] test output::tests::test_extract_data_without_affected_items ... ok
[INFO] [stdout] test output::tests::test_print_error_tls ... ok
[INFO] [stdout] test secret::tests::read_from_file_accepts_mode_0600_regular_file ... ok
[INFO] [stdout] {
[INFO] [stdout]   "key": "value"
[INFO] [stdout] }
[INFO] [stdout] {
[INFO] [stdout]   "data": {
[INFO] [stdout]     "affected_items": [
[INFO] [stdout]       {
[INFO] [stdout]         "id": "001"
[INFO] [stdout]       }
[INFO] [stdout]     ],
[INFO] [stdout]     "total_affected_items": 1
[INFO] [stdout]   },
[INFO] [stdout]   "error": 0,
[INFO] [stdout]   "message": "ok"
[INFO] [stdout] }
[INFO] [stdout] test output::tests::test_print_response_json ... ok
[INFO] [stdout] test output::tests::test_print_response_raw ... ok
[INFO] [stdout] test output::tests::test_exit_code_auth_error ... ok
[INFO] [stdout] test output::tests::test_exit_code_partial_success ... ok
[INFO] [stdout] test secret::tests::removed_secret_option_does_not_echo_value ... ok
[INFO] [stdout] test secret::tests::source_from_flags_prefers_file_then_stdin_then_prompt ... ok
[INFO] [stdout] test config::tests::test_file_tls_insecure_flag_merges ... ok
[INFO] [stdout] test config::tests::test_keychain_wins_over_file_password_because_file_password_is_ignored ... ok
[INFO] [stdout] test config::tests::test_env_var_insecure_one ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_directory ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_hard_linked_file ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_symlink ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_handles_lf ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_group_readable_file ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_handles_bare_cr ... ok
[INFO] [stdout] test secret::tests::read_from_file_reports_missing_path ... ok
[INFO] [stdout] test secret::tests::read_secret_rejects_empty_file ... ok
[INFO] [stdout] test config::tests::test_invalid_output_format ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_oversized_file ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_handles_crlf ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_preserves_trailing_space ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_no_op_without_trailing_newline ... ok
[INFO] [stdout] test secret::tests::strip_trailing_newline_only_removes_one_newline ... ok
[INFO] [stdout] test secret::tests::open_no_follow_does_not_block_on_fifo ... ok
[INFO] [stdout] test secret::tests::read_from_file_rejects_fifo_without_blocking ... ok
[INFO] [stdout] test secret::tests::open_no_follow_refuses_symlink_to_fifo_without_blocking ... ok
[INFO] [stderr] error: test failed, to rerun pass `--bin wazuh-cli`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- config::tests::test_env_var_timeout_invalid stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'config::tests::test_env_var_timeout_invalid' (2712) panicked at src/config/mod.rs:654:9:
[INFO] [stdout] assertion failed: result.is_err()
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x636dcfe5c287 - <unknown>
[INFO] [stdout]    1:     0x636dcfdb4ad4 - <unknown>
[INFO] [stdout]    2:     0x636dcfe5b84b - <unknown>
[INFO] [stdout]    3:     0x636dcfe5b449 - <unknown>
[INFO] [stdout]    4:     0x636dcfe5b0ca - <unknown>
[INFO] [stdout]    5:     0x636dcfe5abfb - <unknown>
[INFO] [stdout]    6:     0x636dcfe80652 - <unknown>
[INFO] [stdout]    7:     0x636dcfe805d9 - <unknown>
[INFO] [stdout]    8:     0x636dcfe80acc - <unknown>
[INFO] [stdout]    9:     0x636dcfdb496b - <unknown>
[INFO] [stdout]   10:     0x636dcfdb5891 - <unknown>
[INFO] [stdout]   11:     0x636dcfda7688 - <unknown>
[INFO] [stdout]   12:     0x636dcfe9a71b - <unknown>
[INFO] [stdout]   13:     0x636dcfe966a6 - <unknown>
[INFO] [stdout]   14:     0x636dcfe95d8c - <unknown>
[INFO] [stdout]   15:     0x636dcfeb4afc - <unknown>
[INFO] [stdout]   16:     0x636dcfe824a8 - <unknown>
[INFO] [stdout]   17:     0x7f5ca9275dfa - <unknown>
[INFO] [stdout]   18:     0x7f5ca93093d4 - clone
[INFO] [stdout]   19:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- config::tests::test_env_var_insecure_true stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'config::tests::test_env_var_insecure_true' (2708) panicked at src/config/mod.rs:588:9:
[INFO] [stdout] assertion failed: config.insecure
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x636dcfe5c287 - <unknown>
[INFO] [stdout]    1:     0x636dcfdb4ad4 - <unknown>
[INFO] [stdout]    2:     0x636dcfe5b84b - <unknown>
[INFO] [stdout]    3:     0x636dcfe5b449 - <unknown>
[INFO] [stdout]    4:     0x636dcfe5b0ca - <unknown>
[INFO] [stdout]    5:     0x636dcfe5abfb - <unknown>
[INFO] [stdout]    6:     0x636dcfe80652 - <unknown>
[INFO] [stdout]    7:     0x636dcfe805d9 - <unknown>
[INFO] [stdout]    8:     0x636dcfe80acc - <unknown>
[INFO] [stdout]    9:     0x636dcfdb496b - <unknown>
[INFO] [stdout]   10:     0x636dcfdb5891 - <unknown>
[INFO] [stdout]   11:     0x636dcfda7165 - <unknown>
[INFO] [stdout]   12:     0x636dcfe9a71b - <unknown>
[INFO] [stdout]   13:     0x636dcfe966a6 - <unknown>
[INFO] [stdout]   14:     0x636dcfe95d8c - <unknown>
[INFO] [stdout]   15:     0x636dcfeb4afc - <unknown>
[INFO] [stdout]   16:     0x636dcfe824a8 - <unknown>
[INFO] [stdout]   17:     0x7f5ca9275dfa - <unknown>
[INFO] [stdout]   18:     0x7f5ca93093d4 - clone
[INFO] [stdout]   19:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     config::tests::test_env_var_insecure_true
[INFO] [stdout]     config::tests::test_env_var_timeout_invalid
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 76 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26"`
[INFO] running `"docker" "rm" "-f" "108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26"`
[INFO] [stdout] 108a69b663e60291fb209f2075ad8a7f17fd1b34fb9f7be7572c3cd3f16f3f26
