[INFO] cloning repository https://github.com/OpenMined/syft-crypto-core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OpenMined/syft-crypto-core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOpenMined%2Fsyft-crypto-core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOpenMined%2Fsyft-crypto-core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70100e8b9b1f6ff970c3c40b76131de76c3d2f52 [INFO] checking OpenMined/syft-crypto-core against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOpenMined%2Fsyft-crypto-core" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/OpenMined/syft-crypto-core [INFO] finished tweaking git repo https://github.com/OpenMined/syft-crypto-core [INFO] tweaked toml for git repo https://github.com/OpenMined/syft-crypto-core written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OpenMined/syft-crypto-core 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/OpenMined/syft-crypto-core 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: unused field `categories` in `workspace.package` [INFO] [stderr] --> Cargo.toml:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | categories = ["cryptography"] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_package_fields` is set to `warn` by default [INFO] [stderr] help: consider removing the field `workspace.package.categories` [INFO] [stderr] warning: unused field `keywords` in `workspace.package` [INFO] [stderr] --> Cargo.toml:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | keywords = ["encryption", "e2e", "x3dh", "privacy", "cryptography"] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the field `workspace.package.keywords` [INFO] [stderr] warning: workspace (manifest) generated 2 warnings [INFO] [stderr] warning: missing `[lints]` to inherit `[workspace.lints]` [INFO] [stderr] --> bindings/python/Cargo.toml [INFO] [stderr] = note: `cargo::missing_lints_inheritance` is set to `warn` by default [INFO] [stderr] help: to inherit `workspace.lints, add: [INFO] [stderr] | [INFO] [stderr] 25 ~ name = "syft_crypto_python._native" [INFO] [stderr] 26 + [lints] [INFO] [stderr] 27 + workspace = true [INFO] [stderr] | [INFO] [stderr] help: to clarify your intent to not inherit, add: [INFO] [stderr] | [INFO] [stderr] 25 ~ name = "syft_crypto_python._native" [INFO] [stderr] 26 + [lints] [INFO] [stderr] | [INFO] [stderr] warning: `syft-crypto-python` (manifest) generated 1 warning [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] 2674ce8e48f7374911d112887907fce32745fecfda3629e1d4e974c3e0a26448 [INFO] running `Command { std: "docker" "start" "2674ce8e48f7374911d112887907fce32745fecfda3629e1d4e974c3e0a26448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2674ce8e48f7374911d112887907fce32745fecfda3629e1d4e974c3e0a26448", 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" "2674ce8e48f7374911d112887907fce32745fecfda3629e1d4e974c3e0a26448" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2674ce8e48f7374911d112887907fce32745fecfda3629e1d4e974c3e0a26448", 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" "2674ce8e48f7374911d112887907fce32745fecfda3629e1d4e974c3e0a26448" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: unused field `categories` in `workspace.package` [INFO] [stderr] --> Cargo.toml:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | categories = ["cryptography"] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_package_fields` is set to `warn` by default [INFO] [stderr] help: consider removing the field `workspace.package.categories` [INFO] [stderr] warning: unused field `keywords` in `workspace.package` [INFO] [stderr] --> Cargo.toml:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | keywords = ["encryption", "e2e", "x3dh", "privacy", "cryptography"] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the field `workspace.package.keywords` [INFO] [stderr] warning: workspace (manifest) generated 2 warnings [INFO] [stderr] warning: missing `[lints]` to inherit `[workspace.lints]` [INFO] [stderr] --> bindings/python/Cargo.toml [INFO] [stderr] = note: `cargo::missing_lints_inheritance` is set to `warn` by default [INFO] [stderr] help: to inherit `workspace.lints, add: [INFO] [stderr] | [INFO] [stderr] 25 ~ name = "syft_crypto_python._native" [INFO] [stderr] 26 + [lints] [INFO] [stderr] 27 + workspace = true [INFO] [stderr] | [INFO] [stderr] help: to clarify your intent to not inherit, add: [INFO] [stderr] | [INFO] [stderr] 25 ~ name = "syft_crypto_python._native" [INFO] [stderr] 26 + [lints] [INFO] [stderr] | [INFO] [stderr] warning: `syft-crypto-python` (manifest) generated 1 warning [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking hex-conservative v0.2.2 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking ryu-js v0.2.2 [INFO] [stderr] Compiling syn v2.0.116 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking clap_lex v1.0.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking bitcoin_hashes v0.14.1 [INFO] [stderr] Checking tempfile v3.25.0 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking clap_builder v4.5.59 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling pyo3-build-config v0.24.2 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking digest v0.10.7 [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 hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking clap v4.5.59 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_jcs v0.1.0 [INFO] [stderr] Checking bip39 v2.2.2 [INFO] [stderr] Checking syft-crypto-protocol v0.1.2-beta.4 (/opt/rustwide/workdir/protocol) [INFO] [stderr] Compiling pyo3-macros v0.24.2 [INFO] [stderr] Checking syft-crypto-cli v0.1.2-beta.4 (/opt/rustwide/workdir/cli) [INFO] [stderr] Checking syft-crypto-python v0.1.2-beta.4 (/opt/rustwide/workdir/bindings/python) [INFO] [stdout] error: useless conversion to the same type: `pyo3::PyErr` [INFO] [stdout] --> bindings/python/src/lib.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn from_hex_string(value: &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] = 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] --> bindings/python/src/lib.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn from_mnemonic(value: &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] --> bindings/python/src/lib.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn derive_keys(&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] --> bindings/python/src/lib.rs:96:50 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn from_jwks(value: 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] --> bindings/python/src/lib.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn to_jwks(&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] --> bindings/python/src/lib.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn to_public_bundle(&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] --> bindings/python/src/lib.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn from_did_document(value: 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] --> bindings/python/src/lib.rs:135:65 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn to_did_document(&self, py: Python<'_>, did: &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] --> bindings/python/src/lib.rs:306:67 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn compute_identity_fingerprint(identity_key_bytes: &[u8]) -> 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] --> bindings/python/src/lib.rs:316:54 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn generate_identity_material(identity: &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] --> bindings/python/src/lib.rs:322:40 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn parse_envelope(bytes: &[u8]) -> 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] --> bindings/python/src/lib.rs:331:6 [INFO] [stdout] | [INFO] [stdout] 331 | ) -> 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] --> bindings/python/src/lib.rs:348:6 [INFO] [stdout] | [INFO] [stdout] 348 | ) -> 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] --> bindings/python/src/lib.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 384 | ) -> 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] --> bindings/python/src/lib.rs:401:53 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn parse_envelope_header_file(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: `pyo3::PyErr` [INFO] [stdout] --> bindings/python/src/lib.rs:412:6 [INFO] [stdout] | [INFO] [stdout] 412 | ) -> 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] --> bindings/python/src/lib.rs:437:6 [INFO] [stdout] | [INFO] [stdout] 437 | ) -> 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] --> bindings/python/src/lib.rs:503:6 [INFO] [stdout] | [INFO] [stdout] 503 | ) -> 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 `syft-crypto-python` (lib) due to 18 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] --> bindings/python/src/lib.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn from_hex_string(value: &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] = 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] --> bindings/python/src/lib.rs:65:42 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn from_mnemonic(value: &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] --> bindings/python/src/lib.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn derive_keys(&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] --> bindings/python/src/lib.rs:96:50 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn from_jwks(value: 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] --> bindings/python/src/lib.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn to_jwks(&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] --> bindings/python/src/lib.rs:110:39 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn to_public_bundle(&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] --> bindings/python/src/lib.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn from_did_document(value: 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] --> bindings/python/src/lib.rs:135:65 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn to_did_document(&self, py: Python<'_>, did: &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] --> bindings/python/src/lib.rs:306:67 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn compute_identity_fingerprint(identity_key_bytes: &[u8]) -> 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] --> bindings/python/src/lib.rs:316:54 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn generate_identity_material(identity: &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] --> bindings/python/src/lib.rs:322:40 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn parse_envelope(bytes: &[u8]) -> 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] --> bindings/python/src/lib.rs:331:6 [INFO] [stdout] | [INFO] [stdout] 331 | ) -> 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] --> bindings/python/src/lib.rs:348:6 [INFO] [stdout] | [INFO] [stdout] 348 | ) -> 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] --> bindings/python/src/lib.rs:384:6 [INFO] [stdout] | [INFO] [stdout] 384 | ) -> 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] --> bindings/python/src/lib.rs:401:53 [INFO] [stdout] | [INFO] [stdout] 401 | pub fn parse_envelope_header_file(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: `pyo3::PyErr` [INFO] [stdout] --> bindings/python/src/lib.rs:412:6 [INFO] [stdout] | [INFO] [stdout] 412 | ) -> 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] --> bindings/python/src/lib.rs:437:6 [INFO] [stdout] | [INFO] [stdout] 437 | ) -> 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] --> bindings/python/src/lib.rs:503:6 [INFO] [stdout] | [INFO] [stdout] 503 | ) -> 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 `syft-crypto-python` (lib test) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "2674ce8e48f7374911d112887907fce32745fecfda3629e1d4e974c3e0a26448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2674ce8e48f7374911d112887907fce32745fecfda3629e1d4e974c3e0a26448", kill_on_drop: false }` [INFO] [stdout] 2674ce8e48f7374911d112887907fce32745fecfda3629e1d4e974c3e0a26448