[INFO] cloning repository https://github.com/Samrhan/pytest-fastcollect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Samrhan/pytest-fastcollect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamrhan%2Fpytest-fastcollect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamrhan%2Fpytest-fastcollect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab2766ac5686d6e3017495ad66d34299dc84f2f6 [INFO] checking Samrhan/pytest-fastcollect against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamrhan%2Fpytest-fastcollect" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Samrhan/pytest-fastcollect [INFO] finished tweaking git repo https://github.com/Samrhan/pytest-fastcollect [INFO] tweaked toml for git repo https://github.com/Samrhan/pytest-fastcollect written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Samrhan/pytest-fastcollect 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/Samrhan/pytest-fastcollect 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3c23f08f9761e3e563abfb1bed4a6410a8326c4eeb4f86d322e86199c817fff4 [INFO] running `Command { std: "docker" "start" "3c23f08f9761e3e563abfb1bed4a6410a8326c4eeb4f86d322e86199c817fff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c23f08f9761e3e563abfb1bed4a6410a8326c4eeb4f86d322e86199c817fff4", 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" "3c23f08f9761e3e563abfb1bed4a6410a8326c4eeb4f86d322e86199c817fff4" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c23f08f9761e3e563abfb1bed4a6410a8326c4eeb4f86d322e86199c817fff4", 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" "3c23f08f9761e3e563abfb1bed4a6410a8326c4eeb4f86d322e86199c817fff4" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling malachite-nz v0.4.22 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling pyo3-build-config v0.27.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rustpython-parser-vendored v0.4.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking unic-emoji-char v0.9.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling pyo3-macros-backend v0.27.1 [INFO] [stderr] Compiling pyo3-ffi v0.27.1 [INFO] [stderr] Compiling pyo3 v0.27.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking malachite-base v0.4.22 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling unicode_names2_generator v1.3.0 [INFO] [stderr] Compiling rustpython-parser v0.4.0 [INFO] [stderr] Compiling unicode_names2 v1.3.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking rustpython-parser-core v0.4.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling pyo3-macros v0.27.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking malachite-q v0.4.22 [INFO] [stderr] Checking malachite v0.4.22 [INFO] [stderr] Checking malachite-bigint v0.2.3 [INFO] [stderr] Checking rustpython-ast v0.4.0 [INFO] [stderr] Checking pytest_fastcollect v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> src/lib.rs:233:53 [INFO] [stdout] | [INFO] [stdout] 233 | fn set_cache_path(&self, cache_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] --> src/lib.rs:241:38 [INFO] [stdout] | [INFO] [stdout] 241 | fn collect(&self, py: Python) -> 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] --> src/lib.rs:257:52 [INFO] [stdout] | [INFO] [stdout] 257 | fn collect_with_metadata(&self, py: Python) -> 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] --> src/lib.rs:300:62 [INFO] [stdout] | [INFO] [stdout] 300 | fn collect_file(&self, py: Python, 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> src/lib.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | fn collect_json(&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: `pyo3::PyErr` [INFO] [stdout] --> src/lib.rs:358:10 [INFO] [stdout] | [INFO] [stdout] 358 | ) -> 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] --> src/lib.rs:860:21 [INFO] [stdout] | [INFO] [stdout] 860 | fn get_version() -> 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 `pytest_fastcollect` (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] --> src/lib.rs:233:53 [INFO] [stdout] | [INFO] [stdout] 233 | fn set_cache_path(&self, cache_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] --> src/lib.rs:241:38 [INFO] [stdout] | [INFO] [stdout] 241 | fn collect(&self, py: Python) -> 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] --> src/lib.rs:257:52 [INFO] [stdout] | [INFO] [stdout] 257 | fn collect_with_metadata(&self, py: Python) -> 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] --> src/lib.rs:300:62 [INFO] [stdout] | [INFO] [stdout] 300 | fn collect_file(&self, py: Python, 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] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> src/lib.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | fn collect_json(&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: `pyo3::PyErr` [INFO] [stdout] --> src/lib.rs:358:10 [INFO] [stdout] | [INFO] [stdout] 358 | ) -> 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] --> src/lib.rs:860:21 [INFO] [stdout] | [INFO] [stdout] 860 | fn get_version() -> 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 `pytest_fastcollect` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "3c23f08f9761e3e563abfb1bed4a6410a8326c4eeb4f86d322e86199c817fff4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c23f08f9761e3e563abfb1bed4a6410a8326c4eeb4f86d322e86199c817fff4", kill_on_drop: false }` [INFO] [stdout] 3c23f08f9761e3e563abfb1bed4a6410a8326c4eeb4f86d322e86199c817fff4