[INFO] fetching crate code-digest 0.5.0... [INFO] testing code-digest-0.5.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate code-digest 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate code-digest 0.5.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate code-digest 0.5.0 [INFO] tweaked toml for crates.io crate code-digest 0.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate code-digest 0.5.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate code-digest 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3084c69b499838470ecab70a1b2e1053d651130e29b9deac22e4cd6f11ef016 [INFO] running `Command { std: "docker" "start" "-a" "b3084c69b499838470ecab70a1b2e1053d651130e29b9deac22e4cd6f11ef016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3084c69b499838470ecab70a1b2e1053d651130e29b9deac22e4cd6f11ef016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3084c69b499838470ecab70a1b2e1053d651130e29b9deac22e4cd6f11ef016", kill_on_drop: false }` [INFO] [stdout] b3084c69b499838470ecab70a1b2e1053d651130e29b9deac22e4cd6f11ef016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 343c48e3dc9401325074ccdc6f2269c0dc739a9d2b47e365a9c255dff5c2bc2d [INFO] running `Command { std: "docker" "start" "-a" "343c48e3dc9401325074ccdc6f2269c0dc739a9d2b47e365a9c255dff5c2bc2d", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling x11rb-protocol v0.13.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling fancy-regex v0.12.0 [INFO] [stderr] Compiling arboard v3.6.0 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling tiktoken-rs v0.5.9 [INFO] [stderr] Compiling code-digest v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.83s [INFO] running `Command { std: "docker" "inspect" "343c48e3dc9401325074ccdc6f2269c0dc739a9d2b47e365a9c255dff5c2bc2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "343c48e3dc9401325074ccdc6f2269c0dc739a9d2b47e365a9c255dff5c2bc2d", kill_on_drop: false }` [INFO] [stdout] 343c48e3dc9401325074ccdc6f2269c0dc739a9d2b47e365a9c255dff5c2bc2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47efe61aa1a07339301f5ea2367b38e1fc08ff70f71ee00387c7acc382d755c5 [INFO] running `Command { std: "docker" "start" "-a" "47efe61aa1a07339301f5ea2367b38e1fc08ff70f71ee00387c7acc382d755c5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling fancy-regex v0.12.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling tiktoken-rs v0.5.9 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling code-digest v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 44.76s [INFO] running `Command { std: "docker" "inspect" "47efe61aa1a07339301f5ea2367b38e1fc08ff70f71ee00387c7acc382d755c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47efe61aa1a07339301f5ea2367b38e1fc08ff70f71ee00387c7acc382d755c5", kill_on_drop: false }` [INFO] [stdout] 47efe61aa1a07339301f5ea2367b38e1fc08ff70f71ee00387c7acc382d755c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a3c6238a8b3f0e51e0f14f983afdffd07bfe3c2fd2c697985ceb76c9e8291644 [INFO] running `Command { std: "docker" "start" "-a" "a3c6238a8b3f0e51e0f14f983afdffd07bfe3c2fd2c697985ceb76c9e8291644", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/code_digest-b279f6c8a8f704d8) [INFO] [stdout] [INFO] [stdout] running 80 tests [INFO] [stdout] test cli::tests::test_config_validation_invalid_directory ... ok [INFO] [stdout] test cli::tests::test_config_validation_mutually_exclusive_options ... ok [INFO] [stdout] test cli::tests::test_config_validation_file_as_directory ... ok [INFO] [stdout] test cli::tests::test_config_validation_invalid_output_directory ... ok [INFO] [stdout] test cli::tests::test_parse_directories ... ok [INFO] [stdout] test cli::tests::test_config_validation_output_file_in_current_dir ... ok [INFO] [stdout] test cli::tests::test_config_validation_valid_directory ... ok [INFO] [stdout] test cli::tests::test_validate_files_as_directories ... ok [INFO] [stdout] test config::tests::test_apply_to_cli_config ... ok [INFO] [stdout] test config::tests::test_config_file_loading ... ok [INFO] [stdout] test config::tests::test_config_file_parsing ... ok [INFO] [stdout] test config::tests::test_example_config_generation ... ok [INFO] [stdout] test core::cache::tests::test_cache_hit_returns_same_content ... ok [INFO] [stdout] test cli::tests::test_parse_multiple_directories ... ok [INFO] [stdout] test core::cache::tests::test_cache_miss_loads_from_disk ... ok [INFO] [stdout] test core::cache::tests::test_canonicalized_paths ... ok [INFO] [stdout] test core::digest::tests::test_enhanced_file_headers_with_metadata ... ok [INFO] [stdout] test core::digest::tests::test_basic_mode_unchanged ... ok [INFO] [stdout] test core::digest::tests::test_file_type_display ... ok [INFO] [stdout] test core::digest::tests::test_format_size ... ok [INFO] [stdout] test core::digest::tests::test_digest_options_from_config ... ok [INFO] [stdout] test core::cache::tests::test_non_existent_file_returns_error ... ok [INFO] [stdout] test core::digest::tests::test_generate_file_tree_with_grouping ... ok [INFO] [stdout] test core::digest::tests::test_generate_statistics_empty ... ok [INFO] [stdout] test core::digest::tests::test_enhanced_tree_generation_with_metadata ... ok [INFO] [stdout] test core::digest::tests::test_generate_statistics_large_files ... ok [INFO] [stdout] test core::digest::tests::test_generate_markdown_structure_headers ... ok [INFO] [stdout] test cli::tests::test_config_load_from_file_no_config ... ok [INFO] [stdout] test cli::tests::test_llm_tool_enum_values ... ok [INFO] [stdout] test cli::tests::test_validate_multiple_directories ... ok [INFO] [stdout] test core::prioritizer::tests::test_prioritize_algorithm_ordering ... ok [INFO] [stdout] test core::prioritizer::tests::test_priority_ordering ... ok [INFO] [stdout] test core::digest::tests::test_path_to_anchor ... ok [INFO] [stdout] test core::prioritizer::tests::test_prioritize_without_limit ... ok [INFO] [stdout] test core::digest::tests::test_generate_statistics ... ok [INFO] [stdout] test core::prioritizer::tests::test_group_by_directory ... ok [INFO] [stdout] test core::token::tests::test_token_limit_checks ... ok [INFO] [stdout] test core::prioritizer::tests::test_group_by_directory_complex ... ok [INFO] [stdout] test core::cache::tests::test_concurrent_access ... ok [INFO] [stdout] test core::walker::tests::test_config_to_walker_data_flow ... ok [INFO] [stdout] test core::walker::tests::test_custom_priority_empty_list ... ok [INFO] [stdout] test core::walker::tests::test_custom_priority_glob_pattern_match ... ok [INFO] [stdout] test core::walker::tests::test_custom_priority_first_match_wins ... ok [INFO] [stdout] test core::walker::tests::test_custom_priority_negative_weight ... ok [INFO] [stdout] test core::walker::tests::test_custom_priority_no_match_returns_base_priority ... ok [INFO] [stdout] test core::walker::tests::test_custom_priority_single_match_adds_weight ... ok [INFO] [stdout] test core::walker::tests::test_empty_custom_priorities_config ... ok [INFO] [stdout] test core::walker::tests::test_empty_pattern_in_config ... ok [INFO] [stdout] test core::walker::tests::test_extreme_weights_in_config ... ok [INFO] [stdout] test core::walker::tests::test_file_info_file_type_display ... ok [INFO] [stdout] test core::walker::tests::test_invalid_glob_pattern_in_config ... ok [INFO] [stdout] test core::walker::tests::test_priority_calculation ... ok [INFO] [stdout] test core::walker::tests::test_priority_edge_cases ... ok [INFO] [stdout] test core::walker::tests::test_walk_directory_basic ... ok [INFO] [stdout] test core::walker::tests::test_walk_empty_directory ... ok [INFO] [stdout] test core::walker::tests::test_custom_priority_zero_weight ... ok [INFO] [stdout] test core::walker::tests::test_walk_options_from_config ... ok [INFO] [stdout] test core::walker::tests::test_file_size_limit ... ok [INFO] [stdout] test core::walker::tests::test_walk_with_custom_options ... ok [INFO] [stdout] test core::walker::tests::test_walk_with_include_patterns ... ok [INFO] [stdout] test core::walker::tests::test_walk_subdirectories ... ok [INFO] [stdout] test remote::tests::test_get_repo_path_not_found ... ok [INFO] [stdout] test core::walker::tests::test_walk_with_digestignore ... ok [INFO] [stdout] test remote::tests::test_gh_available ... ok [INFO] [stdout] test remote::tests::test_parse_github_url_http ... ok [INFO] [stdout] test remote::tests::test_get_repo_path ... ok [INFO] [stdout] test remote::tests::test_parse_github_url_https ... ok [INFO] [stdout] test remote::tests::test_parse_github_url_trailing_slash ... ok [INFO] [stdout] test utils::error::tests::test_error_display ... ok [INFO] [stdout] test remote::tests::test_parse_github_url_invalid ... ok [INFO] [stdout] test utils::file_ext::tests::test_binary_content_detection ... ok [INFO] [stdout] test utils::file_ext::tests::test_binary_extension_detection ... ok [INFO] [stdout] test utils::file_ext::tests::test_language_detection ... ok [INFO] [stdout] test remote::tests::test_git_available ... ok [INFO] [stdout] test utils::error::tests::test_io_error_conversion ... ok [INFO] [stdout] test core::token::tests::test_parallel_counting ... ok [INFO] [stdout] test core::token::tests::test_file_token_counting ... ok [INFO] [stdout] test core::prioritizer::tests::test_calculate_structure_overhead ... ok [INFO] [stdout] test core::token::tests::test_token_counting ... ok [INFO] [stdout] test core::token::tests::test_total_estimation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 80 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.50s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/code_digest-655ffa53fa2df259) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cache_integration_test.rs (/opt/rustwide/target/debug/deps/cache_integration_test-21b044387c4ebd37) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_single_file_read_per_file ... ok [INFO] [stdout] test test_cache_prevents_redundant_io ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/cli_test.rs (/opt/rustwide/target/debug/deps/cli_test-519cfb1f3c77b266) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test test_copy_flag ... ok [INFO] [stdout] test test_copy_with_output_conflict ... ok [INFO] [stdout] test test_llm_tool_command_names ... ok [INFO] [stdout] test test_copy_default_false ... ok [INFO] [stdout] test test_llm_tool_codex ... ok [INFO] [stdout] test test_llm_tool_default ... ok [INFO] [stdout] test test_llm_tool_gemini ... ok [INFO] [stdout] test test_enhanced_context_flag ... ok [INFO] [stdout] test test_llm_tool_install_instructions ... ok [INFO] [stdout] test test_positional_directories ... ok [INFO] [stdout] test test_prompt_and_paths_mutually_exclusive ... ok [INFO] [stdout] test test_prompt_flag_with_spaces ... ok [INFO] [stdout] test test_llm_tool_short_flag ... ok [INFO] [stdout] test test_prompt_short_flag ... ok [INFO] [stdout] test test_multiple_directories ... ok [INFO] [stdout] test test_repo_and_directory_mutually_exclusive ... ok [INFO] [stdout] test test_repo_argument ... ok [INFO] [stdout] test test_copy_short_flag ... ok [INFO] [stdout] test test_stdin_flag ... ok [INFO] [stdout] test test_enhanced_context_default_false ... ok [INFO] [stdout] test test_valid_repo_url_accepted ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/e2e_test.rs (/opt/rustwide/target/debug/deps/e2e_test-6cf1741e7c7014d5) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test test_e2e_verbose_debugging ... ok [INFO] [stdout] test test_e2e_basic_markdown_generation ... ok [INFO] [stdout] test test_e2e_multiple_directories ... ok [INFO] [stdout] test test_e2e_llm_tool_selection ... ok [INFO] [stdout] test test_e2e_multi_language_project ... ok [INFO] [stdout] test test_e2e_with_digestignore ... ok [INFO] [stdout] test test_e2e_error_handling ... ok [INFO] [stdout] test test_e2e_with_config_file ... ok [INFO] [stdout] test test_e2e_stdout_output ... ok [INFO] [stdout] test test_e2e_large_project_performance ... ok [INFO] [stdout] test test_e2e_with_token_limits ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.69s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-afd3ff3283629840) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test test_cli_help ... ok [INFO] [stdout] test test_cli_version ... ok [INFO] [stdout] test test_mutually_exclusive_options_error ... ok [INFO] [stdout] test test_llm_tool_options ... ok [INFO] [stdout] test test_process_directory_to_file ... ok [INFO] [stdout] test test_process_with_digestignore ... ok [INFO] [stdout] test test_quiet_mode ... ok [INFO] [stdout] test test_invalid_directory_error ... ok [INFO] [stdout] test test_stdout_output ... ok [INFO] [stdout] test test_invalid_output_directory_error ... ok [INFO] [stdout] test test_verbose_mode ... ok [INFO] [stdout] test test_copy_output_mutually_exclusive ... ok [INFO] [stdout] test test_clipboard_copy ... FAILED [INFO] [stdout] test test_config_file_loading ... ok [INFO] [stdout] test test_process_with_token_limit ... ok [INFO] [stdout] test test_large_project_handling ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_clipboard_copy stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_clipboard_copy' (258) panicked at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5: [INFO] [stdout] Unexpected failure. [INFO] [stdout] code=1 [INFO] [stdout] stderr=`````` [INFO] [stdout] Error: Clipboard error: Failed to access clipboard: Unknown error while interacting with the clipboard: X11 server connection timed out because it was unreachable [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:2184:27 [INFO] [stdout] 2: code_digest::copy_to_clipboard [INFO] [stdout] at ./src/lib.rs:276:25 [INFO] [stdout] 3: code_digest::run [INFO] [stdout] at ./src/lib.rs:152:13 [INFO] [stdout] 4: code_digest::main [INFO] [stdout] at ./src/main.rs:25:5 [INFO] [stdout] 5: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 6: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 7: std::rt::lang_start::{{closure}} [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:206:18 [INFO] [stdout] 8: core::ops::function::impls:: for &F>::call_once [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 9: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 10: std::panicking::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 11: std::panic::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 12: std::rt::lang_start_internal::{{closure}} [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:175:24 [INFO] [stdout] 13: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 14: std::panicking::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 15: std::panic::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 16: std::rt::lang_start_internal [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:171:5 [INFO] [stdout] 17: std::rt::lang_start [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:205:5 [INFO] [stdout] 18: main [INFO] [stdout] 19: [INFO] [stdout] 20: __libc_start_main [INFO] [stdout] 21: _start [INFO] [stdout] ``` [INFO] [stdout] ``` [INFO] [stdout] command=`"/opt/rustwide/target/debug/code-digest" "/tmp/.tmpaNY0KX/test_project" "--copy"` [INFO] [stdout] code=1 [INFO] [stdout] stdout="" [INFO] [stdout] stderr=``` [INFO] [stdout] Error: Clipboard error: Failed to access clipboard: Unknown error while interacting with the clipboard: X11 server connection timed out because it was unreachable [INFO] [stdout] [INFO] [stdout] Stack backtrace: [INFO] [stdout] 0: anyhow::error:: for anyhow::Error>::from [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:27:14 [INFO] [stdout] 1: as core::ops::try_trait::FromResidual>>::from_residual [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:2184:27 [INFO] [stdout] 2: code_digest::copy_to_clipboard [INFO] [stdout] at ./src/lib.rs:276:25 [INFO] [stdout] 3: code_digest::run [INFO] [stdout] at ./src/lib.rs:152:13 [INFO] [stdout] 4: code_digest::main [INFO] [stdout] at ./src/main.rs:25:5 [INFO] [stdout] 5: core::ops::function::FnOnce::call_once [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 6: std::sys::backtrace::__rust_begin_short_backtrace [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 7: std::rt::lang_start::{{closure}} [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:206:18 [INFO] [stdout] 8: core::ops::function::impls:: for &F>::call_once [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 9: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 10: std::panicking::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 11: std::panic::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 12: std::rt::lang_start_internal::{{closure}} [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:175:24 [INFO] [stdout] 13: std::panicking::catch_unwind::do_call [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 14: std::panicking::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 15: std::panic::catch_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 16: std::rt::lang_start_internal [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:171:5 [INFO] [stdout] 17: std::rt::lang_start [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/rt.rs:205:5 [INFO] [stdout] 18: main [INFO] [stdout] 19: [INFO] [stdout] 20: __libc_start_main [INFO] [stdout] 21: _start [INFO] [stdout] ``` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e2fe9201dd2 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e2fe9201dd2 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e2fe9201dd2 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e2fe9201dd2 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e2fe9212f3f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e2fe9212f3f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5e2fe91cd183 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e2fe91cd183 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e2fe91d9922 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e2fe91de7bf - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5e2fe91de651 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5e2fe916527e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x5e2fe916527e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5e2fe91dedcf - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5e2fe91dedcf - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5e2fe91dec2a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5e2fe91d9a59 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5e2fe91c0c5d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5e2fe921ae70 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5e2fe9198650 - core::panicking::panic_display::ha9cb54264fa1476d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:264:5 [INFO] [stdout] 20: 0x5e2fe9190f87 - assert_cmd::assert::AssertError::panic::h3646f75d3726c2ab [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.0.17/src/assert.rs:1033:9 [INFO] [stdout] 21: 0x5e2fe9197287 - core::ops::function::FnOnce::call_once::h3e70a75b46145a21 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5e2fe919afd4 - core::result::Result::unwrap_or_else::h3c66c1d81c58da0c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1622:23 [INFO] [stdout] 23: 0x5e2fe9191c16 - assert_cmd::assert::Assert::success::h2dba6ec11cd16c95 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/assert_cmd-2.0.17/src/assert.rs:158:28 [INFO] [stdout] 24: 0x5e2fe9136adb - integration_test::test_clipboard_copy::hdca4f8a4039b5a04 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:420:18 [INFO] [stdout] 25: 0x5e2fe9136c07 - integration_test::test_clipboard_copy::{{closure}}::heb866257ee117328 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:397:25 [INFO] [stdout] 26: 0x5e2fe9142846 - core::ops::function::FnOnce::call_once::h9585e5f5125b15a1 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 27: 0x5e2fe91650cb - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x5e2fe91650cb - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 29: 0x5e2fe91790dd - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 30: 0x5e2fe91790dd - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 31: 0x5e2fe91790dd - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 32: 0x5e2fe91790dd - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 33: 0x5e2fe91790dd - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 34: 0x5e2fe91790dd - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 35: 0x5e2fe91790dd - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 36: 0x5e2fe9152624 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 37: 0x5e2fe9152624 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 38: 0x5e2fe9155f5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 39: 0x5e2fe9155f5a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 40: 0x5e2fe9155f5a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 41: 0x5e2fe9155f5a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 42: 0x5e2fe9155f5a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 43: 0x5e2fe9155f5a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 44: 0x5e2fe9155f5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 45: 0x5e2fe91d4d7f - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 46: 0x5e2fe91d4d7f - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 47: 0x74466cfdaaa4 - [INFO] [stdout] 48: 0x74466d067a64 - clone [INFO] [stdout] 49: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_clipboard_copy [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.34s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test integration_test` [INFO] running `Command { std: "docker" "inspect" "a3c6238a8b3f0e51e0f14f983afdffd07bfe3c2fd2c697985ceb76c9e8291644", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3c6238a8b3f0e51e0f14f983afdffd07bfe3c2fd2c697985ceb76c9e8291644", kill_on_drop: false }` [INFO] [stdout] a3c6238a8b3f0e51e0f14f983afdffd07bfe3c2fd2c697985ceb76c9e8291644