[INFO] cloning repository https://github.com/SarthiAI/Drishti [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SarthiAI/Drishti" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarthiAI%2FDrishti", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarthiAI%2FDrishti'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb7e54a1b0a60e9ba45dc7acdfdf0c9087236056 [INFO] checking SarthiAI/Drishti against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarthiAI%2FDrishti" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SarthiAI/Drishti [INFO] finished tweaking git repo https://github.com/SarthiAI/Drishti [INFO] tweaked toml for git repo https://github.com/SarthiAI/Drishti written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SarthiAI/Drishti on toolchain 52995a223f2919dd3e2e427231db90a257350ded [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SarthiAI/Drishti 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" "+52995a223f2919dd3e2e427231db90a257350ded" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused workspace dependency `drishti-client` [INFO] [stderr] --> Cargo.toml:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | [workspace.dependencies.drishti-client] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the workspace dependency `drishti-client` [INFO] [stderr] warning: unused workspace dependency `toml` [INFO] [stderr] --> Cargo.toml:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | toml = "0.8" [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the workspace dependency `toml` [INFO] [stderr] warning: workspace (manifest) generated 2 warnings [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 92219b814892490dfb2af48e0a16426555fcedf1f8b79962ba2893fbf32db904 [INFO] running `Command { std: "docker" "start" "92219b814892490dfb2af48e0a16426555fcedf1f8b79962ba2893fbf32db904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92219b814892490dfb2af48e0a16426555fcedf1f8b79962ba2893fbf32db904", 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" "92219b814892490dfb2af48e0a16426555fcedf1f8b79962ba2893fbf32db904" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92219b814892490dfb2af48e0a16426555fcedf1f8b79962ba2893fbf32db904", 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" "92219b814892490dfb2af48e0a16426555fcedf1f8b79962ba2893fbf32db904" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: unused workspace dependency `drishti-client` [INFO] [stderr] --> Cargo.toml:31:25 [INFO] [stderr] | [INFO] [stderr] 31 | [workspace.dependencies.drishti-client] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the workspace dependency `drishti-client` [INFO] [stderr] warning: unused workspace dependency `toml` [INFO] [stderr] --> Cargo.toml:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | toml = "0.8" [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the workspace dependency `toml` [INFO] [stderr] warning: workspace (manifest) generated 2 warnings [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking http v1.4.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling zerocopy v0.8.50 [INFO] [stderr] Compiling aws-lc-rs v1.17.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Compiling aws-lc-sys v0.42.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling onig_sys v69.9.3 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling ort-sys v2.0.0-rc.12 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking h2 v0.4.15 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling monostate-impl v0.1.18 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking macro_rules_attribute v0.2.2 [INFO] [stderr] Checking compact_str v0.9.1 [INFO] [stderr] Checking monostate v0.1.18 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking ndarray v0.17.2 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking rand v0.9.4 [INFO] [stderr] Checking onig v6.5.3 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking rayon-cond v0.4.0 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking dary_heap v0.3.9 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking daachorse v1.0.1 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling pyo3-build-config v0.28.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokenizers v0.23.1 [INFO] [stderr] Checking sarthiai-drishti-regex v0.1.2 (/opt/rustwide/workdir/crates/drishti-regex) [INFO] [stderr] Checking webpki-roots v1.0.7 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking hyper v1.10.1 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling fs-err v3.3.1 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking arc-swap v1.9.2 [INFO] [stderr] Compiling pyo3-ffi v0.28.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.28.3 [INFO] [stderr] Compiling pyo3 v0.28.3 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking ort v2.0.0-rc.12 [INFO] [stderr] Checking sarthiai-drishti-core v0.1.2 (/opt/rustwide/workdir/crates/drishti-core) [INFO] [stderr] Compiling pyo3-macros v0.28.3 [INFO] [stderr] Checking pythonize v0.28.0 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking axum-server v0.7.3 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking sarthiai-drishti-models v0.1.2 (/opt/rustwide/workdir/crates/drishti-models) [INFO] [stderr] Checking sarthiai-drishti-client v0.1.2 (/opt/rustwide/workdir/crates/drishti-client) [INFO] [stderr] Checking drishti-server v0.1.2 (/opt/rustwide/workdir/crates/drishti-server) [INFO] [stderr] Checking drishti-cli v0.1.2 (/opt/rustwide/workdir/crates/drishti-cli) [INFO] [stderr] Checking drishti-ffi-python v0.1.2 (/opt/rustwide/workdir/crates/drishti-ffi-python) [INFO] [stderr] Checking drishti-eval v0.1.2 (/opt/rustwide/workdir/eval) [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | fn from_config_file(path: String) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | fn from_config_str(toml_text: String) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:46:67 [INFO] [stdout] | [INFO] [stdout] 46 | fn check_prompt<'py>(&self, py: Python<'py>, text: String) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_pii<'py>(&self, py: Python<'py>, text: String) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | fn check_output<'py>(&self, py: Python<'py>, text: String) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:91:49 [INFO] [stdout] | [INFO] [stdout] 91 | fn manifest<'py>(&self, py: Python<'py>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stderr] error: could not compile `drishti-ffi-python` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:33:42 [INFO] [stdout] | [INFO] [stdout] 33 | fn from_config_file(path: String) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | fn from_config_str(toml_text: String) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:46:67 [INFO] [stdout] | [INFO] [stdout] 46 | fn check_prompt<'py>(&self, py: Python<'py>, text: String) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_pii<'py>(&self, py: Python<'py>, text: String) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:64:67 [INFO] [stdout] | [INFO] [stdout] 64 | fn check_output<'py>(&self, py: Python<'py>, text: String) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/drishti-ffi-python/src/lib.rs:91:49 [INFO] [stdout] | [INFO] [stdout] 91 | fn manifest<'py>(&self, py: Python<'py>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into 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] [INFO] [stdout] [INFO] [stderr] error: could not compile `drishti-ffi-python` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "92219b814892490dfb2af48e0a16426555fcedf1f8b79962ba2893fbf32db904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92219b814892490dfb2af48e0a16426555fcedf1f8b79962ba2893fbf32db904", kill_on_drop: false }` [INFO] [stdout] 92219b814892490dfb2af48e0a16426555fcedf1f8b79962ba2893fbf32db904