[INFO] cloning repository https://github.com/harish-88279/secure-scan
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harish-88279/secure-scan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharish-88279%2Fsecure-scan", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharish-88279%2Fsecure-scan'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b80f2a248aafce819a46eb658795feb1b33098ec
[INFO] checking harish-88279/secure-scan against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharish-88279%2Fsecure-scan" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/harish-88279/secure-scan
[INFO] finished tweaking git repo https://github.com/harish-88279/secure-scan
[INFO] tweaked toml for git repo https://github.com/harish-88279/secure-scan written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/harish-88279/secure-scan on toolchain a5689b034ad287112f709693384a37f1377eb9cc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/harish-88279/secure-scan 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d3afc1bef90bc07bad446ae894a25b5420801d765c0da381e50e83d4ad7f8a14
[INFO] running `Command { std: "docker" "start" "d3afc1bef90bc07bad446ae894a25b5420801d765c0da381e50e83d4ad7f8a14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d3afc1bef90bc07bad446ae894a25b5420801d765c0da381e50e83d4ad7f8a14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d3afc1bef90bc07bad446ae894a25b5420801d765c0da381e50e83d4ad7f8a14" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d3afc1bef90bc07bad446ae894a25b5420801d765c0da381e50e83d4ad7f8a14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d3afc1bef90bc07bad446ae894a25b5420801d765c0da381e50e83d4ad7f8a14" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.106
[INFO] [stderr]    Compiling zerocopy v0.8.42
[INFO] [stderr]     Checking aho-corasick v1.1.4
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling pest v2.8.6
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking unsafe-libyaml v0.2.11
[INFO] [stderr]     Checking colored v2.2.0
[INFO] [stderr]    Compiling assert_cmd v2.2.0
[INFO] [stderr]     Checking rustix v1.1.4
[INFO] [stderr]     Checking getrandom v0.4.2
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking float-cmp v0.10.0
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling tree-sitter v0.22.6
[INFO] [stderr]    Compiling tree-sitter-javascript v0.21.4
[INFO] [stderr]    Compiling tree-sitter-python v0.21.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]    Compiling pest_meta v2.8.6
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]    Compiling pest_generator v2.8.6
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking bstr v1.12.1
[INFO] [stderr]     Checking fancy-regex v0.13.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking env_filter v1.0.0
[INFO] [stderr]     Checking predicates v3.1.4
[INFO] [stderr]     Checking globset v0.4.18
[INFO] [stderr]    Compiling pest_derive v2.8.6
[INFO] [stderr]     Checking env_logger v0.11.9
[INFO] [stderr]     Checking ignore v0.4.25
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking clap v4.6.0
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking securescan v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: useless conversion to the same type: `tree_sitter::Language`
[INFO] [stdout]   --> src/detectors/ast_queries.rs:21:40
[INFO] [stdout]    |
[INFO] [stdout] 21 |         if let Ok(query) = Query::new(&tree_sitter_javascript::language().into(), js_eval_query) {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 21 -         if let Ok(query) = Query::new(&tree_sitter_javascript::language().into(), js_eval_query) {
[INFO] [stdout] 21 +         if let Ok(query) = Query::new(&tree_sitter_javascript::language(), js_eval_query) {
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 21 -         if let Ok(query) = Query::new(&tree_sitter_javascript::language().into(), js_eval_query) {
[INFO] [stdout] 21 +         if let Ok(query) = Query::new(&<tree_sitter::Language as Into<_>>::into(tree_sitter_javascript::language()), js_eval_query) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `tree_sitter::Language`
[INFO] [stdout]   --> src/detectors/ast_queries.rs:27:40
[INFO] [stdout]    |
[INFO] [stdout] 27 |         if let Ok(query) = Query::new(&tree_sitter_python::language().into(), py_eval_query) {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 27 -         if let Ok(query) = Query::new(&tree_sitter_python::language().into(), py_eval_query) {
[INFO] [stdout] 27 +         if let Ok(query) = Query::new(&tree_sitter_python::language(), py_eval_query) {
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 27 -         if let Ok(query) = Query::new(&tree_sitter_python::language().into(), py_eval_query) {
[INFO] [stdout] 27 +         if let Ok(query) = Query::new(&<tree_sitter::Language as Into<_>>::into(tree_sitter_python::language()), py_eval_query) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `tree_sitter::Language`
[INFO] [stdout]   --> src/parser/javascript.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 29 |             .set_language(&tree_sitter_javascript::language().into())
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 29 -             .set_language(&tree_sitter_javascript::language().into())
[INFO] [stdout] 29 +             .set_language(&tree_sitter_javascript::language())
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 29 -             .set_language(&tree_sitter_javascript::language().into())
[INFO] [stdout] 29 +             .set_language(&<tree_sitter::Language as Into<_>>::into(tree_sitter_javascript::language()))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `tree_sitter::Language`
[INFO] [stdout]   --> src/parser/python.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |             .set_language(&tree_sitter_python::language().into())
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 27 -             .set_language(&tree_sitter_python::language().into())
[INFO] [stdout] 27 +             .set_language(&tree_sitter_python::language())
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 27 -             .set_language(&tree_sitter_python::language().into())
[INFO] [stdout] 27 +             .set_language(&<tree_sitter::Language as Into<_>>::into(tree_sitter_python::language()))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `securescan` (lib test) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: useless conversion to the same type: `tree_sitter::Language`
[INFO] [stdout]   --> src/detectors/ast_queries.rs:21:40
[INFO] [stdout]    |
[INFO] [stdout] 21 |         if let Ok(query) = Query::new(&tree_sitter_javascript::language().into(), js_eval_query) {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout]    = note: `#[deny(self_type_conversion)]` on by default
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 21 -         if let Ok(query) = Query::new(&tree_sitter_javascript::language().into(), js_eval_query) {
[INFO] [stdout] 21 +         if let Ok(query) = Query::new(&tree_sitter_javascript::language(), js_eval_query) {
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 21 -         if let Ok(query) = Query::new(&tree_sitter_javascript::language().into(), js_eval_query) {
[INFO] [stdout] 21 +         if let Ok(query) = Query::new(&<tree_sitter::Language as Into<_>>::into(tree_sitter_javascript::language()), js_eval_query) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `tree_sitter::Language`
[INFO] [stdout]   --> src/detectors/ast_queries.rs:27:40
[INFO] [stdout]    |
[INFO] [stdout] 27 |         if let Ok(query) = Query::new(&tree_sitter_python::language().into(), py_eval_query) {
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 27 -         if let Ok(query) = Query::new(&tree_sitter_python::language().into(), py_eval_query) {
[INFO] [stdout] 27 +         if let Ok(query) = Query::new(&tree_sitter_python::language(), py_eval_query) {
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 27 -         if let Ok(query) = Query::new(&tree_sitter_python::language().into(), py_eval_query) {
[INFO] [stdout] 27 +         if let Ok(query) = Query::new(&<tree_sitter::Language as Into<_>>::into(tree_sitter_python::language()), py_eval_query) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `tree_sitter::Language`
[INFO] [stdout]   --> src/parser/javascript.rs:29:28
[INFO] [stdout]    |
[INFO] [stdout] 29 |             .set_language(&tree_sitter_javascript::language().into())
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 29 -             .set_language(&tree_sitter_javascript::language().into())
[INFO] [stdout] 29 +             .set_language(&tree_sitter_javascript::language())
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 29 -             .set_language(&tree_sitter_javascript::language().into())
[INFO] [stdout] 29 +             .set_language(&<tree_sitter::Language as Into<_>>::into(tree_sitter_javascript::language()))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `tree_sitter::Language`
[INFO] [stdout]   --> src/parser/python.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |             .set_language(&tree_sitter_python::language().into())
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this method call relies on the `impl<T> Into<T> for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors
[INFO] [stdout] help: consider removing the conversion call
[INFO] [stdout]    |
[INFO] [stdout] 27 -             .set_language(&tree_sitter_python::language().into())
[INFO] [stdout] 27 +             .set_language(&tree_sitter_python::language())
[INFO] [stdout]    |
[INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint
[INFO] [stdout]    |
[INFO] [stdout] 27 -             .set_language(&tree_sitter_python::language().into())
[INFO] [stdout] 27 +             .set_language(&<tree_sitter::Language as Into<_>>::into(tree_sitter_python::language()))
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `securescan` (lib) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "d3afc1bef90bc07bad446ae894a25b5420801d765c0da381e50e83d4ad7f8a14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3afc1bef90bc07bad446ae894a25b5420801d765c0da381e50e83d4ad7f8a14", kill_on_drop: false }`
[INFO] [stdout] d3afc1bef90bc07bad446ae894a25b5420801d765c0da381e50e83d4ad7f8a14
