[INFO] fetching crate similarity-py 0.4.1... [INFO] testing similarity-py-0.4.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate similarity-py 0.4.1 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate similarity-py 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-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1043d9385f02e84b0fef84aa588ff4cd66ebbbceef827aee29c01734e0fc8100 [INFO] running `Command { std: "docker" "start" "-a" "1043d9385f02e84b0fef84aa588ff4cd66ebbbceef827aee29c01734e0fc8100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1043d9385f02e84b0fef84aa588ff4cd66ebbbceef827aee29c01734e0fc8100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1043d9385f02e84b0fef84aa588ff4cd66ebbbceef827aee29c01734e0fc8100", kill_on_drop: false }` [INFO] [stdout] 1043d9385f02e84b0fef84aa588ff4cd66ebbbceef827aee29c01734e0fc8100 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3ae7e97a6d05acd289a50c90aea97c224adb7617b674c5c0070692bea43a249c [INFO] running `Command { std: "docker" "start" "-a" "3ae7e97a6d05acd289a50c90aea97c224adb7617b674c5c0070692bea43a249c", 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 smawk v0.3.2 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling oxc_estree v0.73.2 [INFO] [stderr] Compiling cow-utils v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling oxc_index v3.0.0 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling oxc_data_structures v0.73.2 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling oxc_allocator v0.73.2 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [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-ruby v0.23.1 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.23.1 [INFO] [stderr] Compiling tree-sitter v0.24.7 [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 regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling oxc-miette v2.3.0 [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 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 [INFO] [stderr] Compiling similarity-py v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.13s [INFO] running `Command { std: "docker" "inspect" "3ae7e97a6d05acd289a50c90aea97c224adb7617b674c5c0070692bea43a249c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ae7e97a6d05acd289a50c90aea97c224adb7617b674c5c0070692bea43a249c", kill_on_drop: false }` [INFO] [stdout] 3ae7e97a6d05acd289a50c90aea97c224adb7617b674c5c0070692bea43a249c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3788e1989d593636651d2b223d31b4044c7191d28860b535d3b1380b9da2836c [INFO] running `Command { std: "docker" "start" "-a" "3788e1989d593636651d2b223d31b4044c7191d28860b535d3b1380b9da2836c", kill_on_drop: false }` [INFO] [stderr] Compiling regex-automata v0.4.9 [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 assert_cmd v2.0.17 [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 oxc_regular_expression v0.73.2 [INFO] [stderr] Compiling oxc_syntax v0.73.2 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling oxc_ast v0.73.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.1 [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 22.36s [INFO] running `Command { std: "docker" "inspect" "3788e1989d593636651d2b223d31b4044c7191d28860b535d3b1380b9da2836c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3788e1989d593636651d2b223d31b4044c7191d28860b535d3b1380b9da2836c", kill_on_drop: false }` [INFO] [stdout] 3788e1989d593636651d2b223d31b4044c7191d28860b535d3b1380b9da2836c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1f0eed6656ecbb3663fe65e38e5462b07a6ca32919d7d5cc94a3449c93cdf647 [INFO] running `Command { std: "docker" "start" "-a" "1f0eed6656ecbb3663fe65e38e5462b07a6ca32919d7d5cc94a3449c93cdf647", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/similarity_py-7f85c62045df2bd4) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/similarity_py-6e5803564d60cca1) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test python_parser::tests::test_python_functions ... ok [INFO] [stdout] test python_parser::tests::test_python_classes ... 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.01s [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_min_lines_filtering ... ok [INFO] [stdout] test test_no_duplicates ... ok [INFO] [stdout] test test_python_class_methods ... ok [INFO] [stdout] test test_python_duplicate_detection ... ok [INFO] [stderr] Running tests/similarity_detection_test.rs (/opt/rustwide/target/debug/deps/similarity_detection_test-8602b84e547555bf) [INFO] [stdout] test test_threshold_filtering ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_python_empty_functions_should_not_be_identical ... ok [INFO] [stdout] test test_different_python_functions_should_have_low_similarity ... ok [INFO] [stdout] test test_python_decorator_functions ... 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] test test_python_async_function_similarity ... ok [INFO] [stderr] Doc-tests similarity_py [INFO] [stdout] test test_python_list_comprehension_vs_loop ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [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" "1f0eed6656ecbb3663fe65e38e5462b07a6ca32919d7d5cc94a3449c93cdf647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f0eed6656ecbb3663fe65e38e5462b07a6ca32919d7d5cc94a3449c93cdf647", kill_on_drop: false }` [INFO] [stdout] 1f0eed6656ecbb3663fe65e38e5462b07a6ca32919d7d5cc94a3449c93cdf647