[INFO] cloning repository https://github.com/mgd43b/shelldbhist
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mgd43b/shelldbhist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgd43b%2Fshelldbhist", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgd43b%2Fshelldbhist'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eeb65cbff70e8ad1477a587cb5158baf70699379
[INFO] testing mgd43b/shelldbhist against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmgd43b%2Fshelldbhist" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mgd43b/shelldbhist
[INFO] finished tweaking git repo https://github.com/mgd43b/shelldbhist
[INFO] tweaked toml for git repo https://github.com/mgd43b/shelldbhist written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mgd43b/shelldbhist on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mgd43b/shelldbhist 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded terminal_size v0.4.3
[INFO] [stderr]   Downloaded hashlink v0.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c82eed2643e81e8ec2aa338df1051ed70cda41579f3b838abb93b32bfe5b465f
[INFO] running `Command { std: "docker" "start" "-a" "c82eed2643e81e8ec2aa338df1051ed70cda41579f3b838abb93b32bfe5b465f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c82eed2643e81e8ec2aa338df1051ed70cda41579f3b838abb93b32bfe5b465f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c82eed2643e81e8ec2aa338df1051ed70cda41579f3b838abb93b32bfe5b465f", kill_on_drop: false }`
[INFO] [stdout] c82eed2643e81e8ec2aa338df1051ed70cda41579f3b838abb93b32bfe5b465f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7a8e6543b53389dab0bc35777bc1e6c2dbec7938be42a6f218840ddbdcfaee30
[INFO] running `Command { std: "docker" "start" "-a" "7a8e6543b53389dab0bc35777bc1e6c2dbec7938be42a6f218840ddbdcfaee30", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]    Compiling cc v1.2.50
[INFO] [stderr]    Compiling foldhash v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling clap_builder v4.5.54
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling serde_spanned v1.0.4
[INFO] [stderr]    Compiling toml_datetime v0.7.5+spec-1.1.0
[INFO] [stderr]    Compiling console v0.16.2
[INFO] [stderr]    Compiling shell-words v1.1.1
[INFO] [stderr]    Compiling toml_writer v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling uuid v1.19.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling hashlink v0.11.0
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling libsqlite3-sys v0.36.0
[INFO] [stderr]    Compiling clap v4.5.54
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling toml_parser v1.0.6+spec-1.1.0
[INFO] [stderr]    Compiling toml v0.9.10+spec-1.1.0
[INFO] [stderr]    Compiling tempfile v3.24.0
[INFO] [stderr]    Compiling terminal_size v0.4.3
[INFO] [stderr]    Compiling dialoguer v0.12.0
[INFO] [stderr]    Compiling rusqlite v0.38.0
[INFO] [stderr]    Compiling sdbh v0.12.0 (/opt/rustwide/workdir/sdbh)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.77s
[INFO] running `Command { std: "docker" "inspect" "7a8e6543b53389dab0bc35777bc1e6c2dbec7938be42a6f218840ddbdcfaee30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a8e6543b53389dab0bc35777bc1e6c2dbec7938be42a6f218840ddbdcfaee30", kill_on_drop: false }`
[INFO] [stdout] 7a8e6543b53389dab0bc35777bc1e6c2dbec7938be42a6f218840ddbdcfaee30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bffef295c966512ef090c8462fe30dff4509cf0abb9c55d6c7586ac8db29d3e5
[INFO] running `Command { std: "docker" "start" "-a" "bffef295c966512ef090c8462fe30dff4509cf0abb9c55d6c7586ac8db29d3e5", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling difflib v0.4.0
[INFO] [stderr]    Compiling assert_cmd v2.1.1
[INFO] [stderr]    Compiling wait-timeout v0.2.1
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling float-cmp v0.10.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling bstr v1.12.1
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling sdbh v0.12.0 (/opt/rustwide/workdir/sdbh)
[INFO] [stdout] warning: unused import: `clap::CommandFactory`
[INFO] [stdout]     --> sdbh/tests/integration.rs:1102:9
[INFO] [stdout]      |
[INFO] [stdout] 1102 |     use clap::CommandFactory;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expected_type`
[INFO] [stdout]     --> sdbh/tests/integration.rs:3345:15
[INFO] [stdout]      |
[INFO] [stdout] 3345 |     for (cmd, expected_type) in test_commands {
[INFO] [stdout]      |               ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_type`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `categories`
[INFO] [stdout]     --> sdbh/tests/integration.rs:4430:9
[INFO] [stdout]      |
[INFO] [stdout] 4430 |     let categories = vec![
[INFO] [stdout]      |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_categories`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.71s
[INFO] running `Command { std: "docker" "inspect" "bffef295c966512ef090c8462fe30dff4509cf0abb9c55d6c7586ac8db29d3e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bffef295c966512ef090c8462fe30dff4509cf0abb9c55d6c7586ac8db29d3e5", kill_on_drop: false }`
[INFO] [stdout] bffef295c966512ef090c8462fe30dff4509cf0abb9c55d6c7586ac8db29d3e5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 022971e7140057f9cd8752eaee4c9cce3c0e42017654668e75c663b676438519
[INFO] running `Command { std: "docker" "start" "-a" "022971e7140057f9cd8752eaee4c9cce3c0e42017654668e75c663b676438519", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `clap::CommandFactory`
[INFO] [stderr]     --> sdbh/tests/integration.rs:1102:9
[INFO] [stderr]      |
[INFO] [stderr] 1102 |     use clap::CommandFactory;
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `expected_type`
[INFO] [stderr]     --> sdbh/tests/integration.rs:3345:15
[INFO] [stderr]      |
[INFO] [stderr] 3345 |     for (cmd, expected_type) in test_commands {
[INFO] [stderr]      |               ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_type`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `categories`
[INFO] [stderr]     --> sdbh/tests/integration.rs:4430:9
[INFO] [stderr]      |
[INFO] [stderr] 4430 |     let categories = vec![
[INFO] [stderr]      |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_categories`
[INFO] [stderr] 
[INFO] [stderr] warning: `sdbh` (test "integration") generated 3 warnings (run `cargo fix --test "integration" -p sdbh` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sdbh-f86e61079636bd94)
[INFO] [stdout] 
[INFO] [stdout] running 33 tests
[INFO] [stdout] test cli::tests::build_stats_by_pwd_sql_basic ... ok
[INFO] [stdout] test cli::tests::build_stats_daily_sql_basic ... ok
[INFO] [stdout] test cli::tests::build_summary_sql_with_all_unlimited ... ok
[INFO] [stdout] test cli::tests::build_stats_top_sql_basic ... ok
[INFO] [stdout] test cli::tests::build_summary_sql_with_limit ... ok
[INFO] [stdout] test cli::tests::escape_like_escapes_wildcards ... ok
[INFO] [stdout] test domain::tests::test_db_config_default_path ... ok
[INFO] [stdout] test domain::tests::test_history_row_debug ... ok
[INFO] [stdout] test domain::tests::test_template_defaults_empty ... ok
[INFO] [stdout] test domain::tests::test_variable_default_required ... ok
[INFO] [stdout] test domain::tests::test_template_serialization ... ok
[INFO] [stdout] test domain::tests::test_variable_serialization ... ok
[INFO] [stdout] test template::tests::test_is_valid_variable_name ... ok
[INFO] [stdout] test template::tests::test_template_engine_new_no_home ... ok
[INFO] [stdout] test template::tests::test_substitute_variables ... ok
[INFO] [stdout] test template::tests::test_substitute_variables_edge_cases ... ok
[INFO] [stdout] test template::tests::test_substitute_variables_missing ... ok
[INFO] [stdout] test template::tests::test_validate_template_invalid_variable_name ... ok
[INFO] [stdout] test template::tests::test_delete_template_not_found ... ok
[INFO] [stdout] test template::tests::test_load_template_not_found ... ok
[INFO] [stdout] test template::tests::test_resolve_template_with_defaults ... ok
[INFO] [stdout] test template::tests::test_template_engine_new ... ok
[INFO] [stdout] test template::tests::test_resolve_template_missing_required ... ok
[INFO] [stdout] test template::tests::test_validate_template_empty_name ... ok
[INFO] [stdout] test template::tests::test_validate_template_empty_id ... ok
[INFO] [stdout] test template::tests::test_validate_template_empty_command ... ok
[INFO] [stdout] test template::tests::test_validate_template_undefined_variable ... ok
[INFO] [stdout] test template::tests::test_validate_template_valid ... ok
[INFO] [stdout] test template::tests::test_save_and_load_template ... ok
[INFO] [stdout] test template::tests::test_delete_template ... ok
[INFO] [stdout] test template::tests::test_extract_variables ... ok
[INFO] [stdout] test template::tests::test_extract_variables_complex ... ok
[INFO] [stdout] test template::tests::test_list_templates ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 33 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-923cbbc83aa7bafc)
[INFO] [stdout] 
[INFO] [stdout] running 103 tests
[INFO] [stdout] test bash_history_parsing_tolerates_multiple_spaces ... ok
[INFO] [stdout] test cmd_version ... ok
[INFO] [stdout] test doctor_command_error_handling ... ok
[INFO] [stdout] test cmd_shell_bash_only ... ok
[INFO] [stdout] test cmd_shell_invalid_arguments ... ok
[INFO] [stdout] test cmd_shell_intercept_mode ... ok
[INFO] [stdout] test cmd_db_schema ... ok
[INFO] [stdout] test doctor_detects_database_corruption ... ok
[INFO] [stdout] test bash_shell_inspection_edge_cases ... ok
[INFO] [stdout] test cmd_shell_zsh_only ... ok
[INFO] [stdout] test cmd_shell_intercept_only ... ok
[INFO] [stdout] test cmd_doctor_no_spawn_mode ... ok
[INFO] [stdout] test db_health_checks_database_integrity_and_indexes ... ok
[INFO] [stdout] test config_file_parsing_errors ... ok
[INFO] [stdout] test db_stats_shows_database_statistics ... ok
[INFO] [stdout] test db_optimize_creates_missing_indexes ... ok
[INFO] [stdout] test cmd_doctor_spawn_only_mode ... ok
[INFO] [stdout] test doctor_reports_missing_env_vars_when_not_set ... ok
[INFO] [stdout] test doctor_detects_hook_via_prompt_command_env ... ok
[INFO] [stdout] test doctor_warns_about_missing_indexes ... ok
[INFO] [stdout] test fzf_multi_select_configuration ... ok
[INFO] [stdout] test empty_command_handling ... ok
[INFO] [stdout] test doctor_command_json_output ... ok
[INFO] [stdout] test database_file_permissions ... FAILED
[INFO] [stdout] test concurrent_database_access ... ok
[INFO] [stdout] test export_outputs_jsonl_to_stdout ... ok
[INFO] [stdout] test export_with_invalid_session_env ... ok
[INFO] [stdout] test export_with_session_filter ... ok
[INFO] [stdout] test invalid_arguments_cause_graceful_failures ... ok
[INFO] [stdout] test extreme_timestamp_values ... ok
[INFO] [stdout] test import_history_zsh_parses_extended_history_format ... ok
[INFO] [stdout] test import_history_bash_assigns_synthetic_timestamps_and_dedups ... ok
[INFO] [stdout] test import_dedups_by_hash ... ok
[INFO] [stdout] test fzf_config_parsing ... ok
[INFO] [stdout] test fzf_config_defaults_when_no_config ... ok
[INFO] [stdout] test fzf_config_loading_and_application ... ok
[INFO] [stdout] test fzf_commands_fail_gracefully_without_fzf ... ok
[INFO] [stdout] test fzf_preview_configuration ... ok
[INFO] [stdout] test import_requires_from_argument ... ok
[INFO] [stdout] test fzf_config_invalid_options_handled_gracefully ... ok
[INFO] [stdout] test fzf_multi_select_flag_parsing ... ok
[INFO] [stdout] test memory_bank_update ... ok
[INFO] [stdout] test json_output_is_valid_shape ... ok
[INFO] [stdout] test import_skips_corrupted_rows_with_text_in_numeric_columns ... ok
[INFO] [stdout] test import_with_missing_source_file_fails ... ok
[INFO] [stdout] test fzf_command_execution_errors ... ok
[INFO] [stdout] test log_skips_noisy_commands_by_default ... ok
[INFO] [stdout] test log_respects_config_ignore_exact_in_home_sdbh_toml ... ok
[INFO] [stdout] test list_with_json_format ... ok
[INFO] [stdout] test log_filter_config_edge_cases ... ok
[INFO] [stdout] test list_under_filters_by_pwd_prefix_and_escapes_wildcards ... ok
[INFO] [stdout] test list_shows_chronological_order_oldest_first ... ok
[INFO] [stdout] test log_no_filter_allows_logging_noisy_commands ... ok
[INFO] [stdout] test malformed_fzf_preview_input ... ok
[INFO] [stdout] test log_respects_config_use_builtin_ignores_false ... ok
[INFO] [stdout] test log_no_filter_overrides_config ... ok
[INFO] [stdout] test log_inserts_row_and_list_shows_it ... ok
[INFO] [stdout] test preview_command_not_found ... ok
[INFO] [stdout] test preview_command_edge_cases ... ok
[INFO] [stdout] test multi_select_requires_fzf_flag ... ok
[INFO] [stdout] test preview_enhanced_context_aware_docker ... ok
[INFO] [stdout] test preview_enhanced_context_aware_git ... ok
[INFO] [stdout] test preview_with_very_long_command ... ok
[INFO] [stdout] test preview_enhanced_directory_usage ... ok
[INFO] [stdout] test preview_shows_command_statistics ... ok
[INFO] [stdout] test search_escapes_like_wildcards_in_query ... ok
[INFO] [stdout] test search_json_output_is_valid_shape ... ok
[INFO] [stdout] test search_respects_session_filter ... ok
[INFO] [stdout] test search_supports_since_epoch_filter ... ok
[INFO] [stdout] test shell_integration_functions_documented ... ok
[INFO] [stdout] test preview_enhanced_related_commands_by_directory ... ok
[INFO] [stdout] test preview_enhanced_recent_executions ... ok
[INFO] [stdout] test search_finds_substring_case_insensitive_and_respects_limit ... ok
[INFO] [stdout] test template_cli_help ... ok
[INFO] [stdout] test template_cli_list_empty ... ok
[INFO] [stdout] test stats_by_pwd_groups_by_directory ... ok
[INFO] [stdout] test template_cli_no_args ... ok
[INFO] [stdout] test template_category_filtering ... ok
[INFO] [stdout] test template_cli_create_interactive_fails_without_terminal ... ok
[INFO] [stdout] test template_complex_variable_substitution ... ok
[INFO] [stdout] test template_cli_delete_nonexistent ... ok
[INFO] [stdout] test stats_by_pwd_with_fzf_flag_parsing ... ok
[INFO] [stdout] test preview_enhanced_command_type_detection ... ok
[INFO] [stdout] test stats_daily_outputs_day_buckets_in_localtime ... ok
[INFO] [stdout] test template_concurrent_operations ... ok
[INFO] [stdout] test template_validation_errors ... ok
[INFO] [stdout] test template_nested_variable_usage ... ok
[INFO] [stdout] test template_variable_defaults_and_overrides ... ok
[INFO] [stdout] test template_cli_unknown_template ... ok
[INFO] [stdout] test template_variable_types_and_validation ... ok
[INFO] [stdout] test template_edge_cases_and_boundaries ... ok
[INFO] [stdout] test template_storage_operations ... ok
[INFO] [stdout] test stats_daily_with_fzf_flag_parsing ... ok
[INFO] [stdout] test stats_top_shows_most_common_commands ... ok
[INFO] [stdout] test stats_top_fzf_with_multi_select_flag_parsing ... ok
[INFO] [stdout] test template_file_operations_error_handling ... ok
[INFO] [stdout] test stats_top_with_fzf_flag_parsing ... ok
[INFO] [stdout] test summary_groups_and_counts ... ok
[INFO] [stdout] test stats_fzf_multi_select_validation ... ok
[INFO] [stdout] test special_characters_in_commands ... ok
[INFO] [stdout] test very_long_command_handling ... ok
[INFO] [stdout] test zsh_shell_inspection_edge_cases ... ok
[INFO] [stdout] test stats_top_with_limit_and_all_flags ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- database_file_permissions stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'database_file_permissions' (99) panicked at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5:
[INFO] [stdout] Unexpected success
[INFO] [stdout] command=`"/opt/rustwide/target/debug/sdbh" "--db" "/tmp/.tmp5zqwxK/readonly.sqlite" "log" "--cmd" "echo should fail" "--epoch" "1700000001" "--ppid" "123" "--pwd" "/tmp" "--salt" "42"`
[INFO] [stdout] code=0
[INFO] [stdout] stdout=""
[INFO] [stdout] stderr=""
[INFO] [stdout] 
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5a10c66a4cf2 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5a10c66a4cf2 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5a10c66a4cf2 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5a10c66a4cf2 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5a10c66bb95a - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5a10c66bb95a - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x5a10c66ab016 - std[3b51380354919863]::io::default_write_fmt::<alloc[a57f19327c0ad893]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5a10c66ab016 - <alloc[a57f19327c0ad893]::vec::Vec<u8> as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5a10c668173f - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5a10c668173f - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5a10c669c699 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5a10c6486cee - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x5a10c6486cee - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::<test[182b2e79ecd7bbd9]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5a10c669c852 - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x5a10c669c852 - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5a10c66817f8 - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5a10c6676999 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5a10c66826bd - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5a10c66bc11c - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5a10c662e588 - core[27de1724e4349be2]::panicking::panic_display::<assert_cmd[fc96861504af4340]::assert::AssertError>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:259:5
[INFO] [stdout]   20:     0x5a10c6636c37 - <assert_cmd[fc96861504af4340]::assert::AssertError>::panic::<assert_cmd[fc96861504af4340]::assert::Assert>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.1.1/src/assert.rs:1033:9
[INFO] [stdout]   21:     0x5a10c662fe87 - <<assert_cmd[fc96861504af4340]::assert::AssertError>::panic<assert_cmd[fc96861504af4340]::assert::Assert> as core[27de1724e4349be2]::ops::function::FnOnce<(assert_cmd[fc96861504af4340]::assert::AssertError,)>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x5a10c66307d4 - <core[27de1724e4349be2]::result::Result<assert_cmd[fc96861504af4340]::assert::Assert, assert_cmd[fc96861504af4340]::assert::AssertError>>::unwrap_or_else::<<assert_cmd[fc96861504af4340]::assert::AssertError>::panic<assert_cmd[fc96861504af4340]::assert::Assert>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/result.rs:1622:23
[INFO] [stdout]   23:     0x5a10c6637910 - <assert_cmd[fc96861504af4340]::assert::Assert>::failure
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.1.1/src/assert.rs:187:28
[INFO] [stdout]   24:     0x5a10c6427794 - integration[85c75eee69ff7d68]::database_file_permissions
[INFO] [stdout]                                at /opt/rustwide/workdir/sdbh/tests/integration.rs:2801:14
[INFO] [stdout]   25:     0x5a10c641e417 - integration[85c75eee69ff7d68]::database_file_permissions::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/sdbh/tests/integration.rs:2751:31
[INFO] [stdout]   26:     0x5a10c6467b66 - <integration[85c75eee69ff7d68]::database_file_permissions::{closure#0} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   27:     0x5a10c647b09b - <fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x5a10c647b09b - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18
[INFO] [stdout]   29:     0x5a10c64878fa - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74
[INFO] [stdout]   30:     0x5a10c64878fa - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   31:     0x5a10c64878fa - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   32:     0x5a10c64878fa - std[3b51380354919863]::panicking::catch_unwind::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   33:     0x5a10c64878fa - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   34:     0x5a10c64878fa - test[182b2e79ecd7bbd9]::run_test_in_process
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27
[INFO] [stdout]   35:     0x5a10c64878fa - test[182b2e79ecd7bbd9]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43
[INFO] [stdout]   36:     0x5a10c6482ea4 - test[182b2e79ecd7bbd9]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41
[INFO] [stdout]   37:     0x5a10c6482ea4 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   38:     0x5a10c648a3f2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   39:     0x5a10c648a3f2 - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   40:     0x5a10c648a3f2 - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   41:     0x5a10c648a3f2 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   42:     0x5a10c648a3f2 - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   43:     0x5a10c648a3f2 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   44:     0x5a10c648a3f2 - <std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   45:     0x5a10c66a437f - <alloc[a57f19327c0ad893]::boxed::Box<dyn core[27de1724e4349be2]::ops::function::FnOnce<(), Output = ()> + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   46:     0x5a10c66a437f - <std[3b51380354919863]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   47:     0x7b6a09ec8aa4 - <unknown>
[INFO] [stdout]   48:     0x7b6a09f55a64 - clone
[INFO] [stdout]   49:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     database_file_permissions
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 102 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test integration`
[INFO] running `Command { std: "docker" "inspect" "022971e7140057f9cd8752eaee4c9cce3c0e42017654668e75c663b676438519", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "022971e7140057f9cd8752eaee4c9cce3c0e42017654668e75c663b676438519", kill_on_drop: false }`
[INFO] [stdout] 022971e7140057f9cd8752eaee4c9cce3c0e42017654668e75c663b676438519
