[INFO] fetching crate sobriquet 0.5.0... [INFO] testing sobriquet-0.5.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate sobriquet 0.5.0 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate sobriquet 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate sobriquet 0.5.0 [INFO] tweaked toml for crates.io crate sobriquet 0.5.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sobriquet 0.5.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sobriquet 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_edit v0.22.27 [INFO] [stderr] Downloaded num-conv v0.2.0 [INFO] [stderr] Downloaded vte_generate_state_changes v0.1.2 [INFO] [stderr] Downloaded toml_datetime v0.6.11 [INFO] [stderr] Downloaded serial_test v3.3.1 [INFO] [stderr] Downloaded serial_test_derive v3.3.1 [INFO] [stderr] Downloaded clap_complete v4.5.65 [INFO] [stderr] Downloaded owo-colors v4.2.3 [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded sdd v3.0.10 [INFO] [stderr] Downloaded deranged v0.5.5 [INFO] [stderr] Downloaded cc v1.2.54 [INFO] [stderr] Downloaded time v0.3.46 [INFO] [stderr] Downloaded humantime v2.3.0 [INFO] [stderr] Downloaded toml_write v0.1.2 [INFO] [stderr] Downloaded toml v0.8.23 [INFO] [stderr] Downloaded serde_spanned v0.6.9 [INFO] [stderr] Downloaded scc v2.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccecd48a90a76ba3ae7e3df52111a126b3bd5d875ef368d96f0a0b462ffd0cde [INFO] running `Command { std: "docker" "start" "-a" "ccecd48a90a76ba3ae7e3df52111a126b3bd5d875ef368d96f0a0b462ffd0cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccecd48a90a76ba3ae7e3df52111a126b3bd5d875ef368d96f0a0b462ffd0cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccecd48a90a76ba3ae7e3df52111a126b3bd5d875ef368d96f0a0b462ffd0cde", kill_on_drop: false }` [INFO] [stdout] ccecd48a90a76ba3ae7e3df52111a126b3bd5d875ef368d96f0a0b462ffd0cde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 628c7e1cd255328b59b99c6d284f54490ba747674f0b866ddc0a7d8f791a1c17 [INFO] running `Command { std: "docker" "start" "-a" "628c7e1cd255328b59b99c6d284f54490ba747674f0b866ddc0a7d8f791a1c17", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling defer-drop v1.3.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling time v0.3.46 [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling tuikit v0.5.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling clap_complete v4.5.65 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Compiling derive_builder v0.11.2 [INFO] [stderr] Compiling skim v0.10.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling sobriquet v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.54s [INFO] running `Command { std: "docker" "inspect" "628c7e1cd255328b59b99c6d284f54490ba747674f0b866ddc0a7d8f791a1c17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "628c7e1cd255328b59b99c6d284f54490ba747674f0b866ddc0a7d8f791a1c17", kill_on_drop: false }` [INFO] [stdout] 628c7e1cd255328b59b99c6d284f54490ba747674f0b866ddc0a7d8f791a1c17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 450dccb201acec525d8ac767eaeacdec99c79494608d12c44d411ff378d24c27 [INFO] running `Command { std: "docker" "start" "-a" "450dccb201acec525d8ac767eaeacdec99c79494608d12c44d411ff378d24c27", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling zerocopy-derive v0.8.33 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling sdd v3.0.10 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling serial_test_derive v3.3.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling scc v2.4.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling timer v0.2.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serial_test v3.3.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling skim v0.10.4 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling sobriquet v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 31.88s [INFO] running `Command { std: "docker" "inspect" "450dccb201acec525d8ac767eaeacdec99c79494608d12c44d411ff378d24c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "450dccb201acec525d8ac767eaeacdec99c79494608d12c44d411ff378d24c27", kill_on_drop: false }` [INFO] [stdout] 450dccb201acec525d8ac767eaeacdec99c79494608d12c44d411ff378d24c27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6b425634d17081ae43ab98f0dfd6f791cfef32da26ec76162a8d932fb702ff99 [INFO] running `Command { std: "docker" "start" "-a" "6b425634d17081ae43ab98f0dfd6f791cfef32da26ec76162a8d932fb702ff99", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sobriquet-fbb4fd8e7b36e3a9) [INFO] [stdout] [INFO] [stdout] running 259 tests [INFO] [stdout] test alias::tests::alias_cache_is_valid_different_shell ... ok [INFO] [stdout] test alias::tests::find_matching_aliases_prefix_match ... ok [INFO] [stdout] test alias::tests::alias_cache_is_valid_fresh ... ok [INFO] [stdout] test alias::tests::alias_cache_now ... ok [INFO] [stdout] test alias::tests::alias_cache_path ... ok [INFO] [stdout] test alias::tests::alias_equality_and_clone ... ok [INFO] [stdout] test alias::tests::is_valid_name_works ... ok [INFO] [stdout] test alias::tests::parse_accepts_valid_names ... ok [INFO] [stdout] test alias::tests::parse_bash_format ... ok [INFO] [stdout] test alias::tests::display_format ... ok [INFO] [stdout] test alias::tests::parse_complex_command ... ok [INFO] [stdout] test alias::tests::find_matching_aliases_complex_command ... ok [INFO] [stdout] test alias::tests::find_matching_aliases_empty_command ... ok [INFO] [stdout] test alias::tests::alias_cache_save_and_load ... ok [INFO] [stdout] test alias::tests::parse_double_quoted ... ok [INFO] [stdout] test alias::tests::find_matching_aliases_exact_match ... ok [INFO] [stdout] test alias::tests::clear_cache_function ... ok [INFO] [stdout] test alias::tests::parse_empty_returns_none ... ok [INFO] [stdout] test alias::tests::find_matching_aliases_no_match ... ok [INFO] [stdout] test alias::tests::parse_output_filters_invalid ... ok [INFO] [stdout] test alias::tests::parse_output_multiple ... ok [INFO] [stdout] test alias::tests::parse_rejects_invalid_names ... ok [INFO] [stdout] test alias::tests::parse_single_quoted ... ok [INFO] [stdout] test alias::tests::serialization_roundtrip ... ok [INFO] [stdout] test audit::tests::test_detect_secrets_anthropic ... ok [INFO] [stdout] test alias::tests::find_matching_aliases_multiple_matches ... ok [INFO] [stdout] test audit::tests::test_detect_secrets_anthropic_key ... ok [INFO] [stdout] test audit::tests::test_detect_secrets_api_key ... ok [INFO] [stdout] test audit::tests::test_detect_secrets_aws_key ... ok [INFO] [stdout] test audit::tests::test_detect_secrets_github_pat ... ok [INFO] [stdout] test audit::tests::test_detect_secrets_multiple_patterns ... ok [INFO] [stdout] test alias::tests::alias_cache_is_valid_expired ... ok [INFO] [stdout] test alias::tests::strip_quotes_works ... ok [INFO] [stdout] test audit::tests::test_audit_kind_default ... ok [INFO] [stdout] test alias::tests::parse_simple_zsh_format ... ok [INFO] [stdout] test alias::tests::parse_command_with_equals ... ok [INFO] [stdout] test alias::tests::try_collect_from_shell_zsh ... ok [INFO] [stdout] test audit::tests::test_detect_secrets_with_quotes ... ok [INFO] [stdout] test audit::tests::test_get_duplicate_names ... ok [INFO] [stdout] test audit::tests::test_get_secret_types_empty ... ok [INFO] [stdout] test audit::tests::test_get_duplicate_names_with_multiple ... ok [INFO] [stdout] test audit::tests::test_get_secret_types ... ok [INFO] [stdout] test audit::tests::test_get_secret_types_multiple ... ok [INFO] [stdout] test audit::tests::test_has_secret_returns_true ... ok [INFO] [stdout] test audit::tests::test_detect_secrets_password ... ok [INFO] [stdout] test audit::tests::test_mask_secret_without_equals ... ok [INFO] [stdout] test audit::tests::test_has_secret ... ok [INFO] [stdout] test audit::tests::test_mask_secrets_in_command_api_key ... ok [INFO] [stdout] sobriquet audit [INFO] [stdout] --------------- [INFO] [stdout] [INFO] [stdout] Scanned 3 aliases [INFO] [stdout] [INFO] [stdout] ⚠ 1 duplicate command(s) found: [INFO] [stdout] • "git status" [INFO] [stdout] → gs [INFO] [stdout] → gst [INFO] [stdout] [INFO] [stdout] ✓ 3 aliases passed all checks [INFO] [stdout] [INFO] [stdout] test audit::tests::test_has_secret_returns_false ... ok [INFO] [stdout] test audit::tests::test_mask_secret_short_value ... ok [INFO] [stdout] test audit::tests::test_mask_secret ... ok [INFO] [stdout] test audit::tests::test_mask_secrets_in_command_multiple ... ok [INFO] [stdout] sobriquet audit [INFO] [stdout] --------------- [INFO] [stdout] [INFO] [stdout] Scanned 3 aliases [INFO] [stdout] [INFO] [stdout] ⚠ 1 alias(es) contain secrets: [INFO] [stdout] • test Secret/Password unknown [INFO] [stdout] password=*** [INFO] [stdout] [INFO] [stdout] ✓ 2 aliases passed all checks [INFO] [stdout] [INFO] [stdout] sobriquet audit [INFO] [stdout] ─────────────── [INFO] [stdout] [INFO] [stdout] Scanned 1 aliases [INFO] [stdout] [INFO] [stdout] ✓ No issues found [INFO] [stdout] [INFO] [stdout] sobriquet audit [INFO] [stdout] --------------- [INFO] [stdout] [INFO] [stdout] Scanned 2 aliases [INFO] [stdout] [INFO] [stdout] ✓ No issues found [INFO] [stdout] [INFO] [stdout] sobriquet audit [INFO] [stdout] --------------- [INFO] [stdout] [INFO] [stdout] Scanned 2 aliases [INFO] [stdout] [INFO] [stdout] ⚠ 1 duplicate command(s) found: [INFO] [stdout] • "git status" [INFO] [stdout] → gs [INFO] [stdout] → gst [INFO] [stdout] [INFO] [stdout] ✓ 2 aliases passed all checks [INFO] [stdout] [INFO] [stdout] test audit::tests::test_find_duplicates_empty_list ... ok [INFO] [stdout] test audit::tests::test_find_duplicates_single_alias ... ok [INFO] [stdout] sobriquet audit [INFO] [stdout] --------------- [INFO] [stdout] [INFO] [stdout] Scanned 1 aliases [INFO] [stdout] [INFO] [stdout] ⚠ 1 alias(es) contain secrets: [INFO] [stdout] • deploy API key unknown [INFO] [stdout] API_KEY=*** [INFO] [stdout] [INFO] [stdout] ✓ 0 aliases passed all checks [INFO] [stdout] [INFO] [stdout] test audit::tests::test_mask_secrets_in_command_prefix_based ... ok [INFO] [stdout] test audit::tests::test_mask_secrets_in_command_vault_token ... ok [INFO] [stdout] test audit::tests::test_find_duplicates_single_command ... ok [INFO] [stdout] test audit::tests::test_run_audit_duplicates_only ... ok [INFO] [stdout] test audit::tests::test_detect_secrets_none ... ok [INFO] [stdout] test audit::tests::test_find_duplicates_no_duplicates ... ok [INFO] [stdout] test audit::tests::test_run_audit_secrets_only ... ok [INFO] [stdout] test audit::tests::test_run_audit_with_colors ... ok [INFO] [stdout] test audit::tests::test_run_audit_no_issues ... ok [INFO] [stdout] test alias::tests::format_colored_with_colors ... ok [INFO] [stdout] test audit::tests::test_find_duplicates_multiple_commands ... ok [INFO] [stdout] test audit::tests::test_truncate_command_long_string ... ok [INFO] [stdout] test audit::tests::test_run_audit_with_duplicates ... ok [INFO] [stdout] test audit::tests::test_run_audit_with_secrets ... ok [INFO] [stdout] test cli::tests::man_page_contains_subcommands ... ok [INFO] [stdout] test cli::tests::fish_shell_parsing ... ok [INFO] [stdout] test cli::tests::parse_color_auto ... ok [INFO] [stdout] test cli::tests::parse_format_option ... ok [INFO] [stdout] test cli::tests::parse_query_option ... ok [INFO] [stdout] test cli::tests::parse_color_never ... ok [INFO] [stdout] test cli::tests::output_format_json ... ok [INFO] [stdout] test cli::tests::parse_list_flag ... ok [INFO] [stdout] test cli::tests::parse_color_option ... ok [INFO] [stdout] test cli::tests::parse_shell_option ... ok [INFO] [stdout] test cli::tests::sort_by_frecency_empty ... ok [INFO] [stdout] test cli::tests::test_alias_item_text ... ok [INFO] [stdout] test cli::tests::test_app_name_constant ... ok [INFO] [stdout] test cli::tests::test_app_version_constant ... ok [INFO] [stdout] test cli::tests::parse_print_query_flag ... ok [INFO] [stdout] test cli::tests::test_args_defaults ... ok [INFO] [stdout] test cli::tests::test_alias_item_new ... ok [INFO] [stdout] test cli::tests::test_args_with_subcommand ... ok [INFO] [stdout] test cli::tests::test_audit_with_kind ... ok [INFO] [stdout] test cli::tests::test_command_analysis_with_complex_command ... ok [INFO] [stdout] test cli::tests::test_commands_audit_subcommand ... ok [INFO] [stdout] test cli::tests::test_commands_config_subcommand ... ok [INFO] [stdout] test cli::tests::test_commands_init_subcommand ... ok [INFO] [stdout] test cli::tests::test_commands_generate_subcommand ... ok [INFO] [stdout] test cli::tests::test_format_tip_with_colors ... ok [INFO] [stdout] test cli::tests::test_format_tip_without_colors ... ok [INFO] [stdout] test cli::tests::test_commands_stats_subcommand ... ok [INFO] [stdout] _sobriquet() { [INFO] [stdout] local i cur prev opts cmd [INFO] [stdout] COMPREPLY=() [INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then [INFO] [stdout] cur="$2" [INFO] [stdout] else [INFO] [stdout] cur="${COMP_WORDS[COMP_CWORD]}" [INFO] [stdout] fi [INFO] [stdout] prev="$3" [INFO] [stdout] cmd="" [INFO] [stdout] opts="" [INFO] [stdout] [INFO] [stdout] for i in "${COMP_WORDS[@]:0:COMP_CWORD}" [INFO] [stdout] do [INFO] [stdout] case "${cmd},${i}" in [INFO] [stdout] ",$1") [INFO] [stdout] cmd="sobriquet" [INFO] [stdout] ;; [INFO] [stdout] sobriquet,audit) [INFO] [stdout] cmd="sobriquet__audit" [INFO] [stdout] ;; [INFO] [stdout] sobriquet,config) [INFO] [stdout] cmd="sobriquet__config" [INFO] [stdout] ;; [INFO] [stdout] sobriquet,generate) [INFO] [stdout] cmd="sobriquet__generate" [INFO] [stdout] ;; [INFO] [stdout] sobriquet,help) [INFO] [stdout] cmd="sobriquet__help" [INFO] [stdout] ;; [INFO] [stdout] sobriquet,init) [INFO] [stdout] cmd="sobriquet__init" [INFO] [stdout] ;; [INFO] [stdout] sobriquet,stats) [INFO] [stdout] cmd="sobriquet__stats" [INFO] [stdout] ;; [INFO] [stdout] sobriquet,tip) [INFO] [stdout] cmd="sobriquet__tip" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help,audit) [INFO] [stdout] cmd="sobriquet__help__audit" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help,config) [INFO] [stdout] cmd="sobriquet__help__config" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help,generate) [INFO] [stdout] cmd="sobriquet__help__generate" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help,help) [INFO] [stdout] cmd="sobriquet__help__help" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help,init) [INFO] [stdout] cmd="sobriquet__help__init" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help,stats) [INFO] [stdout] cmd="sobriquet__help__stats" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help,tip) [INFO] [stdout] cmd="sobriquet__help__tip" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help__stats,clear) [INFO] [stdout] cmd="sobriquet__help__stats__clear" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__stats,clear) [INFO] [stdout] cmd="sobriquet__stats__clear" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__stats,help) [INFO] [stdout] cmd="sobriquet__stats__help" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__stats__help,clear) [INFO] [stdout] cmd="sobriquet__stats__help__clear" [INFO] [stdout] ;; [INFO] [stdout] sobriquet__stats__help,help) [INFO] [stdout] cmd="sobriquet__stats__help__help" [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] done [INFO] [stdout] [INFO] [stdout] case "${cmd}" in [INFO] [stdout] sobriquet) [INFO] [stdout] opts="-l -s -q -f -r -h -V --list --shell --query --format --color --print-query --refresh --help --version init generate config stats audit tip help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] --shell) [INFO] [stdout] COMPREPLY=($(compgen -W "zsh bash fish" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -s) [INFO] [stdout] COMPREPLY=($(compgen -W "zsh bash fish" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --query) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -q) [INFO] [stdout] COMPREPLY=($(compgen -f "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --format) [INFO] [stdout] COMPREPLY=($(compgen -W "plain json json-pretty" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] -f) [INFO] [stdout] COMPREPLY=($(compgen -W "plain json json-pretty" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] --color) [INFO] [stdout] COMPREPLY=($(compgen -W "auto always never" -- "${cur}")) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__audit) [INFO] [stdout] opts="-h --help all secrets duplicates" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__config) [INFO] [stdout] opts="-h --help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__generate) [INFO] [stdout] opts="-h --help complete-zsh complete-bash complete-fish man" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help) [INFO] [stdout] opts="init generate config stats audit tip help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help__audit) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help__config) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help__generate) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help__help) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help__init) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help__stats) [INFO] [stdout] opts="clear" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help__stats__clear) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__help__tip) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__init) [INFO] [stdout] opts="-h --help zsh bash fish" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__stats) [INFO] [stdout] opts="-h --help clear help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__stats__clear) [INFO] [stdout] opts="-h --help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__stats__help) [INFO] [stdout] opts="clear help" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__stats__help__clear) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__stats__help__help) [INFO] [stdout] opts="" [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] sobriquet__tip) [INFO] [stdout] opts="-h --help " [INFO] [stdout] if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] fi [INFO] [stdout] case "${prev}" in [INFO] [stdout] *) [INFO] [stdout] COMPREPLY=() [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [INFO] [stdout] return 0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then [INFO] [stdout] complete -F _sobriquet -o nosort -o bashdefault -o default sobriquet [INFO] [stdout] else [INFO] [stdout] complete -F _sobriquet -o bashdefault -o default sobriquet [INFO] [stdout] fi [INFO] [stdout] #compdef sobriquet [INFO] [stdout] [INFO] [stdout] autoload -U is-at-least [INFO] [stdout] [INFO] [stdout] _sobriquet() { [INFO] [stdout] typeset -A opt_args [INFO] [stdout] typeset -a _arguments_options [INFO] [stdout] local ret=1 [INFO] [stdout] [INFO] [stdout] if is-at-least 5.2; then [INFO] [stdout] _arguments_options=(-s -S -C) [INFO] [stdout] else [INFO] [stdout] _arguments_options=(-s -C) [INFO] [stdout] fi [INFO] [stdout] [INFO] [stdout] local context curcontext="$curcontext" state line [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-s+[Shell to use]:SHELL:(zsh bash fish)' \ [INFO] [stdout] '--shell=[Shell to use]:SHELL:(zsh bash fish)' \ [INFO] [stdout] '-q+[Start with query]:QUERY:_default' \ [INFO] [stdout] '--query=[Start with query]:QUERY:_default' \ [INFO] [stdout] '-f+[Output format]:FORMAT:(plain json json-pretty)' \ [INFO] [stdout] '--format=[Output format]:FORMAT:(plain json json-pretty)' \ [INFO] [stdout] '--color=[Color mode]:COLOR:(auto always never)' \ [INFO] [stdout] '-l[List all aliases]' \ [INFO] [stdout] '--list[List all aliases]' \ [INFO] [stdout] '--print-query[Print query if no match]' \ [INFO] [stdout] '-r[Refresh alias cache]' \ [INFO] [stdout] '--refresh[Refresh alias cache]' \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '-V[Print version]' \ [INFO] [stdout] '--version[Print version]' \ [INFO] [stdout] ":: :_sobriquet_commands" \ [INFO] [stdout] "*::: :->sobriquet" \ [INFO] [stdout] && ret=0 [INFO] [stdout] case $state in [INFO] [stdout] (sobriquet) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:sobriquet-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (init) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':shell:(zsh bash fish)' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (generate) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':kind:(complete-zsh complete-bash complete-fish man)' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (config) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (stats) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ":: :_sobriquet__stats_commands" \ [INFO] [stdout] "*::: :->stats" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (stats) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:sobriquet-stats-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (clear) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_sobriquet__stats__help_commands" \ [INFO] [stdout] "*::: :->help" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (help) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:sobriquet-stats-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (clear) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (audit) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] '::kind -- What to check\: all (default), secrets, duplicates:(all secrets duplicates)' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (tip) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] '-h[Print help]' \ [INFO] [stdout] '--help[Print help]' \ [INFO] [stdout] ':command -- The command to find aliases for:_default' \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_sobriquet__help_commands" \ [INFO] [stdout] "*::: :->help" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (help) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:sobriquet-help-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (init) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (generate) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (config) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (stats) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] ":: :_sobriquet__help__stats_commands" \ [INFO] [stdout] "*::: :->stats" \ [INFO] [stdout] && ret=0 [INFO] [stdout] [INFO] [stdout] case $state in [INFO] [stdout] (stats) [INFO] [stdout] words=($line[1] "${words[@]}") [INFO] [stdout] (( CURRENT += 1 )) [INFO] [stdout] curcontext="${curcontext%:*:*}:sobriquet-help-stats-command-$line[1]:" [INFO] [stdout] case $line[1] in [INFO] [stdout] (clear) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] (audit) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (tip) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] (help) [INFO] [stdout] _arguments "${_arguments_options[@]}" : \ [INFO] [stdout] && ret=0 [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] ;; [INFO] [stdout] esac [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] (( $+functions[_sobriquet_commands] )) || [INFO] [stdout] _sobriquet_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'init:Generate shell integration script' \ [INFO] [stdout] 'generate:Generate completions or man page' \ [INFO] [stdout] 'config:Show config file path' \ [INFO] [stdout] 'stats:Show usage statistics' \ [INFO] [stdout] 'audit:Audit aliases for security issues and duplicates' \ [INFO] [stdout] 'tip:Find aliases for a command (useful for shell integration)' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'sobriquet commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__audit_commands] )) || [INFO] [stdout] _sobriquet__audit_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet audit commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__config_commands] )) || [INFO] [stdout] _sobriquet__config_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet config commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__generate_commands] )) || [INFO] [stdout] _sobriquet__generate_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet generate commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__help_commands] )) || [INFO] [stdout] _sobriquet__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'init:Generate shell integration script' \ [INFO] [stdout] 'generate:Generate completions or man page' \ [INFO] [stdout] 'config:Show config file path' \ [INFO] [stdout] 'stats:Show usage statistics' \ [INFO] [stdout] 'audit:Audit aliases for security issues and duplicates' \ [INFO] [stdout] 'tip:Find aliases for a command (useful for shell integration)' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'sobriquet help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__help__audit_commands] )) || [INFO] [stdout] _sobriquet__help__audit_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet help audit commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__help__config_commands] )) || [INFO] [stdout] _sobriquet__help__config_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet help config commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__help__generate_commands] )) || [INFO] [stdout] _sobriquet__help__generate_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet help generate commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__help__help_commands] )) || [INFO] [stdout] _sobriquet__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__help__init_commands] )) || [INFO] [stdout] _sobriquet__help__init_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet help init commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__help__stats_commands] )) || [INFO] [stdout] _sobriquet__help__stats_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'clear:Clear all statistics' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'sobriquet help stats commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__help__stats__clear_commands] )) || [INFO] [stdout] _sobriquet__help__stats__clear_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet help stats clear commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__help__tip_commands] )) || [INFO] [stdout] _sobriquet__help__tip_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet help tip commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__init_commands] )) || [INFO] [stdout] _sobriquet__init_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet init commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__stats_commands] )) || [INFO] [stdout] _sobriquet__stats_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'clear:Clear all statistics' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'sobriquet stats commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__stats__clear_commands] )) || [INFO] [stdout] _sobriquet__stats__clear_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet stats clear commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__stats__help_commands] )) || [INFO] [stdout] _sobriquet__stats__help_commands() { [INFO] [stdout] local commands; commands=( [INFO] [stdout] 'clear:Clear all statistics' \ [INFO] [stdout] 'help:Print this message or the help of the given subcommand(s)' \ [INFO] [stdout] ) [INFO] [stdout] _describe -t commands 'sobriquet stats help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__stats__help__clear_commands] )) || [INFO] [stdout] _sobriquet__stats__help__clear_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet stats help clear commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__stats__help__help_commands] )) || [INFO] [stdout] _sobriquet__stats__help__help_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet stats help help commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] (( $+functions[_sobriquet__tip_commands] )) || [INFO] [stdout] _sobriquet__tip_commands() { [INFO] [stdout] local commands; commands=() [INFO] [stdout] _describe -t commands 'sobriquet tip commands' commands "$@" [INFO] [stdout] } [INFO] [stdout] [INFO] [stdout] if [ "$funcstack[1]" = "_sobriquet" ]; then [INFO] [stdout] _sobriquet "$@" [INFO] [stdout] else [INFO] [stdout] compdef _sobriquet sobriquet [INFO] [stdout] fi [INFO] [stdout] test cli::tests::test_commands_tip_subcommand ... ok [INFO] [stdout] test cli::tests::test_generate_man_page_content ... ok [INFO] [stdout] test cli::tests::test_frecency_with_large_dataset ... ok [INFO] [stdout] test cli::tests::test_man_page_contains_all_sections ... ok [INFO] [stdout] test cli::tests::test_man_page_examples_section ... ok [INFO] [stdout] test cli::tests::test_generate_completions_bash ... ok [INFO] [stdout] test cli::tests::test_generate_completions_zsh ... ok [INFO] [stdout] gs -> git status [INFO] [stdout] # Print an optspec for argparse to handle cmd's options that are independent of any subcommand. [INFO] [stdout] function __fish_sobriquet_global_optspecs [INFO] [stdout] string join \n l/list s/shell= q/query= f/format= color= print-query r/refresh h/help V/version [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] function __fish_sobriquet_needs_command [INFO] [stdout] # Figure out if the current invocation already has a command. [INFO] [stdout] set -l cmd (commandline -opc) [INFO] [stdout] set -e cmd[1] [INFO] [stdout] argparse -s (__fish_sobriquet_global_optspecs) -- $cmd 2>/dev/null [INFO] [stdout] or return [INFO] [stdout] if set -q argv[1] [INFO] [stdout] # Also print the command, so this can be used to figure out what it is. [INFO] [stdout] echo $argv[1] [INFO] [stdout] return 1 [INFO] [stdout] end [INFO] [stdout] return 0 [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] function __fish_sobriquet_using_subcommand [INFO] [stdout] set -l cmd (__fish_sobriquet_needs_command) [INFO] [stdout] test -z "$cmd" [INFO] [stdout] and return 1 [INFO] [stdout] contains -- $cmd[1] $argv [INFO] [stdout] end [INFO] [stdout] [INFO] [stdout] test cli::tests::test_output_aliases_plain_with_colors ... ok [INFO] [stdout] test cli::tests::test_output_format_default ... ok [INFO] [stdout] test cli::tests::test_output_aliases_empty ... ok [INFO] [stdout] test cli::tests::man_page_contains_version ... ok [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -s s -l shell -d 'Shell to use' -r -f -a "zsh\t'' [INFO] [stdout] bash\t'' [INFO] [stdout] fish\t''" [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -s q -l query -d 'Start with query' -r [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -s f -l format -d 'Output format' -r -f -a "plain\t'' [INFO] [stdout] json\t'' [INFO] [stdout] json-pretty\t''" [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -l color -d 'Color mode' -r -f -a "auto\t'' [INFO] [stdout] always\t'' [INFO] [stdout] never\t''" [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -s l -l list -d 'List all aliases' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -l print-query -d 'Print query if no match' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -s r -l refresh -d 'Refresh alias cache' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -s h -l help -d 'Print help' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -s V -l version -d 'Print version' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -f -a "init" -d 'Generate shell integration script' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -f -a "generate" -d 'Generate completions or man page' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -f -a "config" -d 'Show config file path' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -f -a "stats" -d 'Show usage statistics' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -f -a "audit" -d 'Audit aliases for security issues and duplicates' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -f -a "tip" -d 'Find aliases for a command (useful for shell integration)' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand init" -s h -l help -d 'Print help' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand generate" -s h -l help -d 'Print help' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand config" -s h -l help -d 'Print help' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand stats; and not __fish_seen_subcommand_from clear help" -s h -l help -d 'Print help' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand stats; and not __fish_seen_subcommand_from clear help" -f -a "clear" -d 'Clear all statistics' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand stats; and not __fish_seen_subcommand_from clear help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand stats; and __fish_seen_subcommand_from clear" -s h -l help -d 'Print help' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand stats; and __fish_seen_subcommand_from help" -f -a "clear" -d 'Clear all statistics' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand stats; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand audit" -s h -l help -d 'Print help' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand tip" -s h -l help -d 'Print help' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand help; and not __fish_seen_subcommand_from init generate config stats audit tip help" -f -a "init" -d 'Generate shell integration script' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand help; and not __fish_seen_subcommand_from init generate config stats audit tip help" -f -a "generate" -d 'Generate completions or man page' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand help; and not __fish_seen_subcommand_from init generate config stats audit tip help" -f -a "config" -d 'Show config file path' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand help; and not __fish_seen_subcommand_from init generate config stats audit tip help" -f -a "stats" -d 'Show usage statistics' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand help; and not __fish_seen_subcommand_from init generate config stats audit tip help" -f -a "audit" -d 'Audit aliases for security issues and duplicates' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand help; and not __fish_seen_subcommand_from init generate config stats audit tip help" -f -a "tip" -d 'Find aliases for a command (useful for shell integration)' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand help; and not __fish_seen_subcommand_from init generate config stats audit tip help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' [INFO] [stdout] complete -c sobriquet -n "__fish_sobriquet_using_subcommand help; and __fish_seen_subcommand_from stats" -f -a "clear" -d 'Clear all statistics' [INFO] [stdout] [{"name":"ls","command":"eza"}] [INFO] [stdout] test cli::tests::parse_json_pretty_format ... ok [INFO] [stdout] test cli::tests::test_generate_completions_fish ... ok [INFO] [stdout] test cli::tests::test_output_format_json_pretty ... ok [INFO] [stdout] test cli::tests::test_output_format_variants ... ok [INFO] [stdout] test cli::tests::test_output_aliases_json ... ok [INFO] [stdout] test cli::tests::test_parse_refresh_flag ... ok [INFO] [stdout] test cli::tests::test_shell_option_all_variants ... ok [INFO] [stdout] test cli::tests::test_sort_by_frecency_respects_order ... ok [INFO] [stdout] test cli::tests::test_tip_logic_skips_single_word_commands ... ok [INFO] [stdout] test cli::tests::test_short_flags ... ok [INFO] [stdout] test cli::tests::test_stats_clear_subcommand ... ok [INFO] [stdout] test cli::tests::test_tip_logic_complex_command_with_args ... ok [INFO] [stdout] test cli::tests::test_tip_logic_handles_no_matches ... ok [INFO] [stdout] test cli::tests::test_tip_logic_skips_when_typing_alias_name ... ok [INFO] [stdout] test config::tests::color_choice_serialization ... ok [INFO] [stdout] test config::tests::config_paths_returns_multiple_locations ... ok [INFO] [stdout] test config::tests::config_path_returns_something ... ok [INFO] [stdout] test config::tests::default_config ... ok [INFO] [stdout] test config::tests::find_config_returns_none_when_no_config ... ok [INFO] [stdout] test config::tests::load_config_with_no_file ... ok [INFO] [stdout] test config::tests::output_config_default ... ok [INFO] [stdout] test config::tests::parse_config_with_tip ... ok [INFO] [stdout] test config::tests::partial_config_uses_defaults ... ok [INFO] [stdout] test config::tests::tip_config_default ... ok [INFO] [stdout] test config::tests::parse_full_config ... ok [INFO] [stdout] test config::tests::shell_config_default ... ok [INFO] [stdout] test config::tests::use_colors ... ok [INFO] [stdout] test config::tests::ui_config_default ... ok [INFO] [stdout] test error::tests::test_app_error_exit_codes ... ok [INFO] [stdout] test error::tests::test_format_error ... ok [INFO] [stdout] test error::tests::test_show_usage ... ok [INFO] [stdout] test preview::tests::test_binary_empty_command ... ok [INFO] [stdout] test preview::tests::test_binary_extraction ... ok [INFO] [stdout] test preview::tests::test_breakdown ... ok [INFO] [stdout] test preview::tests::test_breakdown_multiple_env_vars ... ok [INFO] [stdout] test preview::tests::test_breakdown_no_subcommand_with_dot_path ... ok [INFO] [stdout] test preview::tests::test_breakdown_no_subcommand_with_path ... ok [INFO] [stdout] test preview::tests::test_breakdown_with_complex_command ... ok [INFO] [stdout] test preview::tests::test_generate_preview_with_flags_and_args ... ok [INFO] [stdout] test preview::tests::test_breakdown_with_env_vars ... ok [INFO] [stdout] test preview::tests::test_generate_preview_with_duplicates ... ok [INFO] [stdout] test preview::tests::test_generate_preview_with_pipes_redirects ... ok [INFO] [stdout] test preview::tests::test_generate_preview_with_secret ... ok [INFO] [stdout] test preview::tests::test_generate_preview_with_warnings ... ok [INFO] [stdout] test preview::tests::test_generate_preview_with_usage ... ok [INFO] [stdout] test preview::tests::test_pipe_count ... ok [INFO] [stdout] test preview::tests::test_pipe_count_ampersand_redirect ... ok [INFO] [stdout] test preview::tests::test_shell_hints_bash ... ok [INFO] [stdout] test preview::tests::test_shell_hints_fish ... ok [INFO] [stdout] test preview::tests::test_pipe_and_redirect_combined ... ok [INFO] [stdout] test preview::tests::test_shell_hints_posix ... ok [INFO] [stdout] test preview::tests::test_shell_hints_prompt_command ... ok [INFO] [stdout] test preview::tests::test_shell_hints_zsh ... ok [INFO] [stdout] test cli::tests::man_page_has_required_sections ... ok [INFO] [stdout] test preview::tests::test_redirect_all_types ... ok [INFO] [stdout] test preview::tests::test_redirect_count ... ok [INFO] [stdout] test preview::tests::test_similar ... ok [INFO] [stdout] test preview::tests::test_similar_no_short_matches ... ok [INFO] [stdout] test preview::tests::test_similar_prefix_match ... ok [INFO] [stdout] test preview::tests::test_similar_short_aliases ... ok [INFO] [stdout] test preview::tests::test_warnings ... ok [INFO] [stdout] test preview::tests::test_skip_env_vars ... ok [INFO] [stdout] test preview::tests::test_skip_env_vars_multiple ... ok [INFO] [stdout] test preview::tests::test_warnings_multiple_types ... ok [INFO] [stdout] test shell::tests::alias_args ... ok [INFO] [stdout] test shell::tests::detection_order_prefers_zsh ... ok [INFO] [stdout] test preview::tests::test_warnings_case_insensitive ... ok [INFO] [stdout] test preview::tests::test_warnings_dangerous_patterns ... ok [INFO] [stdout] test preview::tests::test_shell_hints_zsh_expansion ... ok [INFO] [stdout] test shell::tests::init_scripts ... ok [INFO] [stdout] test preview::tests::test_generate_preview_with_similar ... ok [INFO] [stdout] test source::tests::test_alias_location_struct ... ok [INFO] [stdout] test source::tests::test_expand_path ... ok [INFO] [stdout] test source::tests::test_expand_path_relative ... ok [INFO] [stdout] test source::tests::test_expand_path_absolute ... ok [INFO] [stdout] test source::tests::test_expand_path_home_braces_var ... ok [INFO] [stdout] test source::tests::test_expand_path_home_var ... ok [INFO] [stdout] test source::tests::test_expand_path_tilde_only ... ok [INFO] [stdout] test source::tests::test_expand_path_with_double_quotes ... ok [INFO] [stdout] test source::tests::test_expand_path_tilde_slash ... ok [INFO] [stdout] test source::tests::test_format_location ... ok [INFO] [stdout] test source::tests::test_format_location_non_home ... ok [INFO] [stdout] test source::tests::test_expand_path_with_single_quotes ... ok [INFO] [stdout] test source::tests::test_get_rc_files_bash ... ok [INFO] [stdout] test source::tests::test_get_rc_files_fish ... ok [INFO] [stdout] test source::tests::test_is_alias_definition_bash ... ok [INFO] [stdout] test source::tests::test_is_alias_definition_case_insensitive ... ok [INFO] [stdout] test source::tests::test_is_alias_definition_fish ... ok [INFO] [stdout] test source::tests::test_is_alias_definition_quoted_names ... ok [INFO] [stdout] test source::tests::test_is_alias_definition_with_spaces ... ok [INFO] [stdout] test source::tests::test_get_rc_files_zsh ... ok [INFO] [stdout] test source::tests::test_is_alias_definition_zsh ... ok [INFO] [stdout] test source::tests::test_is_shell_file_bash ... ok [INFO] [stdout] test source::tests::test_is_alias_definition_with_comment ... ok [INFO] [stdout] test source::tests::test_is_alias_definition_fish_abbr_with_multiple_args ... ok [INFO] [stdout] test source::tests::test_is_shell_file_fish ... ok [INFO] [stdout] test source::tests::test_is_shell_file_zsh ... ok [INFO] [stdout] test source::tests::test_parse_source_line_and_with_dot ... ok [INFO] [stdout] test shell::tests::shell_parse ... ok [INFO] [stdout] test source::tests::test_parse_source_line_comment_only ... ok [INFO] [stdout] test source::tests::test_parse_source_line_relative_path ... ok [INFO] [stdout] test source::tests::test_parse_source_line_with_comment ... ok [INFO] [stdout] test source::tests::test_parse_source_line_with_and_operator ... ok [INFO] [stdout] test source::tests::test_parse_source_line_with_semicolon ... ok [INFO] [stdout] test stats::tests::clear_resets_all ... ok [INFO] [stdout] No statistics yet. Use sobriquet to start tracking. [INFO] [stdout] test stats::tests::display_stats_empty ... ok [INFO] [stdout] sobriquet statistics [INFO] [stdout] ──────────────────── [INFO] [stdout] [INFO] [stdout] All time: [INFO] [stdout] Total: 60 [INFO] [stdout] Unique: 20 [INFO] [stdout] [INFO] [stdout] Last 7 days: [INFO] [stdout] Total: 60 [INFO] [stdout] Unique: 20 [INFO] [stdout] [INFO] [stdout] Most recent: alias3 (just now) [INFO] [stdout] [INFO] [stdout] Top (all time): [INFO] [stdout] [INFO] [stdout]  1. alias13 ████████████████████  5 [INFO] [stdout]  2. alias8  ████████████████████  5 [INFO] [stdout]  3. alias18 ████████████████████  5 [INFO] [stdout]  4. alias3  ████████████████████  5 [INFO] [stdout]  5. alias12 ████████████████  4 [INFO] [stdout]  6. alias7  ████████████████  4 [INFO] [stdout]  7. alias17 ████████████████  4 [INFO] [stdout]  8. alias2  ████████████████  4 [INFO] [stdout]  9. alias6  ████████████  3 [INFO] [stdout] 10. alias11 ████████████  3 [INFO] [stdout] [INFO] [stdout] Top (last 7 days): [INFO] [stdout] [INFO] [stdout]  1. alias13 ████████████████████  5 [INFO] [stdout]  2. alias3  ████████████████████  5 [INFO] [stdout]  3. alias8  ████████████████████  5 [INFO] [stdout]  4. alias18 ████████████████████  5 [INFO] [stdout]  5. alias17 ████████████████  4 [INFO] [stdout]  6. alias7  ████████████████  4 [INFO] [stdout]  7. alias2  ████████████████  4 [INFO] [stdout]  8. alias12 ████████████████  4 [INFO] [stdout]  9. alias1  ████████████  3 [INFO] [stdout] 10. alias11 ████████████  3 [INFO] [stdout] [INFO] [stdout] Stats file: /root/.local/share/sobriquet/stats.json [INFO] [stdout] test stats::tests::display_stats_many_aliases ... ok [INFO] [stdout] sobriquet statistics [INFO] [stdout] -------------------- [INFO] [stdout] [INFO] [stdout] All time: [INFO] [stdout] Total: 15 [INFO] [stdout] Unique: 5 [INFO] [stdout] [INFO] [stdout] Last 7 days: [INFO] [stdout] Total: 15 [INFO] [stdout] Unique: 5 [INFO] [stdout] [INFO] [stdout] Most recent: alias0 (just now) [INFO] [stdout] [INFO] [stdout] Top (all time): [INFO] [stdout] [INFO] [stdout] 1. alias4 ████████████████████ 5 [INFO] [stdout] 2. alias3 ████████████████ 4 [INFO] [stdout] 3. alias2 ████████████ 3 [INFO] [stdout] 4. alias1 ████████ 2 [INFO] [stdout] 5. alias0 ████ 1 [INFO] [stdout] [INFO] [stdout] Top (last 7 days): [INFO] [stdout] [INFO] [stdout] 1. alias4 ████████████████████ 5 [INFO] [stdout] 2. alias3 ████████████████ 4 [INFO] [stdout] 3. alias2 ████████████ 3 [INFO] [stdout] 4. alias1 ████████ 2 [INFO] [stdout] 5. alias0 ████ 1 [INFO] [stdout] [INFO] [stdout] Stats file: /root/.local/share/sobriquet/stats.json [INFO] [stdout] test stats::tests::display_stats_multiple_aliases ... ok [INFO] [stdout] sobriquet statistics [INFO] [stdout] ──────────────────── [INFO] [stdout] [INFO] [stdout] All time: [INFO] [stdout] Total: 1 [INFO] [stdout] Unique: 1 [INFO] [stdout] [INFO] [stdout] Last 7 days: [INFO] [stdout] Total: 1 [INFO] [stdout] Unique: 1 [INFO] [stdout] [INFO] [stdout] Most recent: test (just now) [INFO] [stdout] [INFO] [stdout] Top (all time): [INFO] [stdout] [INFO] [stdout]  1. test ████████████████████  1 [INFO] [stdout] [INFO] [stdout] Top (last 7 days): [INFO] [stdout] [INFO] [stdout]  1. test ████████████████████  1 [INFO] [stdout] [INFO] [stdout] Stats file: /root/.local/share/sobriquet/stats.json [INFO] [stdout] test stats::tests::display_stats_with_colors ... ok [INFO] [stdout] sobriquet statistics [INFO] [stdout] -------------------- [INFO] [stdout] [INFO] [stdout] All time: [INFO] [stdout] Total: 3 [INFO] [stdout] Unique: 2 [INFO] [stdout] [INFO] [stdout] Last 7 days: [INFO] [stdout] Total: 3 [INFO] [stdout] Unique: 2 [INFO] [stdout] [INFO] [stdout] Most recent: test_alias (just now) [INFO] [stdout] [INFO] [stdout] Top (all time): [INFO] [stdout] [INFO] [stdout] 1. test_alias ████████████████████ 2 [INFO] [stdout] 2. another ██████████ 1 [INFO] [stdout] [INFO] [stdout] Top (last 7 days): [INFO] [stdout] [INFO] [stdout] 1. test_alias ████████████████████ 2 [INFO] [stdout] 2. another ██████████ 1 [INFO] [stdout] [INFO] [stdout] Stats file: /root/.local/share/sobriquet/stats.json [INFO] [stdout] test stats::tests::display_stats_with_data ... ok [INFO] [stdout] sobriquet statistics [INFO] [stdout] -------------------- [INFO] [stdout] [INFO] [stdout] All time: [INFO] [stdout] Total: 3 [INFO] [stdout] Unique: 2 [INFO] [stdout] [INFO] [stdout] Last 7 days: [INFO] [stdout] Total: 3 [INFO] [stdout] Unique: 2 [INFO] [stdout] [INFO] [stdout] Most recent: first (just now) [INFO] [stdout] [INFO] [stdout] Top (all time): [INFO] [stdout] [INFO] [stdout] 1. second ████████████████████ 2 [INFO] [stdout] 2. first ██████████ 1 [INFO] [stdout] [INFO] [stdout] Top (last 7 days): [INFO] [stdout] [INFO] [stdout] 1. second ████████████████████ 2 [INFO] [stdout] 2. first ██████████ 1 [INFO] [stdout] [INFO] [stdout] Stats file: /root/.local/share/sobriquet/stats.json [INFO] [stdout] test stats::tests::display_stats_with_most_recent ... ok [INFO] [stdout] sobriquet statistics [INFO] [stdout] -------------------- [INFO] [stdout] [INFO] [stdout] All time: [INFO] [stdout] Total: 1 [INFO] [stdout] Unique: 1 [INFO] [stdout] [INFO] [stdout] Last 7 days: [INFO] [stdout] Total: 1 [INFO] [stdout] Unique: 1 [INFO] [stdout] [INFO] [stdout] Most recent: test (just now) [INFO] [stdout] [INFO] [stdout] Top (all time): [INFO] [stdout] [INFO] [stdout] 1. test ████████████████████ 1 [INFO] [stdout] [INFO] [stdout] Top (last 7 days): [INFO] [stdout] [INFO] [stdout] 1. test ████████████████████ 1 [INFO] [stdout] [INFO] [stdout] Stats file: /root/.local/share/sobriquet/stats.json [INFO] [stdout] test stats::tests::display_stats_without_colors ... ok [INFO] [stdout] test stats::tests::format_relative_time ... ok [INFO] [stdout] test source::tests::test_parse_source_line_dot_prefix ... ok [INFO] [stdout] test source::tests::test_parse_source_line_quoted_path ... ok [INFO] [stdout] test stats::tests::format_relative_time_day_pluralization ... ok [INFO] [stdout] test source::tests::test_parse_source_line_single_quoted_path ... ok [INFO] [stdout] test source::tests::test_parse_source_line_source_prefix ... ok [INFO] [stdout] test source::tests::test_parse_source_line_with_parent_dir_path ... ok [INFO] [stdout] test stats::tests::format_relative_time_large_values ... ok [INFO] [stdout] test stats::tests::format_relative_time_various_intervals ... ok [INFO] [stdout] test stats::tests::format_relative_time_pluralization ... ok [INFO] [stdout] test stats::tests::frecency_score_decay ... ok [INFO] [stdout] test stats::tests::get_usage_record ... ok [INFO] [stdout] test stats::tests::recent_stats_empty ... ok [INFO] [stdout] test stats::tests::recent_stats_with_data ... ok [INFO] [stdout] test stats::tests::frecency_score_high_count_vs_recent ... ok [INFO] [stdout] test stats::tests::most_used_and_most_recent ... ok [INFO] [stdout] test stats::tests::frecency_score_new_vs_old ... ok [INFO] [stdout] test stats::tests::record_usage_increments ... ok [INFO] [stdout] test stats::tests::stats_path_contains_sobriquet_dir ... ok [INFO] [stdout] gc -> git commit [INFO] [stdout] test stats::tests::top_aliases_respects_limit ... ok [INFO] [stdout] test stats::tests::top_recent ... ok [INFO] [stdout] test stats::tests::top_aliases_sorted ... ok [INFO] [stdout] test stats::tests::unique_count_and_clear ... ok [INFO] [stdout] test stats::tests::top_recent_respects_limit ... ok [INFO] [stdout] test cli::tests::test_output_aliases_plain_no_colors ... ok [INFO] [stdout] test cli::tests::parse_multiple_options ... ok [INFO] [stdout] test stats::tests::usage_record_new ... ok [INFO] [stdout] test stats::tests::usage_record_now_returns_nonzero ... ok [INFO] [stdout] test source::tests::test_is_alias_definition_fish_alias_syntax ... ok [INFO] [stdout] test stats::tests::usage_record_increment ... ok [INFO] [stdout] test stats::tests::usage_record_first_and_last_used_same_on_creation ... ok [INFO] [stdout] test stats::tests::usage_stats_prune_old_events ... ok [INFO] [stdout] [ [INFO] [stdout] { [INFO] [stdout] "name": "ll", [INFO] [stdout] "command": "eza -la" [INFO] [stdout] } [INFO] [stdout] ] [INFO] [stdout] test alias::tests::find_matching_aliases_whitespace_handling ... ok [INFO] [stdout] test audit::tests::test_truncate_command_short_string ... ok [INFO] [stdout] test cli::tests::test_output_aliases_json_pretty ... ok [INFO] [stdout] test cli::tests::test_output_aliases_plain ... ok [INFO] [stdout] test stats::tests::format_relative_time_boundary_values ... ok [INFO] [stdout] test cli::tests::test_tip_logic_shows_for_multiword_command ... ok [INFO] [stdout] test cli::tests::sort_by_frecency_with_stats ... FAILED [INFO] [stdout] test stats::tests::usage_stats_path_exists ... ok [INFO] [stdout] test alias::tests::collect_aliases_with_config ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- cli::tests::sort_by_frecency_with_stats stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'cli::tests::sort_by_frecency_with_stats' (110) panicked at src/cli.rs:1051:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "b" [INFO] [stdout] right: "a" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ff8dcfffe0a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5ff8dcfffe0a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5ff8dcfffe0a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5ff8dcfffe0a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5ff8dd01737a - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5ff8dd01737a - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x5ff8dd005482 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5ff8dd005482 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5ff8dcfdd00f - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5ff8dcfdd00f - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5ff8dcff79a9 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5ff8dce0121c - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5ff8dce0121c - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5ff8dcff7b62 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x5ff8dcff7b62 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5ff8dcfdd0c8 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5ff8dcfd2019 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5ff8dcfddddd - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5ff8dd017b3c - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5ff8dd0179c3 - core[fa0eadad68403074]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5ff8dcc38768 - core[fa0eadad68403074]::panicking::assert_failed:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5ff8dcc94adb - sobriquet[f777c04dac4148ae]::cli::tests::sort_by_frecency_with_stats [INFO] [stdout] at /opt/rustwide/workdir/src/cli.rs:1051:9 [INFO] [stdout] 22: 0x5ff8dcc8b937 - sobriquet[f777c04dac4148ae]::cli::tests::sort_by_frecency_with_stats::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/cli.rs:1035:37 [INFO] [stdout] 23: 0x5ff8dcceb806 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5ff8dcdf52fb - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5ff8dcdf52fb - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5ff8dce01ceb - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5ff8dce01ceb - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x5ff8dce01ceb - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5ff8dce01ceb - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5ff8dce01ceb - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5ff8dce01ceb - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5ff8dce01ceb - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5ff8dcdfc144 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5ff8dcdfc144 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5ff8dce048f2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5ff8dce048f2 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x5ff8dce048f2 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5ff8dce048f2 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5ff8dce048f2 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5ff8dce048f2 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5ff8dce048f2 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5ff8dcfff1cf - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x5ff8dcfff1cf - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x78e8305d9aa4 - [INFO] [stdout] 45: 0x78e830666a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] cli::tests::sort_by_frecency_with_stats [INFO] [stdout] [INFO] [stdout] test result: FAILED. 258 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "6b425634d17081ae43ab98f0dfd6f791cfef32da26ec76162a8d932fb702ff99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b425634d17081ae43ab98f0dfd6f791cfef32da26ec76162a8d932fb702ff99", kill_on_drop: false }` [INFO] [stdout] 6b425634d17081ae43ab98f0dfd6f791cfef32da26ec76162a8d932fb702ff99