[INFO] cloning repository https://github.com/RustedBytes/charset-norm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RustedBytes/charset-norm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustedBytes%2Fcharset-norm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustedBytes%2Fcharset-norm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0315e8b1a4fc8b0a52b3390086736e29c5e2c19 [INFO] checking RustedBytes/charset-norm against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRustedBytes%2Fcharset-norm" "/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/RustedBytes/charset-norm [INFO] finished tweaking git repo https://github.com/RustedBytes/charset-norm [INFO] tweaked toml for git repo https://github.com/RustedBytes/charset-norm written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RustedBytes/charset-norm 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/RustedBytes/charset-norm 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: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> crates/charset-norm/Cargo.toml:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | homepage.workspace = true [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 15 | repository.workspace = true [INFO] [stderr] | ---------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `charset-norm` (manifest) generated 1 warning [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> crates/charset-norm-python/Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | homepage.workspace = true [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | repository.workspace = true [INFO] [stderr] | ---------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `charset-norm-python` (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] 7321d0bd81f241c5170e3f5bba1a830bb67b9a651d9a4fe481854ca2da273d4a [INFO] running `Command { std: "docker" "start" "7321d0bd81f241c5170e3f5bba1a830bb67b9a651d9a4fe481854ca2da273d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7321d0bd81f241c5170e3f5bba1a830bb67b9a651d9a4fe481854ca2da273d4a", 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" "7321d0bd81f241c5170e3f5bba1a830bb67b9a651d9a4fe481854ca2da273d4a" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7321d0bd81f241c5170e3f5bba1a830bb67b9a651d9a4fe481854ca2da273d4a", 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" "7321d0bd81f241c5170e3f5bba1a830bb67b9a651d9a4fe481854ca2da273d4a" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> crates/charset-norm-python/Cargo.toml:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | homepage.workspace = true [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 11 | repository.workspace = true [INFO] [stderr] | ---------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `charset-norm-python` (manifest) generated 1 warning [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> crates/charset-norm/Cargo.toml:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | homepage.workspace = true [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 15 | repository.workspace = true [INFO] [stderr] | ---------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `charset-norm` (manifest) generated 1 warning [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Compiling unicode-general-category v1.1.0 [INFO] [stderr] Checking tinyvec v1.13.3 [INFO] [stderr] Compiling zerocopy v0.8.59 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling libmimalloc-sys v0.1.49 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Compiling pyo3-build-config v0.29.2 (https://github.com/PyO3/pyo3?rev=dd54cd6e129439ab2c5d98ff11f06f1e0ea85cd6#dd54cd6e) [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking mimalloc v0.1.52 [INFO] [stderr] Compiling pyo3-ffi v0.29.2 (https://github.com/PyO3/pyo3?rev=dd54cd6e129439ab2c5d98ff11f06f1e0ea85cd6#dd54cd6e) [INFO] [stderr] Compiling pyo3 v0.29.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.29.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.8 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling unicode_names2_generator v4.0.0 [INFO] [stderr] Compiling unicode_names2 v4.0.0 [INFO] [stderr] Compiling pyo3-macros v0.29.2 [INFO] [stderr] Checking charset-norm v4.2.0 (/opt/rustwide/workdir/crates/charset-norm) [INFO] [stderr] Checking charset-norm-python v4.2.0 (/opt/rustwide/workdir/crates/charset-norm-python) [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/api.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> 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] --> crates/charset-norm-python/src/models.rs:206:73 [INFO] [stdout] | [INFO] [stdout] 206 | fn add_submatch(slf: &Bound<'_, Self>, other: &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] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/models.rs:319:61 [INFO] [stdout] | [INFO] [stdout] 319 | fn output(&mut self, py: Python<'_>, encoding: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/models.rs:487:70 [INFO] [stdout] | [INFO] [stdout] 487 | fn append(&mut self, py: Python<'_>, item: &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] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/models.rs:497:43 [INFO] [stdout] | [INFO] [stdout] 497 | fn best(&mut 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] --> crates/charset-norm-python/src/models.rs:502:44 [INFO] [stdout] | [INFO] [stdout] 502 | fn first(&mut 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] --> crates/charset-norm-python/src/lib.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | fn character_flags(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | fn remove_accent(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | fn is_punctuation(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | fn is_symbol(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | fn is_emoticon(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | fn is_separator(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:119:41 [INFO] [stdout] | [INFO] [stdout] 119 | fn is_case_variable(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | fn is_unprintable(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | fn unicode_range(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 137 | ) -> 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] --> crates/charset-norm-python/src/lib.rs:145:6 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> 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] --> crates/charset-norm-python/src/lib.rs:167:46 [INFO] [stdout] | [INFO] [stdout] 167 | fn iana_name(cp_name: &str, strict: bool) -> 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] --> crates/charset-norm-python/src/lib.rs:175:6 [INFO] [stdout] | [INFO] [stdout] 175 | ) -> PyResult<(Option<&'static str>, Bound<'py, PyBytes>)> { [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] --> crates/charset-norm-python/src/lib.rs:195:57 [INFO] [stdout] | [INFO] [stdout] 195 | fn cp_similarity(encoding_a: &str, encoding_b: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:217:6 [INFO] [stdout] | [INFO] [stdout] 217 | ) -> 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] --> crates/charset-norm-python/src/lib.rs:247:46 [INFO] [stdout] | [INFO] [stdout] 247 | fn encoding_unicode_range(encoding: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | fn encoding_languages(encoding: &str) -> PyResult<&'static [&'static str]> { [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] --> crates/charset-norm-python/src/lib.rs:262:43 [INFO] [stdout] | [INFO] [stdout] 262 | fn get_target_features(language: &str) -> PyResult<(bool, bool)> { [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] --> crates/charset-norm-python/src/lib.rs:274:6 [INFO] [stdout] | [INFO] [stdout] 274 | ) -> 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] --> crates/charset-norm-python/src/lib.rs:287:86 [INFO] [stdout] | [INFO] [stdout] 287 | fn characters_popularity_compare(language: &str, ordered_characters: 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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:324:6 [INFO] [stdout] | [INFO] [stdout] 324 | ) -> 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] --> crates/charset-norm-python/src/lib.rs:338:6 [INFO] [stdout] | [INFO] [stdout] 338 | ) -> 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 `charset-norm-python` (lib) due to 28 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] --> crates/charset-norm-python/src/api.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> 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] --> crates/charset-norm-python/src/models.rs:206:73 [INFO] [stdout] | [INFO] [stdout] 206 | fn add_submatch(slf: &Bound<'_, Self>, other: &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] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/models.rs:319:61 [INFO] [stdout] | [INFO] [stdout] 319 | fn output(&mut self, py: Python<'_>, encoding: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/models.rs:487:70 [INFO] [stdout] | [INFO] [stdout] 487 | fn append(&mut self, py: Python<'_>, item: &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] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/models.rs:497:43 [INFO] [stdout] | [INFO] [stdout] 497 | fn best(&mut 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] --> crates/charset-norm-python/src/models.rs:502:44 [INFO] [stdout] | [INFO] [stdout] 502 | fn first(&mut 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] --> crates/charset-norm-python/src/lib.rs:89:40 [INFO] [stdout] | [INFO] [stdout] 89 | fn character_flags(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | fn remove_accent(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:99:39 [INFO] [stdout] | [INFO] [stdout] 99 | fn is_punctuation(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:104:34 [INFO] [stdout] | [INFO] [stdout] 104 | fn is_symbol(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | fn is_emoticon(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:114:37 [INFO] [stdout] | [INFO] [stdout] 114 | fn is_separator(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:119:41 [INFO] [stdout] | [INFO] [stdout] 119 | fn is_case_variable(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:124:39 [INFO] [stdout] | [INFO] [stdout] 124 | fn is_unprintable(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | fn unicode_range(character: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:137:6 [INFO] [stdout] | [INFO] [stdout] 137 | ) -> 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] --> crates/charset-norm-python/src/lib.rs:145:6 [INFO] [stdout] | [INFO] [stdout] 145 | ) -> 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] --> crates/charset-norm-python/src/lib.rs:167:46 [INFO] [stdout] | [INFO] [stdout] 167 | fn iana_name(cp_name: &str, strict: bool) -> 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] --> crates/charset-norm-python/src/lib.rs:175:6 [INFO] [stdout] | [INFO] [stdout] 175 | ) -> PyResult<(Option<&'static str>, Bound<'py, PyBytes>)> { [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] --> crates/charset-norm-python/src/lib.rs:195:57 [INFO] [stdout] | [INFO] [stdout] 195 | fn cp_similarity(encoding_a: &str, encoding_b: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:217:6 [INFO] [stdout] | [INFO] [stdout] 217 | ) -> 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] --> crates/charset-norm-python/src/lib.rs:247:46 [INFO] [stdout] | [INFO] [stdout] 247 | fn encoding_unicode_range(encoding: &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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | fn encoding_languages(encoding: &str) -> PyResult<&'static [&'static str]> { [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] --> crates/charset-norm-python/src/lib.rs:262:43 [INFO] [stdout] | [INFO] [stdout] 262 | fn get_target_features(language: &str) -> PyResult<(bool, bool)> { [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] --> crates/charset-norm-python/src/lib.rs:274:6 [INFO] [stdout] | [INFO] [stdout] 274 | ) -> 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] --> crates/charset-norm-python/src/lib.rs:287:86 [INFO] [stdout] | [INFO] [stdout] 287 | fn characters_popularity_compare(language: &str, ordered_characters: 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: `pyo3::PyErr` [INFO] [stdout] --> crates/charset-norm-python/src/lib.rs:324:6 [INFO] [stdout] | [INFO] [stdout] 324 | ) -> 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] --> crates/charset-norm-python/src/lib.rs:338:6 [INFO] [stdout] | [INFO] [stdout] 338 | ) -> 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 `charset-norm-python` (lib test) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "7321d0bd81f241c5170e3f5bba1a830bb67b9a651d9a4fe481854ca2da273d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7321d0bd81f241c5170e3f5bba1a830bb67b9a651d9a4fe481854ca2da273d4a", kill_on_drop: false }` [INFO] [stdout] 7321d0bd81f241c5170e3f5bba1a830bb67b9a651d9a4fe481854ca2da273d4a