[INFO] cloning repository https://github.com/Nachtalb/autocrop-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nachtalb/autocrop-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNachtalb%2Fautocrop-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNachtalb%2Fautocrop-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1c124c2466536cf778285838bb29e95b5c2c4c71 [INFO] checking Nachtalb/autocrop-rs against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNachtalb%2Fautocrop-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Nachtalb/autocrop-rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Nachtalb/autocrop-rs [INFO] tweaked toml for git repo https://github.com/Nachtalb/autocrop-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Nachtalb/autocrop-rs 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/Nachtalb/autocrop-rs 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] db0943a2c16e484be82bb6db75f76869e487ec911bcfa0376097f7ac7b6583a1 [INFO] running `Command { std: "docker" "start" "db0943a2c16e484be82bb6db75f76869e487ec911bcfa0376097f7ac7b6583a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db0943a2c16e484be82bb6db75f76869e487ec911bcfa0376097f7ac7b6583a1", 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" "db0943a2c16e484be82bb6db75f76869e487ec911bcfa0376097f7ac7b6583a1" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db0943a2c16e484be82bb6db75f76869e487ec911bcfa0376097f7ac7b6583a1", 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" "db0943a2c16e484be82bb6db75f76869e487ec911bcfa0376097f7ac7b6583a1" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling crc32fast v1.5.1 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Checking pxfm v0.1.30 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bitflags v2.13.1 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Checking weezl v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking zune-core v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking bytemuck v1.25.2 [INFO] [stderr] Checking lexopt v0.3.2 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Checking image-webp v0.2.4 [INFO] [stderr] Checking gif v0.14.2 [INFO] [stderr] Checking flate2 v1.1.10 [INFO] [stderr] Checking zune-jpeg v0.5.15 [INFO] [stderr] Compiling pyo3-build-config v0.29.2 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling pyo3-ffi v0.29.2 [INFO] [stderr] Compiling pyo3 v0.29.2 [INFO] [stderr] Compiling syn v3.0.5 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling pyo3-macros-backend v0.29.2 [INFO] [stderr] Checking image v0.25.9 [INFO] [stderr] Checking autocrop v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pyo3-macros v0.29.2 [INFO] [stderr] Checking autocrop-py v0.1.1 (/opt/rustwide/workdir/python) [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> python/src/lib.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 105 | fn to_dict<'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] = 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] --> python/src/lib.rs:111:62 [INFO] [stdout] | [INFO] [stdout] 111 | fn replace(&self, kwargs: Option<&Bound<'_, PyDict>>) -> 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] --> python/src/lib.rs:185:77 [INFO] [stdout] | [INFO] [stdout] 185 | fn detect_file(py: Python<'_>, path: PathBuf, params: Option<&PyParams>) -> 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] --> python/src/lib.rs:196:76 [INFO] [stdout] | [INFO] [stdout] 196 | fn detect_bytes(py: Python<'_>, data: &[u8], params: Option<&PyParams>) -> 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] --> python/src/lib.rs:211:6 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> 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] --> python/src/lib.rs:239:6 [INFO] [stdout] | [INFO] [stdout] 239 | ) -> 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] --> python/src/lib.rs:282:6 [INFO] [stdout] | [INFO] [stdout] 282 | ) -> PyResult<(PyCropResult, Option>)> { [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] --> python/src/lib.rs:309:6 [INFO] [stdout] | [INFO] [stdout] 309 | ) -> 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] --> python/src/lib.rs:330:55 [INFO] [stdout] | [INFO] [stdout] 330 | fn main(py: Python<'_>, argv: Option>) -> 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 `autocrop-py` (lib) due to 9 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] --> python/src/lib.rs:105:48 [INFO] [stdout] | [INFO] [stdout] 105 | fn to_dict<'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] = 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] --> python/src/lib.rs:111:62 [INFO] [stdout] | [INFO] [stdout] 111 | fn replace(&self, kwargs: Option<&Bound<'_, PyDict>>) -> 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] --> python/src/lib.rs:185:77 [INFO] [stdout] | [INFO] [stdout] 185 | fn detect_file(py: Python<'_>, path: PathBuf, params: Option<&PyParams>) -> 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] --> python/src/lib.rs:196:76 [INFO] [stdout] | [INFO] [stdout] 196 | fn detect_bytes(py: Python<'_>, data: &[u8], params: Option<&PyParams>) -> 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] --> python/src/lib.rs:211:6 [INFO] [stdout] | [INFO] [stdout] 211 | ) -> 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] --> python/src/lib.rs:239:6 [INFO] [stdout] | [INFO] [stdout] 239 | ) -> 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] --> python/src/lib.rs:282:6 [INFO] [stdout] | [INFO] [stdout] 282 | ) -> PyResult<(PyCropResult, Option>)> { [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] --> python/src/lib.rs:309:6 [INFO] [stdout] | [INFO] [stdout] 309 | ) -> 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] --> python/src/lib.rs:330:55 [INFO] [stdout] | [INFO] [stdout] 330 | fn main(py: Python<'_>, argv: Option>) -> 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 `autocrop-py` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "db0943a2c16e484be82bb6db75f76869e487ec911bcfa0376097f7ac7b6583a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db0943a2c16e484be82bb6db75f76869e487ec911bcfa0376097f7ac7b6583a1", kill_on_drop: false }` [INFO] [stdout] db0943a2c16e484be82bb6db75f76869e487ec911bcfa0376097f7ac7b6583a1