[INFO] fetching crate batteryinfo-py 0.1.5...
[INFO] checking batteryinfo-py-0.1.5 against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4
[INFO] extracting crate batteryinfo-py 0.1.5 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate batteryinfo-py 0.1.5
[INFO] finished tweaking crates.io crate batteryinfo-py 0.1.5
[INFO] tweaked toml for crates.io crate batteryinfo-py 0.1.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate batteryinfo-py 0.1.5 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 crates.io crate batteryinfo-py 0.1.5 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:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2b0ef6de95ec8f4a158a7cbf1e6129b695c4eafdb7276c5f2b71ca50503b68e1
[INFO] running `Command { std: "docker" "start" "2b0ef6de95ec8f4a158a7cbf1e6129b695c4eafdb7276c5f2b71ca50503b68e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b0ef6de95ec8f4a158a7cbf1e6129b695c4eafdb7276c5f2b71ca50503b68e1", 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" "2b0ef6de95ec8f4a158a7cbf1e6129b695c4eafdb7276c5f2b71ca50503b68e1" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2b0ef6de95ec8f4a158a7cbf1e6129b695c4eafdb7276c5f2b71ca50503b68e1", 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" "2b0ef6de95ec8f4a158a7cbf1e6129b695c4eafdb7276c5f2b71ca50503b68e1" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.13.2
[INFO] [stderr]    Compiling python3-dll-a v0.2.13
[INFO] [stderr]    Compiling once_cell v1.20.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]    Compiling battery v0.7.8
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]     Checking unindent v0.2.4
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]     Checking uom v0.30.0
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]    Compiling pyo3-build-config v0.24.2
[INFO] [stderr]    Compiling syn v2.0.99
[INFO] [stderr]    Compiling pyo3-macros-backend v0.24.2
[INFO] [stderr]    Compiling pyo3-ffi v0.24.2
[INFO] [stderr]    Compiling pyo3 v0.24.2
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]    Compiling human-time-macros v0.1.8
[INFO] [stderr]     Checking human-time v0.1.6
[INFO] [stderr]    Compiling pyo3-macros v0.24.2
[INFO] [stderr]     Checking batteryinfo-py v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/battery.rs:387:52
[INFO] [stdout]     |
[INFO] [stdout] 387 |     fn refresh(&mut self, index: Option<usize>) -> PyResult<()> {
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/battery.rs:412:38
[INFO] [stdout]     |
[INFO] [stdout] 412 |     fn as_dict(&self, py: Python) -> PyResult<Py<PyDict>> {
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]   --> src/measurement.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn formatted(&self) -> PyResult<String> {
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/battery.rs:387:52
[INFO] [stdout]     |
[INFO] [stdout] 387 |     fn refresh(&mut self, index: Option<usize>) -> PyResult<()> {
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]    --> src/battery.rs:412:38
[INFO] [stdout]     |
[INFO] [stdout] 412 |     fn as_dict(&self, py: Python) -> PyResult<Py<PyDict>> {
[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] 
[INFO] [stdout] 
[INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr`
[INFO] [stdout]   --> src/measurement.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |     pub fn formatted(&self) -> PyResult<String> {
[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] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `batteryinfo-py` (lib) due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `batteryinfo-py` (lib test) due to 3 previous errors
[INFO] [stderr] warning: unused dependency `serde_json`
[INFO] [stderr]   --> Cargo.toml:11:15
[INFO] [stderr]    |
[INFO] [stderr] 11 | [dependencies.serde_json]
[INFO] [stderr]    |               ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `serde_json`
[INFO] [stderr] warning: `batteryinfo-py` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "inspect" "2b0ef6de95ec8f4a158a7cbf1e6129b695c4eafdb7276c5f2b71ca50503b68e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2b0ef6de95ec8f4a158a7cbf1e6129b695c4eafdb7276c5f2b71ca50503b68e1", kill_on_drop: false }`
[INFO] [stdout] 2b0ef6de95ec8f4a158a7cbf1e6129b695c4eafdb7276c5f2b71ca50503b68e1
