[INFO] fetching crate similarity-generic 0.4.1... [INFO] testing similarity-generic-0.4.1 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] extracting crate similarity-generic 0.4.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate similarity-generic 0.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate similarity-generic 0.4.1 [INFO] tweaked toml for crates.io crate similarity-generic 0.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate similarity-generic 0.4.1 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate similarity-generic 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 411350e0ad09acadbc1928e9f894125a5316c4e7d32d37dad584e3c21ef4c37e [INFO] running `Command { std: "docker" "start" "-a" "411350e0ad09acadbc1928e9f894125a5316c4e7d32d37dad584e3c21ef4c37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "411350e0ad09acadbc1928e9f894125a5316c4e7d32d37dad584e3c21ef4c37e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "411350e0ad09acadbc1928e9f894125a5316c4e7d32d37dad584e3c21ef4c37e", kill_on_drop: false }` [INFO] [stdout] 411350e0ad09acadbc1928e9f894125a5316c4e7d32d37dad584e3c21ef4c37e [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82d0eff854493551184faea7729d40fb21ea60f9eae8e29945478ee3a6dbf96b [INFO] running `Command { std: "docker" "start" "-a" "82d0eff854493551184faea7729d40fb21ea60f9eae8e29945478ee3a6dbf96b", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling cow-utils v0.1.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling oxc_estree v0.73.2 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling oxc_index v3.0.0 [INFO] [stderr] Compiling nonmax v0.5.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling log v0.4.27 [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 is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling oxc_allocator v0.73.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling tree-sitter v0.24.7 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling tree-sitter-c v0.23.4 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [INFO] [stderr] Compiling tree-sitter-ruby v0.23.1 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.23.1 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling similarity-generic v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling oxc-miette-derive v2.3.0 [INFO] [stderr] Compiling oxc_ast_macros v0.73.2 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling oxc-miette v2.3.0 [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 clap v4.5.40 [INFO] [stderr] Compiling oxc_ast v0.73.2 [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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 23s [INFO] running `Command { std: "docker" "inspect" "82d0eff854493551184faea7729d40fb21ea60f9eae8e29945478ee3a6dbf96b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82d0eff854493551184faea7729d40fb21ea60f9eae8e29945478ee3a6dbf96b", kill_on_drop: false }` [INFO] [stdout] 82d0eff854493551184faea7729d40fb21ea60f9eae8e29945478ee3a6dbf96b [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 903794a5c77e055d6fe07ed95a719ba114c34fc37b0c4f4032dd2af86a3fc215 [INFO] running `Command { std: "docker" "start" "-a" "903794a5c77e055d6fe07ed95a719ba114c34fc37b0c4f4032dd2af86a3fc215", 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 predicates-core v1.0.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [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 fastrand v2.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [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 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-generic v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "903794a5c77e055d6fe07ed95a719ba114c34fc37b0c4f4032dd2af86a3fc215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "903794a5c77e055d6fe07ed95a719ba114c34fc37b0c4f4032dd2af86a3fc215", kill_on_drop: false }` [INFO] [stdout] 903794a5c77e055d6fe07ed95a719ba114c34fc37b0c4f4032dd2af86a3fc215 [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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eefc50f8724116c676e8e8350504b202955adea93ea66db62499fcbe8f31b163 [INFO] running `Command { std: "docker" "start" "-a" "eefc50f8724116c676e8e8350504b202955adea93ea66db62499fcbe8f31b163", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/similarity_generic-0fdb1b1bd58df763) [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/c_detection_test.rs (/opt/rustwide/target/debug/deps/c_detection_test-39201aed904be8a0) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_c_function_detection ... ok [INFO] [stdout] test test_c_edge_cases ... ok [INFO] [stdout] test test_c_type_detection ... ok [INFO] [stdout] [INFO] [stderr] Running tests/cpp_detection_test.rs (/opt/rustwide/target/debug/deps/cpp_detection_test-961feab89b991038) [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_cpp_type_detection ... ok [INFO] [stdout] test test_cpp_edge_cases ... ok [INFO] [stdout] test test_cpp_function_detection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/csharp_detection_test.rs (/opt/rustwide/target/debug/deps/csharp_detection_test-16cf4e81a2c47196) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] Running tests/go_detection_test.rs (/opt/rustwide/target/debug/deps/go_detection_test-2bca84a1861e7c87) [INFO] [stdout] test test_csharp_type_detection ... ok [INFO] [stdout] test test_csharp_edge_cases ... ok [INFO] [stdout] test test_csharp_function_detection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_go_edge_cases ... ok [INFO] [stderr] Running tests/java_detection_test.rs (/opt/rustwide/target/debug/deps/java_detection_test-d29dc2de4c386a1e) [INFO] [stdout] test test_go_type_detection ... ok [INFO] [stdout] test test_go_function_detection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_java_edge_cases ... ok [INFO] [stdout] test test_java_type_detection ... ok [INFO] [stdout] test test_java_function_detection ... 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] [stderr] Running tests/multi_language_test.rs (/opt/rustwide/target/debug/deps/multi_language_test-a7958b5c181a089b) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test test_show_config_option ... ok [INFO] [stdout] test test_c_similarity ... ok [INFO] [stdout] test test_cpp_similarity ... ok [INFO] [stdout] test test_supported_option ... ok [INFO] [stdout] test test_java_similarity ... ok [INFO] [stdout] test test_show_functions_option ... ok [INFO] [stdout] test test_threshold_filtering ... ok [INFO] [stdout] test test_custom_config_file ... ok [INFO] [stdout] test test_csharp_similarity ... ok [INFO] [stdout] test test_go_similarity ... ok [INFO] [stdout] test test_language_aliases ... ok [INFO] [stdout] test test_ruby_similarity ... ok [INFO] [stdout] test test_unsupported_language_error ... ok [INFO] [stdout] test test_python_language_redirect ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] Running tests/ruby_detection_test.rs (/opt/rustwide/target/debug/deps/ruby_detection_test-ae654391c295cd90) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_ruby_edge_cases ... ok [INFO] [stdout] test test_ruby_type_detection ... ok [INFO] [stdout] test test_ruby_function_detection ... 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] running `Command { std: "docker" "inspect" "eefc50f8724116c676e8e8350504b202955adea93ea66db62499fcbe8f31b163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eefc50f8724116c676e8e8350504b202955adea93ea66db62499fcbe8f31b163", kill_on_drop: false }` [INFO] [stdout] eefc50f8724116c676e8e8350504b202955adea93ea66db62499fcbe8f31b163