[INFO] fetching crate similarity-py 0.4.1... [INFO] testing similarity-py-0.4.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate similarity-py 0.4.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate similarity-py 0.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate similarity-py 0.4.1 [INFO] tweaked toml for crates.io crate similarity-py 0.4.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate similarity-py 0.4.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate similarity-py 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0429c2381aa41146c18c112f849d3a1ab85c6c8e33bf6163492f172c9808355a [INFO] running `Command { std: "docker" "start" "-a" "0429c2381aa41146c18c112f849d3a1ab85c6c8e33bf6163492f172c9808355a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0429c2381aa41146c18c112f849d3a1ab85c6c8e33bf6163492f172c9808355a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0429c2381aa41146c18c112f849d3a1ab85c6c8e33bf6163492f172c9808355a", kill_on_drop: false }` [INFO] [stdout] 0429c2381aa41146c18c112f849d3a1ab85c6c8e33bf6163492f172c9808355a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1d3c564a32bd90f062ff6b82637dfd1b83670d1e3a8b858242703ee26e8caf4 [INFO] running `Command { std: "docker" "start" "-a" "a1d3c564a32bd90f062ff6b82637dfd1b83670d1e3a8b858242703ee26e8caf4", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling oxc_estree v0.73.2 [INFO] [stderr] Compiling cow-utils v0.1.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling oxc_index v3.0.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling oxc_data_structures v0.73.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling tree-sitter-ruby v0.23.1 [INFO] [stderr] Compiling tree-sitter-c v0.23.4 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [INFO] [stderr] Compiling oxc_allocator v0.73.2 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.23.1 [INFO] [stderr] Compiling tree-sitter-python v0.23.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 clap_derive v4.5.40 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling oxc-miette v2.3.0 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling clap v4.5.40 [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 oxc_ast v0.73.2 [INFO] [stderr] Compiling serde v1.0.219 [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 [INFO] [stderr] Compiling similarity-py v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.24s [INFO] running `Command { std: "docker" "inspect" "a1d3c564a32bd90f062ff6b82637dfd1b83670d1e3a8b858242703ee26e8caf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1d3c564a32bd90f062ff6b82637dfd1b83670d1e3a8b858242703ee26e8caf4", kill_on_drop: false }` [INFO] [stdout] a1d3c564a32bd90f062ff6b82637dfd1b83670d1e3a8b858242703ee26e8caf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43b2adaf9a688d9d17bc4a5733e5b7c6428c2d673f55e7bdbee8eb4da93b590b [INFO] running `Command { std: "docker" "start" "-a" "43b2adaf9a688d9d17bc4a5733e5b7c6428c2d673f55e7bdbee8eb4da93b590b", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling oxc_syntax v0.73.2 [INFO] [stderr] Compiling oxc_regular_expression v0.73.2 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling oxc_ast v0.73.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling oxc_ecmascript v0.73.2 [INFO] [stderr] Compiling oxc_parser v0.73.2 [INFO] [stderr] Compiling similarity-core v0.4.1 [INFO] [stderr] Compiling similarity-py v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.37s [INFO] running `Command { std: "docker" "inspect" "43b2adaf9a688d9d17bc4a5733e5b7c6428c2d673f55e7bdbee8eb4da93b590b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b2adaf9a688d9d17bc4a5733e5b7c6428c2d673f55e7bdbee8eb4da93b590b", kill_on_drop: false }` [INFO] [stdout] 43b2adaf9a688d9d17bc4a5733e5b7c6428c2d673f55e7bdbee8eb4da93b590b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de05b9b46140285fbb095ad6319fc932188b4aea5b28dc6f42d939065baabe53 [INFO] running `Command { std: "docker" "start" "-a" "de05b9b46140285fbb095ad6319fc932188b4aea5b28dc6f42d939065baabe53", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/similarity_py-7f85c62045df2bd4) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test python_parser::tests::test_python_classes ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/similarity_py-6e5803564d60cca1) [INFO] [stdout] test python_parser::tests::test_python_functions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test python_parser::tests::test_python_classes ... ok [INFO] [stdout] test python_parser::tests::test_python_functions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-8adfdc86401ca74a) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_python_duplicate_detection ... ok [INFO] [stdout] test test_min_lines_filtering ... ok [INFO] [stderr] Running tests/similarity_detection_test.rs (/opt/rustwide/target/debug/deps/similarity_detection_test-8602b84e547555bf) [INFO] [stdout] test test_no_duplicates ... ok [INFO] [stdout] test test_threshold_filtering ... ok [INFO] [stdout] test test_python_class_methods ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_python_decorator_functions ... ok [INFO] [stdout] test test_python_async_function_similarity ... ok [INFO] [stdout] test test_different_python_functions_should_have_low_similarity ... ok [INFO] [stdout] test test_python_empty_functions_should_not_be_identical ... ok [INFO] [stdout] test test_python_list_comprehension_vs_loop ... ok [INFO] [stdout] test test_python_generator_vs_regular_function ... ok [INFO] [stdout] test test_similar_python_functions_should_be_detected ... ok [INFO] [stdout] test test_python_class_methods_similarity ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests similarity_py [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" "de05b9b46140285fbb095ad6319fc932188b4aea5b28dc6f42d939065baabe53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de05b9b46140285fbb095ad6319fc932188b4aea5b28dc6f42d939065baabe53", kill_on_drop: false }` [INFO] [stdout] de05b9b46140285fbb095ad6319fc932188b4aea5b28dc6f42d939065baabe53