[INFO] fetching crate opengrep 1.1.0... [INFO] building opengrep-1.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate opengrep 1.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate opengrep 1.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate opengrep 1.1.0 [INFO] tweaked toml for crates.io crate opengrep 1.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate opengrep 1.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate opengrep 1.1.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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-2-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `og` [INFO] [stderr] * `bin` target `opengrep` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-loader v0.20.0 [INFO] [stderr] Downloaded tree-sitter-toml v0.20.0 [INFO] [stderr] Downloaded dirs v3.0.2 [INFO] [stderr] Downloaded anstyle-query v1.1.3 [INFO] [stderr] Downloaded backoff v0.4.0 [INFO] [stderr] Downloaded async-convert v1.0.0 [INFO] [stderr] Downloaded quinn-udp v0.5.12 [INFO] [stderr] Downloaded async-openai v0.25.0 [INFO] [stderr] Downloaded plist v1.7.1 [INFO] [stderr] Downloaded insta v1.43.1 [INFO] [stderr] Downloaded tree-sitter v0.20.10 [INFO] [stderr] Downloaded tree-sitter-go v0.20.0 [INFO] [stderr] Downloaded tree-sitter-python v0.20.4 [INFO] [stderr] Downloaded reqwest v0.12.19 [INFO] [stderr] Downloaded tree-sitter-javascript v0.20.4 [INFO] [stderr] Downloaded clap_builder v4.5.39 [INFO] [stderr] Downloaded proptest v1.7.0 [INFO] [stderr] Downloaded tree-sitter-c v0.20.8 [INFO] [stderr] Downloaded tree-sitter-rust v0.20.4 [INFO] [stderr] Downloaded quick-xml v0.31.0 [INFO] [stderr] Downloaded quick-xml v0.32.0 [INFO] [stderr] Downloaded tree-sitter-java v0.20.2 [INFO] [stderr] Downloaded fancy-regex v0.13.0 [INFO] [stderr] Downloaded clap_complete v4.5.52 [INFO] [stderr] Downloaded tree-sitter-bash v0.20.5 [INFO] [stderr] Downloaded tree-sitter-ruby v0.20.1 [INFO] [stderr] Downloaded clap v4.5.39 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded rstest_macros v0.23.0 [INFO] [stderr] Downloaded rstest v0.23.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.29 [INFO] [stderr] Downloaded tree-sitter-css v0.20.0 [INFO] [stderr] Downloaded anstyle-wincon v3.0.9 [INFO] [stderr] Downloaded anstream v0.6.19 [INFO] [stderr] Downloaded tree-sitter-json v0.20.2 [INFO] [stderr] Downloaded tree-sitter-highlight v0.20.1 [INFO] [stderr] Downloaded hermit-abi v0.5.1 [INFO] [stderr] Downloaded rand_xorshift v0.4.0 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded syntect v5.2.0 [INFO] [stderr] Downloaded tree-sitter-c-sharp v0.20.0 [INFO] [stderr] Downloaded tree-sitter-cpp v0.20.5 [INFO] [stderr] Downloaded tree-sitter-typescript v0.20.5 [INFO] [stderr] Downloaded ring v0.17.9 [INFO] [stderr] Downloaded tiktoken-rs v0.6.0 [INFO] [stderr] Downloaded tree-sitter-tags v0.20.2 [INFO] [stderr] Downloaded cc v1.0.106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c050cef78219fdc4d1ec9e00f7f7e3bc4ef2062ee9c36a3b1e5b30083f7e5e7a [INFO] running `Command { std: "docker" "start" "-a" "c050cef78219fdc4d1ec9e00f7f7e3bc4ef2062ee9c36a3b1e5b30083f7e5e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c050cef78219fdc4d1ec9e00f7f7e3bc4ef2062ee9c36a3b1e5b30083f7e5e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c050cef78219fdc4d1ec9e00f7f7e3bc4ef2062ee9c36a3b1e5b30083f7e5e7a", kill_on_drop: false }` [INFO] [stdout] c050cef78219fdc4d1ec9e00f7f7e3bc4ef2062ee9c36a3b1e5b30083f7e5e7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0a1a70392c0181c7ed1a91432a45da5fa707064fdfd513492ebe02974de4bcf [INFO] running `Command { std: "docker" "start" "-a" "e0a1a70392c0181c7ed1a91432a45da5fa707064fdfd513492ebe02974de4bcf", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `og` [INFO] [stderr] * `bin` target `opengrep` [INFO] [stderr] Compiling cc v1.0.106 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling clap_builder v4.5.39 [INFO] [stderr] Compiling tree-sitter-loader v0.20.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling tree-sitter-toml v0.20.0 [INFO] [stderr] Compiling tree-sitter-python v0.20.4 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.20.0 [INFO] [stderr] Compiling tree-sitter-json v0.20.2 [INFO] [stderr] Compiling tree-sitter-bash v0.20.5 [INFO] [stderr] Compiling tree-sitter-typescript v0.20.5 [INFO] [stderr] Compiling tree-sitter-ruby v0.20.1 [INFO] [stderr] Compiling tree-sitter-css v0.20.0 [INFO] [stderr] Compiling tree-sitter-cpp v0.20.5 [INFO] [stderr] Compiling tree-sitter-java v0.20.2 [INFO] [stderr] Compiling tree-sitter-c v0.20.8 [INFO] [stderr] Compiling tree-sitter-javascript v0.20.4 [INFO] [stderr] Compiling tree-sitter-go v0.20.0 [INFO] [stderr] Compiling tree-sitter-rust v0.20.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling tree-sitter-tags v0.20.2 [INFO] [stderr] Compiling tree-sitter-highlight v0.20.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling clap_complete v4.5.52 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling plist v1.7.1 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling opengrep v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `deduplicate_and_rank_results` is never used [INFO] [stdout] --> src/search/engine.rs:422:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl SearchEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 422 | fn deduplicate_and_rank_results(&self, results: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.85s [INFO] running `Command { std: "docker" "inspect" "e0a1a70392c0181c7ed1a91432a45da5fa707064fdfd513492ebe02974de4bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0a1a70392c0181c7ed1a91432a45da5fa707064fdfd513492ebe02974de4bcf", kill_on_drop: false }` [INFO] [stdout] e0a1a70392c0181c7ed1a91432a45da5fa707064fdfd513492ebe02974de4bcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8d62577874b79fa89fa65cd3a70f82194843d503ca89c4027a8fd6ea3086fd6 [INFO] running `Command { std: "docker" "start" "-a" "a8d62577874b79fa89fa65cd3a70f82194843d503ca89c4027a8fd6ea3086fd6", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `og` [INFO] [stderr] * `bin` target `opengrep` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling sdd v3.0.8 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling tree-sitter-highlight v0.20.1 [INFO] [stderr] Compiling tree-sitter-tags v0.20.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling clap v4.5.39 [INFO] [stderr] Compiling clap_complete v4.5.52 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling rstest v0.23.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling plist v1.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling insta v1.43.1 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tree-sitter-loader v0.20.0 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling opengrep v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `deduplicate_and_rank_results` is never used [INFO] [stdout] --> src/search/engine.rs:422:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl SearchEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 422 | fn deduplicate_and_rank_results(&self, results: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OutputFormat` [INFO] [stdout] --> tests/integration_test.rs:182:30 [INFO] [stdout] | [INFO] [stdout] 182 | use opengrep::cli::{Cli, OutputFormat}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `tempfile::TempDir::into_path`: use TempDir::keep() [INFO] [stdout] --> tests/search_tests.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | (dir.into_path(), vec![file1_path, file2_path, file3_path]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `line` on type `opengrep::Match` [INFO] [stdout] --> tests/search_tests.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(results[0].matches[0].line.contains("comment")); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `line_number`, `column_range`, `line_text`, `before_context`, `after_context` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `parent_name` on type `&AstContext` [INFO] [stdout] --> tests/search_tests.rs:77:68 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(rust_match.matches[0].ast_context.as_ref().unwrap().parent_name, "main"); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `nodes`, `visible_lines`, `headers`, `summary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `opengrep` (test "search_tests") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ast/context.rs:348:13 [INFO] [stdout] | [INFO] [stdout] 348 | let mut context = AstContext::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deduplicate_and_rank_results` is never used [INFO] [stdout] --> src/search/engine.rs:422:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl SearchEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 422 | fn deduplicate_and_rank_results(&self, results: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8d62577874b79fa89fa65cd3a70f82194843d503ca89c4027a8fd6ea3086fd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8d62577874b79fa89fa65cd3a70f82194843d503ca89c4027a8fd6ea3086fd6", kill_on_drop: false }` [INFO] [stdout] a8d62577874b79fa89fa65cd3a70f82194843d503ca89c4027a8fd6ea3086fd6