[INFO] fetching crate similarity-core 0.4.1... [INFO] testing similarity-core-0.4.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate similarity-core 0.4.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate similarity-core 0.4.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate similarity-core 0.4.1 [INFO] tweaked toml for crates.io crate similarity-core 0.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate similarity-core 0.4.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate similarity-core 0.4.1 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d1dfd1fae033b7f082758f746c8273dff3ad3b1d8df385822d02c873158d646 [INFO] running `Command { std: "docker" "start" "-a" "1d1dfd1fae033b7f082758f746c8273dff3ad3b1d8df385822d02c873158d646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d1dfd1fae033b7f082758f746c8273dff3ad3b1d8df385822d02c873158d646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d1dfd1fae033b7f082758f746c8273dff3ad3b1d8df385822d02c873158d646", kill_on_drop: false }` [INFO] [stdout] 1d1dfd1fae033b7f082758f746c8273dff3ad3b1d8df385822d02c873158d646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9840c25e061df81b20842f70507734fa29154a7eb54b1d60a3bb1b5d2121bf19 [INFO] running `Command { std: "docker" "start" "-a" "9840c25e061df81b20842f70507734fa29154a7eb54b1d60a3bb1b5d2121bf19", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling cow-utils v0.1.3 [INFO] [stderr] Compiling oxc_estree v0.73.2 [INFO] [stderr] Compiling oxc_data_structures v0.73.2 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling oxc_index v3.0.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling oxc_allocator v0.73.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Compiling tree-sitter-c v0.23.4 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.23.1 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling tree-sitter-ruby v0.23.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling oxc-miette-derive v2.3.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling oxc_ast_macros v0.73.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling oxc-miette v2.3.0 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling oxc_span v0.73.2 [INFO] [stderr] Compiling oxc_diagnostics v0.73.2 [INFO] [stderr] Compiling oxc_syntax v0.73.2 [INFO] [stderr] Compiling oxc_regular_expression v0.73.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling oxc_ast v0.73.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling oxc_ecmascript v0.73.2 [INFO] [stderr] Compiling oxc_parser v0.73.2 [INFO] [stderr] Compiling similarity-core v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.38s [INFO] running `Command { std: "docker" "inspect" "9840c25e061df81b20842f70507734fa29154a7eb54b1d60a3bb1b5d2121bf19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9840c25e061df81b20842f70507734fa29154a7eb54b1d60a3bb1b5d2121bf19", kill_on_drop: false }` [INFO] [stdout] 9840c25e061df81b20842f70507734fa29154a7eb54b1d60a3bb1b5d2121bf19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8769e128462aa16de6465439142479abab62a538c6498928d42aea0357f4b02 [INFO] running `Command { std: "docker" "start" "-a" "f8769e128462aa16de6465439142479abab62a538c6498928d42aea0357f4b02", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling similarity-core v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.44s [INFO] running `Command { std: "docker" "inspect" "f8769e128462aa16de6465439142479abab62a538c6498928d42aea0357f4b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8769e128462aa16de6465439142479abab62a538c6498928d42aea0357f4b02", kill_on_drop: false }` [INFO] [stdout] f8769e128462aa16de6465439142479abab62a538c6498928d42aea0357f4b02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 71c2f8c602c635be86452643e603a13dda6cb9c33aa8d998742ca8e9e9e1b2c5 [INFO] running `Command { std: "docker" "start" "-a" "71c2f8c602c635be86452643e603a13dda6cb9c33aa8d998742ca8e9e9e1b2c5", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/similarity_core-34c926d2a7d16e4d) [INFO] [stdout] [INFO] [stdout] running 42 tests [INFO] [stdout] test ast_exchange::tests::test_tree_node_serialization ... ok [INFO] [stdout] test ast_fingerprint::tests::test_bloom_filter_overlap ... ok [INFO] [stdout] test ast_fingerprint::tests::test_ast_fingerprint_similarity ... ok [INFO] [stdout] test enhanced_similarity::tests::test_size_similarity ... ok [INFO] [stdout] test ast_fingerprint::tests::test_node_counting ... ok [INFO] [stdout] test ast_fingerprint::tests::test_complex_function_fingerprint ... ok [INFO] [stdout] test ast_fingerprint::tests::test_different_algorithms ... ok [INFO] [stdout] test fast_similarity::tests::test_identical_functions_always_pass_fingerprint ... ok [INFO] [stdout] test function_extractor::tests::test_extract_functions ... ok [INFO] [stdout] test fast_similarity::tests::test_fast_similarity ... ok [INFO] [stdout] test language_parser::tests::test_language_detection ... ok [INFO] [stdout] test overlap_detector::tests::test_extract_code_segment ... ok [INFO] [stdout] test type_comparator::tests::test_compare_different_types ... ok [INFO] [stdout] test function_extractor::tests::test_find_similar_functions_in_file ... ok [INFO] [stdout] test language_parser::tests::test_case_insensitive_extension ... ok [INFO] [stdout] test generic_parser_config::tests::test_config_serialization ... ok [INFO] [stdout] test tsed::tests::test_renamed_function ... ok [INFO] [stdout] test function_extractor::tests::test_find_similar_functions_across_files ... ok [INFO] [stdout] test tsed::tests::test_identical_code ... ok [INFO] [stdout] test type_comparator::tests::test_compare_identical_types ... ok [INFO] [stdout] test subtree_fingerprint::tests::test_indexed_function ... ok [INFO] [stdout] test type_comparator::tests::test_find_similar_types ... ok [INFO] [stdout] test type_extractor::tests::test_extract_interface ... ok [INFO] [stdout] test generic_parser_config::tests::test_config_examples ... ok [INFO] [stdout] test generic_tree_sitter_parser::tests::test_generic_parser_with_go ... ok [INFO] [stdout] test subtree_fingerprint::tests::test_subtree_fingerprint_similarity ... ok [INFO] [stdout] test type_extractor::tests::test_extract_generic_interface ... ok [INFO] [stdout] test overlap_detector::tests::test_find_function_overlaps ... ok [INFO] [stdout] test generic_tree_sitter_parser::tests::test_generic_parser_with_java ... ok [INFO] [stdout] test type_extractor::tests::test_extract_type_alias ... ok [INFO] [stdout] test type_normalizer::tests::test_calculate_property_similarity ... ok [INFO] [stdout] test type_normalizer::tests::test_calculate_type_similarity ... ok [INFO] [stdout] test type_normalizer::tests::test_levenshtein_distance ... ok [INFO] [stdout] test type_normalizer::tests::test_normalize_type ... ok [INFO] [stdout] test type_fingerprint::tests::test_generate_fingerprint ... ok [INFO] [stdout] test type_extractor::tests::test_extract_interface_with_extends ... ok [INFO] [stdout] test type_normalizer::tests::test_union_type_similarity ... ok [INFO] [stdout] test tsed::tests::test_different_structure ... ok [INFO] [stdout] test type_fingerprint::tests::test_fingerprint_similarity ... ok [INFO] [stdout] test type_normalizer::tests::test_normalize_type_name ... ok [INFO] [stdout] test type_comparator::tests::test_compare_similar_types ... ok [INFO] [stdout] test function_extractor::tests::test_node_count_calculation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/ast_fingerprint_test.rs (/opt/rustwide/target/debug/deps/ast_fingerprint_test-2e9ff7b08d53bc62) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_ast_fingerprint_usage ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/debug_similarity.rs (/opt/rustwide/target/debug/deps/debug_similarity-d8f2bfbb0bf9e4d2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test debug_high_similarity_issue ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/false_positive_tests.rs (/opt/rustwide/target/debug/deps/false_positive_tests-9a4302215fe27048) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_generic_traversal_patterns_should_not_match_everything ... ok [INFO] [stdout] test test_different_functions_should_not_have_high_similarity ... ok [INFO] [stdout] test test_different_purpose_functions_should_have_low_similarity ... ok [INFO] [stdout] test test_similar_structure_different_purpose ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/function_similarity_test.rs (/opt/rustwide/target/debug/deps/function_similarity_test-6a0e3fccd7d800e8) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test test_method_vs_function_detection ... ok [INFO] [stdout] test test_dissimilar_functions_within_file ... ok [INFO] [stdout] test test_similar_functions_across_files ... ok [INFO] [stdout] test test_min_lines_filtering ... ok [INFO] [stdout] test test_threshold_filtering ... ok [INFO] [stdout] test test_similar_functions_within_file ... ok [INFO] [stdout] test test_size_penalty ... ok [INFO] [stdout] test test_function_vs_arrow_function_similarity ... ok [INFO] [stdout] test test_fixtures_files ... ok [INFO] [stderr] Running tests/overlap_detection_test.rs (/opt/rustwide/target/debug/deps/overlap_detection_test-9faab672c903167a) [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_cross_file_overlaps ... ignored [INFO] [stdout] test test_error_handling_patterns ... ignored [INFO] [stdout] test test_nested_loop_duplication ... ignored [INFO] [stdout] test test_partial_overlap_in_complex_function ... ignored [INFO] [stdout] test test_similar_loop_patterns ... ok [INFO] [stdout] test test_no_false_positives_for_different_logic ... ok [INFO] [stdout] test test_exact_duplicate_blocks ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 4 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/parent_child_test.rs (/opt/rustwide/target/debug/deps/parent_child_test-df683fdbccdf5159) [INFO] [stdout] [INFO] [stderr] Doc-tests similarity_core [INFO] [stdout] running 3 tests [INFO] [stdout] test test_nested_arrow_functions ... ok [INFO] [stdout] test test_parent_child_exclusion ... ok [INFO] [stdout] test test_arrow_to_arrow_comparison ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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] running `Command { std: "docker" "inspect" "71c2f8c602c635be86452643e603a13dda6cb9c33aa8d998742ca8e9e9e1b2c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71c2f8c602c635be86452643e603a13dda6cb9c33aa8d998742ca8e9e9e1b2c5", kill_on_drop: false }` [INFO] [stdout] 71c2f8c602c635be86452643e603a13dda6cb9c33aa8d998742ca8e9e9e1b2c5