[INFO] cloning repository https://github.com/HaiwenZhang/rust-skrf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HaiwenZhang/rust-skrf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaiwenZhang%2Frust-skrf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaiwenZhang%2Frust-skrf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bd4556efdf697981b9d0dff746e92d29044d5f89 [INFO] checking HaiwenZhang/rust-skrf against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHaiwenZhang%2Frust-skrf" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HaiwenZhang/rust-skrf [INFO] finished tweaking git repo https://github.com/HaiwenZhang/rust-skrf [INFO] tweaked toml for git repo https://github.com/HaiwenZhang/rust-skrf written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HaiwenZhang/rust-skrf 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/HaiwenZhang/rust-skrf 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 `authors` in `workspace.package` [INFO] [stderr] --> Cargo.toml:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | authors = ["skrf-rust contributors"] [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.authors` [INFO] [stderr] warning: unused field `repository` in `workspace.package` [INFO] [stderr] --> Cargo.toml:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | repository = "https://github.com/scikit-rf/skrf-rust" [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the field `workspace.package.repository` [INFO] [stderr] warning: workspace (manifest) generated 2 warnings [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 406db23b233aaf15913bec155a6e7451728ff9dd715a0aef889101fcdb168287 [INFO] running `Command { std: "docker" "start" "406db23b233aaf15913bec155a6e7451728ff9dd715a0aef889101fcdb168287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "406db23b233aaf15913bec155a6e7451728ff9dd715a0aef889101fcdb168287", 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" "406db23b233aaf15913bec155a6e7451728ff9dd715a0aef889101fcdb168287" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "406db23b233aaf15913bec155a6e7451728ff9dd715a0aef889101fcdb168287", 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" "406db23b233aaf15913bec155a6e7451728ff9dd715a0aef889101fcdb168287" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: unused field `authors` in `workspace.package` [INFO] [stderr] --> Cargo.toml:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | authors = ["skrf-rust contributors"] [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.authors` [INFO] [stderr] warning: unused field `repository` in `workspace.package` [INFO] [stderr] --> Cargo.toml:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | repository = "https://github.com/scikit-rf/skrf-rust" [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the field `workspace.package.repository` [INFO] [stderr] warning: workspace (manifest) generated 2 warnings [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Compiling pyo3-build-config v0.23.5 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking rustfft v6.4.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking simba v0.9.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.106 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling pyo3-ffi v0.23.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.23.5 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling pyo3 v0.23.5 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking unicode-ident v1.0.22 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.106 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.106 [INFO] [stderr] Checking js-sys v0.3.83 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling pyo3-macros v0.23.5 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking numpy v0.23.0 [INFO] [stderr] Checking skrf-core v0.1.0 (/opt/rustwide/workdir/crates/skrf-core) [INFO] [stderr] Checking skrf-wasm v0.1.0 (/opt/rustwide/workdir/crates/skrf-wasm) [INFO] [stderr] Checking skrf-python v0.1.0 (/opt/rustwide/workdir/crates/skrf-python) [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> crates/skrf-python/src/network.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_touchstone(path: &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: `PyErr` [INFO] [stdout] --> crates/skrf-python/src/vector_fitting.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> 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] --> crates/skrf-python/src/vector_fitting.rs:78:77 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn get_rms_error(&self, network: &PyNetwork, i: usize, j: usize) -> 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] --> crates/skrf-python/src/vector_fitting.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_model_order(&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] --> crates/skrf-python/src/vector_fitting.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> 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] --> crates/skrf-python/src/vector_fitting.rs:217:10 [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: `PyErr` [INFO] [stdout] --> crates/skrf-python/src/vector_fitting.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | ) -> 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] --> crates/skrf-python/src/vector_fitting.rs:264:58 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn passivity_test(&self, network: &PyNetwork) -> 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] --> crates/skrf-python/src/vector_fitting.rs:279:54 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn is_passive(&self, network: &PyNetwork) -> 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] --> crates/skrf-python/src/vector_fitting.rs:295:65 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn passivity_enforce(&mut self, network: &PyNetwork) -> PyResult<(bool, usize, Vec)> { [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 `skrf-python` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> crates/skrf-python/src/network.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn from_touchstone(path: &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: `PyErr` [INFO] [stdout] --> crates/skrf-python/src/vector_fitting.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | ) -> 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] --> crates/skrf-python/src/vector_fitting.rs:78:77 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn get_rms_error(&self, network: &PyNetwork, i: usize, j: usize) -> 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] --> crates/skrf-python/src/vector_fitting.rs:92:38 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get_model_order(&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] --> crates/skrf-python/src/vector_fitting.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> 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] --> crates/skrf-python/src/vector_fitting.rs:217:10 [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: `PyErr` [INFO] [stdout] --> crates/skrf-python/src/vector_fitting.rs:244:10 [INFO] [stdout] | [INFO] [stdout] 244 | ) -> 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] --> crates/skrf-python/src/vector_fitting.rs:264:58 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn passivity_test(&self, network: &PyNetwork) -> 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] --> crates/skrf-python/src/vector_fitting.rs:279:54 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn is_passive(&self, network: &PyNetwork) -> 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] --> crates/skrf-python/src/vector_fitting.rs:295:65 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn passivity_enforce(&mut self, network: &PyNetwork) -> PyResult<(bool, usize, Vec)> { [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 `skrf-python` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "406db23b233aaf15913bec155a6e7451728ff9dd715a0aef889101fcdb168287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406db23b233aaf15913bec155a6e7451728ff9dd715a0aef889101fcdb168287", kill_on_drop: false }` [INFO] [stdout] 406db23b233aaf15913bec155a6e7451728ff9dd715a0aef889101fcdb168287