[INFO] cloning repository https://github.com/FrancoisGib/test_pypi_publish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrancoisGib/test_pypi_publish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrancoisGib%2Ftest_pypi_publish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrancoisGib%2Ftest_pypi_publish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cc8cd2eab304aeb873d44b71bce6c464f6df77d [INFO] checking FrancoisGib/test_pypi_publish against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrancoisGib%2Ftest_pypi_publish" "/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/FrancoisGib/test_pypi_publish [INFO] finished tweaking git repo https://github.com/FrancoisGib/test_pypi_publish [INFO] tweaked toml for git repo https://github.com/FrancoisGib/test_pypi_publish written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FrancoisGib/test_pypi_publish 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/FrancoisGib/test_pypi_publish 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-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] f3f6f0678a8cfcde231a281d254264658c0dbb09559cd8e80cb78e34322004b3 [INFO] running `Command { std: "docker" "start" "f3f6f0678a8cfcde231a281d254264658c0dbb09559cd8e80cb78e34322004b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3f6f0678a8cfcde231a281d254264658c0dbb09559cd8e80cb78e34322004b3", 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" "f3f6f0678a8cfcde231a281d254264658c0dbb09559cd8e80cb78e34322004b3" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3f6f0678a8cfcde231a281d254264658c0dbb09559cd8e80cb78e34322004b3", 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" "f3f6f0678a8cfcde231a281d254264658c0dbb09559cd8e80cb78e34322004b3" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.26 [INFO] [stderr] Compiling libc v0.2.190 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling thiserror v2.0.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Checking cfg-if v1.0.5 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Checking log v0.4.34 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling clang-sys v1.9.1 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling either v1.18.0 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.13.2 [INFO] [stderr] Compiling crc32fast v1.5.2 [INFO] [stderr] Checking humantime v2.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.65 [INFO] [stderr] Checking c-enum v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Checking hashbrown v0.17.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking simd-adler32 v0.3.10 [INFO] [stderr] Compiling rustix v1.1.5 [INFO] [stderr] Checking aho-corasick v1.1.5 [INFO] [stderr] Checking miniz_oxide v0.9.1 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Compiling procfs v0.18.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking nvml-wrapper-sys v0.9.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling syn v3.0.6 [INFO] [stderr] Checking triple_buffer v9.0.0 [INFO] [stderr] Compiling pyo3-build-config v0.29.3 [INFO] [stderr] Checking winnow v1.0.4 [INFO] [stderr] Checking toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Checking flate2 v1.1.10 [INFO] [stderr] Checking serde_spanned v1.1.1 [INFO] [stderr] Checking toml_writer v1.1.2+spec-1.1.0 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Checking indexmap v2.14.2 [INFO] [stderr] Checking toml_parser v1.1.3+spec-1.1.0 [INFO] [stderr] Compiling pyo3-ffi v0.29.3 [INFO] [stderr] Compiling pyo3 v0.29.3 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Checking toml v1.1.6+spec-1.1.0 [INFO] [stderr] Checking perf-event-open-sys2 v5.0.6 [INFO] [stderr] Checking memmap2 v0.9.11 [INFO] [stderr] Checking perf-event-data v0.1.8 [INFO] [stderr] Checking procfs-core v0.18.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.21 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Checking perf-event2 v0.7.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pyo3-macros-backend v0.29.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking joule-profiler-core v2.0.0 (https://github.com/joule-profiler/joule-profiler.git?rev=adf2a3abe10d6f3aea9a34de4d3301b88ed83058#adf2a3ab) [INFO] [stderr] Checking humantime-serde v1.1.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking joule-profiler-injector-stdout v0.1.0 (https://github.com/joule-profiler/joule-profiler.git?rev=adf2a3abe10d6f3aea9a34de4d3301b88ed83058#adf2a3ab) [INFO] [stderr] Checking joule-profiler-source-rapl v1.0.4 (https://github.com/joule-profiler/joule-profiler.git?rev=adf2a3abe10d6f3aea9a34de4d3301b88ed83058#adf2a3ab) [INFO] [stderr] Checking joule-profiler-source-procfs v0.1.0 (https://github.com/joule-profiler/joule-profiler.git?rev=adf2a3abe10d6f3aea9a34de4d3301b88ed83058#adf2a3ab) [INFO] [stderr] Checking joule-profiler-source-cgroup v0.1.0 (https://github.com/joule-profiler/joule-profiler.git?rev=adf2a3abe10d6f3aea9a34de4d3301b88ed83058#adf2a3ab) [INFO] [stderr] Checking joule-profiler-injector-ipc v0.1.0 (https://github.com/joule-profiler/joule-profiler.git?rev=adf2a3abe10d6f3aea9a34de4d3301b88ed83058#adf2a3ab) [INFO] [stderr] Checking joule-profiler-source-perf_event v1.0.2 (https://github.com/joule-profiler/joule-profiler.git?rev=adf2a3abe10d6f3aea9a34de4d3301b88ed83058#adf2a3ab) [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling wrapcenum-derive v0.4.1 [INFO] [stderr] Checking nvml-wrapper v0.12.1 [INFO] [stderr] Compiling pyo3-macros v0.29.3 [INFO] [stderr] Checking joule-profiler-source-nvml v1.0.2 (https://github.com/joule-profiler/joule-profiler.git?rev=adf2a3abe10d6f3aea9a34de4d3301b88ed83058#adf2a3ab) [INFO] [stderr] Compiling amdsmi-sys v0.1.0 [INFO] [stderr] Checking amdsmi v0.1.0 [INFO] [stderr] Checking joule-profiler-source-amdsmi v0.1.0 (https://github.com/joule-profiler/joule-profiler.git?rev=adf2a3abe10d6f3aea9a34de4d3301b88ed83058#adf2a3ab) [INFO] [stderr] Checking test_joule_profiler v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> src/lib.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | fn list_sensors(&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] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> src/lib.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | fn info(&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: `PyErr` [INFO] [stdout] --> src/lib.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | ) -> 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] --> src/lib.rs:114:68 [INFO] [stdout] | [INFO] [stdout] 114 | fn session(&self, py: Python<'_>, command: Vec) -> 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] --> src/lib.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | fn serve(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: `PyErr` [INFO] [stdout] --> src/lib.rs:218:56 [INFO] [stdout] | [INFO] [stdout] 218 | fn phase(&self, py: Python<'_>, name: &str) -> 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] --> src/lib.rs:233:61 [INFO] [stdout] | [INFO] [stdout] 233 | fn finish(&self, py: Python<'_>, exit_code: i32) -> 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] --> src/lib.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | fn list_sensors(&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] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> src/lib.rs:64:43 [INFO] [stdout] | [INFO] [stdout] 64 | fn info(&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: `PyErr` [INFO] [stdout] --> src/lib.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | ) -> 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] --> src/lib.rs:114:68 [INFO] [stdout] | [INFO] [stdout] 114 | fn session(&self, py: Python<'_>, command: Vec) -> 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] --> src/lib.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | fn serve(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: `PyErr` [INFO] [stdout] --> src/lib.rs:218:56 [INFO] [stdout] | [INFO] [stdout] 218 | fn phase(&self, py: Python<'_>, name: &str) -> 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] --> src/lib.rs:233:61 [INFO] [stdout] | [INFO] [stdout] 233 | fn finish(&self, py: Python<'_>, exit_code: i32) -> 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 `test_joule_profiler` (lib test) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `test_joule_profiler` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "f3f6f0678a8cfcde231a281d254264658c0dbb09559cd8e80cb78e34322004b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f6f0678a8cfcde231a281d254264658c0dbb09559cd8e80cb78e34322004b3", kill_on_drop: false }` [INFO] [stdout] f3f6f0678a8cfcde231a281d254264658c0dbb09559cd8e80cb78e34322004b3