[INFO] cloning repository https://github.com/Dann38/pager_pdf_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dann38/pager_pdf_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDann38%2Fpager_pdf_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDann38%2Fpager_pdf_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a7f6a86bbd8bcb9f582766769e9c949f17a53c9 [INFO] checking Dann38/pager_pdf_parser against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDann38%2Fpager_pdf_parser" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Dann38/pager_pdf_parser [INFO] finished tweaking git repo https://github.com/Dann38/pager_pdf_parser [INFO] tweaked toml for git repo https://github.com/Dann38/pager_pdf_parser written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Dann38/pager_pdf_parser 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/Dann38/pager_pdf_parser 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 field `repository` in `workspace.package` [INFO] [stderr] --> Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | repository = "https://github.com/pager/pager_pdf_parser" [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_package_fields` is set to `warn` by default [INFO] [stderr] help: consider removing the field `workspace.package.repository` [INFO] [stderr] warning: workspace (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 884e504215886c69968857f7e6bc270474ed7211aae62fb4afc077944a6ca4e3 [INFO] running `Command { std: "docker" "start" "884e504215886c69968857f7e6bc270474ed7211aae62fb4afc077944a6ca4e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "884e504215886c69968857f7e6bc270474ed7211aae62fb4afc077944a6ca4e3", 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" "884e504215886c69968857f7e6bc270474ed7211aae62fb4afc077944a6ca4e3" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "884e504215886c69968857f7e6bc270474ed7211aae62fb4afc077944a6ca4e3", 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" "884e504215886c69968857f7e6bc270474ed7211aae62fb4afc077944a6ca4e3" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: unused field `repository` in `workspace.package` [INFO] [stderr] --> Cargo.toml:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | repository = "https://github.com/pager/pager_pdf_parser" [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_package_fields` is set to `warn` by default [INFO] [stderr] help: consider removing the field `workspace.package.repository` [INFO] [stderr] warning: workspace (manifest) generated 1 warning [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking pxfm v0.1.30 [INFO] [stderr] Checking bytemuck v1.25.1 [INFO] [stderr] Checking simd-adler32 v0.3.10 [INFO] [stderr] Checking zlib-rs v0.6.6 [INFO] [stderr] Checking pdfluent-ccitt v0.2.2 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Checking rustc-hash v2.1.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking pdfluent-jbig2 v0.2.3 [INFO] [stderr] Checking zune-jpeg v0.5.15 [INFO] [stderr] Checking fearless_simd v0.3.0 [INFO] [stderr] Compiling pyo3-build-config v0.26.0 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling pyo3-macros-backend v0.26.0 [INFO] [stderr] Compiling pyo3-ffi v0.26.0 [INFO] [stderr] Compiling pyo3 v0.26.0 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking moxcms v0.7.11 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Compiling pyo3-macros v0.26.0 [INFO] [stderr] Checking pdfluent-jpeg2000 v0.3.5 [INFO] [stderr] Checking pdf-syntax v0.5.6 [INFO] [stderr] Checking pdf_core v0.1.0 (/opt/rustwide/workdir/pdf_core) [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> pdf_core/src/elements/extractor.rs:556:25 [INFO] [stdout] | [INFO] [stdout] 556 | Primitive::Dict(d) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pager_pdf_parser v0.1.0 (/opt/rustwide/workdir/python) [INFO] [stdout] warning: unused import: `Operation` [INFO] [stdout] --> python/src/content_stream.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | use pdf_core::elements::operations::{Operand, Operation}; [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 type alias `pyo3::PyObject`: use `Py` instead [INFO] [stdout] --> python/src/page.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | fn elements<'py>(&self, py: Python<'py>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyo3::PyObject`: use `Py` instead [INFO] [stdout] --> python/src/page.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let obj: PyObject = match elem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Operation` [INFO] [stdout] --> python/src/content_stream.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | use pdf_core::elements::operations::{Operand, Operation}; [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 type alias `pyo3::PyObject`: use `Py` instead [INFO] [stdout] --> python/src/page.rs:43:62 [INFO] [stdout] | [INFO] [stdout] 43 | fn elements<'py>(&self, py: Python<'py>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `pyo3::PyObject`: use `Py` instead [INFO] [stdout] --> python/src/page.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | let obj: PyObject = match elem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> pdf_core/src/elements/extractor.rs:556:25 [INFO] [stdout] | [INFO] [stdout] 556 | Primitive::Dict(d) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/document.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse(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: `PyErr` [INFO] [stdout] --> python/src/document.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | fn trailer<'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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/page.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | fn elements<'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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/page.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | fn text<'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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/page.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | fn paths<'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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/page.rs:103:47 [INFO] [stdout] | [INFO] [stdout] 103 | fn images<'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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/page.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | fn content_stream(&self) -> 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: `PyErr` [INFO] [stdout] --> python/src/lib.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | fn parse(filepath: &Bound<'_, PyAny>) -> 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 `pager_pdf_parser` (lib test) due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/document.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | fn parse(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: `PyErr` [INFO] [stdout] --> python/src/document.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | fn trailer<'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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/page.rs:43:49 [INFO] [stdout] | [INFO] [stdout] 43 | fn elements<'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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/page.rs:69:45 [INFO] [stdout] | [INFO] [stdout] 69 | fn text<'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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/page.rs:86:46 [INFO] [stdout] | [INFO] [stdout] 86 | fn paths<'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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/page.rs:103:47 [INFO] [stdout] | [INFO] [stdout] 103 | fn images<'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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> python/src/page.rs:134:33 [INFO] [stdout] | [INFO] [stdout] 134 | fn content_stream(&self) -> 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: `PyErr` [INFO] [stdout] --> python/src/lib.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | fn parse(filepath: &Bound<'_, PyAny>) -> 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 `pager_pdf_parser` (lib) due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "884e504215886c69968857f7e6bc270474ed7211aae62fb4afc077944a6ca4e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "884e504215886c69968857f7e6bc270474ed7211aae62fb4afc077944a6ca4e3", kill_on_drop: false }` [INFO] [stdout] 884e504215886c69968857f7e6bc270474ed7211aae62fb4afc077944a6ca4e3