[INFO] cloning repository https://github.com/Nigel-Karunaratne/file-tagging [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nigel-Karunaratne/file-tagging" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNigel-Karunaratne%2Ffile-tagging", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNigel-Karunaratne%2Ffile-tagging'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81f0b3807b165eea2962fba9632465ce1f9167ba [INFO] checking Nigel-Karunaratne/file-tagging against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNigel-Karunaratne%2Ffile-tagging" "/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/Nigel-Karunaratne/file-tagging [INFO] finished tweaking git repo https://github.com/Nigel-Karunaratne/file-tagging [INFO] tweaked toml for git repo https://github.com/Nigel-Karunaratne/file-tagging written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Nigel-Karunaratne/file-tagging 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/Nigel-Karunaratne/file-tagging 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] 5fd03ba55f0255dccecb0664f18561c82feacc7837abcc6002ef600dfc2683fd [INFO] running `Command { std: "docker" "start" "5fd03ba55f0255dccecb0664f18561c82feacc7837abcc6002ef600dfc2683fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fd03ba55f0255dccecb0664f18561c82feacc7837abcc6002ef600dfc2683fd", 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" "5fd03ba55f0255dccecb0664f18561c82feacc7837abcc6002ef600dfc2683fd" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fd03ba55f0255dccecb0664f18561c82feacc7837abcc6002ef600dfc2683fd", 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" "5fd03ba55f0255dccecb0664f18561c82feacc7837abcc6002ef600dfc2683fd" "/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.3 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking toml_writer v1.0.4 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking serde_spanned v1.0.3 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Compiling pyo3-build-config v0.27.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking directories v6.0.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Compiling pyo3-ffi v0.27.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.27.1 [INFO] [stderr] Compiling pyo3 v0.27.1 [INFO] [stderr] Checking toml v0.9.8 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling pyo3-macros v0.27.1 [INFO] [stderr] Checking tagcore v0.1.0 (/opt/rustwide/workdir/tagcore) [INFO] [stderr] Checking tag_cli v0.1.0 (/opt/rustwide/workdir/tag_cli) [INFO] [stderr] Checking tagbinding_py v0.1.0 (/opt/rustwide/workdir/tagbinding_py) [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> tagbinding_py/src/lib.rs:88:102 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn open_workspace(_class: Bound, directory: std::path::PathBuf, name: 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] --> tagbinding_py/src/lib.rs:96:104 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn create_workspace(_class: Bound, directory: std::path::PathBuf, name: 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: `PyErr` [INFO] [stdout] --> tagbinding_py/src/lib.rs:107:118 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn add_tag_to_file(&mut self, path_to_file: std::path::PathBuf, tag_1: String, tag_2: 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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> tagbinding_py/src/lib.rs:88:102 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn open_workspace(_class: Bound, directory: std::path::PathBuf, name: 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] --> tagbinding_py/src/lib.rs:111:123 [INFO] [stdout] | [INFO] [stdout] 111 | ...::path::PathBuf, tag_1: String, tag_2: 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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> tagbinding_py/src/lib.rs:115:88 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn get_tags_for_file_name(&self, full_path_to_file: std::path::PathBuf) -> 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] --> tagbinding_py/src/lib.rs:96:104 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn create_workspace(_class: Bound, directory: std::path::PathBuf, name: 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: `PyErr` [INFO] [stdout] --> tagbinding_py/src/lib.rs:124:53 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get_path_to_workspace_file(&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] --> tagbinding_py/src/lib.rs:107:118 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn add_tag_to_file(&mut self, path_to_file: std::path::PathBuf, tag_1: String, tag_2: 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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> tagbinding_py/src/lib.rs:111:123 [INFO] [stdout] | [INFO] [stdout] 111 | ...::path::PathBuf, tag_1: String, tag_2: 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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> tagbinding_py/src/lib.rs:115:88 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn get_tags_for_file_name(&self, full_path_to_file: std::path::PathBuf) -> 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] --> tagbinding_py/src/lib.rs:124:53 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get_path_to_workspace_file(&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] [stderr] error: could not compile `tagbinding_py` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tagbinding_py` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "5fd03ba55f0255dccecb0664f18561c82feacc7837abcc6002ef600dfc2683fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fd03ba55f0255dccecb0664f18561c82feacc7837abcc6002ef600dfc2683fd", kill_on_drop: false }` [INFO] [stdout] 5fd03ba55f0255dccecb0664f18561c82feacc7837abcc6002ef600dfc2683fd