[INFO] cloning repository https://github.com/Dominik-O22/sts2-ai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dominik-O22/sts2-ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDominik-O22%2Fsts2-ai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDominik-O22%2Fsts2-ai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f31b9265dcb1ea18fc66b6e2e2b41abb8a05589 [INFO] checking Dominik-O22/sts2-ai against 52995a223f2919dd3e2e427231db90a257350ded for pr-129249-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDominik-O22%2Fsts2-ai" "/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/Dominik-O22/sts2-ai [INFO] finished tweaking git repo https://github.com/Dominik-O22/sts2-ai [INFO] tweaked toml for git repo https://github.com/Dominik-O22/sts2-ai written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Dominik-O22/sts2-ai 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/Dominik-O22/sts2-ai 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 `license` in `workspace.package` [INFO] [stderr] --> Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | license = "MIT" [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.license` [INFO] [stderr] warning: workspace (manifest) generated 1 warning [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] dc68f55eaab9ad3434f6c8da42395d0f222fc8ba0f720763ce053bc6e3f09a35 [INFO] running `Command { std: "docker" "start" "dc68f55eaab9ad3434f6c8da42395d0f222fc8ba0f720763ce053bc6e3f09a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc68f55eaab9ad3434f6c8da42395d0f222fc8ba0f720763ce053bc6e3f09a35", 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" "dc68f55eaab9ad3434f6c8da42395d0f222fc8ba0f720763ce053bc6e3f09a35" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc68f55eaab9ad3434f6c8da42395d0f222fc8ba0f720763ce053bc6e3f09a35", 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" "dc68f55eaab9ad3434f6c8da42395d0f222fc8ba0f720763ce053bc6e3f09a35" "/opt/rustwide/cargo-home/bin/cargo" "+52995a223f2919dd3e2e427231db90a257350ded" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: unused field `license` in `workspace.package` [INFO] [stderr] --> Cargo.toml:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | license = "MIT" [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.license` [INFO] [stderr] warning: workspace (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling unicode-ident v1.0.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.21 [INFO] [stderr] Compiling crossbeam-deque v0.8.8 [INFO] [stderr] Checking either v1.18.0 [INFO] [stderr] Checking smallvec v1.16.2 [INFO] [stderr] Compiling find-msvc-tools v0.1.13 [INFO] [stderr] Compiling matrixmultiply v0.3.11 [INFO] [stderr] Compiling pyo3-build-config v0.29.2 [INFO] [stderr] Checking rustc-hash v2.1.3 [INFO] [stderr] Checking num-integer v0.1.47 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling cc v1.4.7 [INFO] [stderr] Checking ndarray v0.17.2 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling syn v3.0.6 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Compiling pyo3-ffi v0.29.2 [INFO] [stderr] Compiling pyo3 v0.29.2 [INFO] [stderr] Compiling numpy v0.29.0 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Compiling libmimalloc-sys v0.1.49 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Checking mimalloc v0.1.52 [INFO] [stderr] Compiling pyo3-macros-backend v0.29.2 [INFO] [stderr] Checking serde v1.0.229 [INFO] [stderr] Checking sts2-sim v0.1.0 (/opt/rustwide/workdir/sim) [INFO] [stderr] Compiling pyo3-macros v0.29.2 [INFO] [stderr] Checking sts2-sim-py v0.1.0 (/opt/rustwide/workdir/sim-py) [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:104:68 [INFO] [stdout] | [INFO] [stdout] 104 | fn set_hard_weights(&mut self, weights: Vec<(String, f32)>) -> 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] --> sim-py/src/lib.rs:119:73 [INFO] [stdout] | [INFO] [stdout] 119 | fn load_combat(&mut self, i: usize, advisor: PyRef<'_, Advisor>) -> 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] --> sim-py/src/lib.rs:210:69 [INFO] [stdout] | [INFO] [stdout] 210 | fn use_real(&mut self, pools: Vec<(String, f32)>, seed: u64) -> 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] --> sim-py/src/lib.rs:224:74 [INFO] [stdout] | [INFO] [stdout] 224 | fn use_setups(&mut self, setups: &str, repeats: usize, seed: u64) -> 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] --> sim-py/src/lib.rs:240:111 [INFO] [stdout] | [INFO] [stdout] 240 | fn queue_fight_jobs(&mut self, jobs: Vec<(String, i32, Vec<(String, u32, i32)>, u64)>, repeats: 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] --> sim-py/src/lib.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | ) -> 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] --> sim-py/src/lib.rs:283:124 [INFO] [stdout] | [INFO] [stdout] 283 | ...ters: Vec<(String, u32)>, repeats: usize, seed: u64) -> 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] --> sim-py/src/lib.rs:310:101 [INFO] [stdout] | [INFO] [stdout] 310 | fn use_runs(&mut self, py: Python<'_>, seed: u64, asc: u8, choices: &str, last: Option) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | ) -> 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] --> sim-py/src/lib.rs:373:145 [INFO] [stdout] | [INFO] [stdout] 373 | ... decision: Vec, options: PyReadonlyArray1) -> 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] --> sim-py/src/lib.rs:389:78 [INFO] [stdout] | [INFO] [stdout] 389 | fn set_starts(&mut self, full: f32, weights: Vec, own: Vec) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:400:87 [INFO] [stdout] | [INFO] [stdout] 400 | fn use_winner_starts(&mut self, py: Python<'_>, runs: Vec, share: f32) -> 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] --> sim-py/src/lib.rs:440:10 [INFO] [stdout] | [INFO] [stdout] 440 | ) -> PyResult<(Bound<'py, PyArray1>, std::collections::BTreeMap)> { [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] --> sim-py/src/lib.rs:454:86 [INFO] [stdout] | [INFO] [stdout] 454 | ...>, scores: Vec) -> PyResult<(Bound<'py, PyArray1>, std::collections::BTreeMap)> { [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] --> sim-py/src/lib.rs:469:72 [INFO] [stdout] | [INFO] [stdout] 469 | fn load_recordings(&mut self, dir: &str, ascension: Option) -> PyResult<(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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:488:10 [INFO] [stdout] | [INFO] [stdout] 488 | ) -> 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] --> sim-py/src/lib.rs:508:10 [INFO] [stdout] | [INFO] [stdout] 508 | ) -> 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] --> sim-py/src/lib.rs:577:44 [INFO] [stdout] | [INFO] [stdout] 577 | fn feed_line(&mut self, line: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:667:10 [INFO] [stdout] | [INFO] [stdout] 667 | ) -> 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] --> sim-py/src/lib.rs:674:41 [INFO] [stdout] | [INFO] [stdout] 674 | fn describe(&self, index: 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] --> sim-py/src/lib.rs:680:40 [INFO] [stdout] | [INFO] [stdout] 680 | fn command(&self, index: 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] --> sim-py/src/lib.rs:685:26 [INFO] [stdout] | [INFO] [stdout] 685 | fn summary(&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] --> sim-py/src/lib.rs:693:36 [INFO] [stdout] | [INFO] [stdout] 693 | fn end_turn_survives(&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] --> sim-py/src/lib.rs:703:25 [INFO] [stdout] | [INFO] [stdout] 703 | fn counts(&self) -> PyResult<(usize, usize, u32)> { [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] --> sim-py/src/lib.rs:711:59 [INFO] [stdout] | [INFO] [stdout] 711 | fn fork(&self, n: usize, groups: usize, seed: u64) -> 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] --> sim-py/src/lib.rs:741:10 [INFO] [stdout] | [INFO] [stdout] 741 | ) -> 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] --> sim-py/src/lib.rs:755:112 [INFO] [stdout] | [INFO] [stdout] 755 | fn step(&mut self, py: Python<'_>, actions: PyReadonlyArray1, mut rewards: PyReadwriteArray1) -> 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] --> sim-py/src/lib.rs:826:119 [INFO] [stdout] | [INFO] [stdout] 826 | ..., envs: Vec, priors: PyReadonlyArray2) -> 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] --> sim-py/src/lib.rs:864:10 [INFO] [stdout] | [INFO] [stdout] 864 | ) -> 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] --> sim-py/src/lib.rs:873:64 [INFO] [stdout] | [INFO] [stdout] 873 | fn set_values(&mut self, values: PyReadonlyArray1) -> 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] --> sim-py/src/lib.rs:934:10 [INFO] [stdout] | [INFO] [stdout] 934 | ) -> PyResult<(Forks, Vec, 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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:976:56 [INFO] [stdout] | [INFO] [stdout] 976 | fn stats<'py>(&self, py: Python<'py>, i: 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] --> sim-py/src/lib.rs:1014:30 [INFO] [stdout] | [INFO] [stdout] 1014 | fn layout(py: Python<'_>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1088:34 [INFO] [stdout] | [INFO] [stdout] 1088 | fn run_layout(py: Python<'_>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1233:50 [INFO] [stdout] | [INFO] [stdout] 1233 | fn imitation<'py>(py: Python<'py>, run: &str) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1265:37 [INFO] [stdout] | [INFO] [stdout] 1265 | fn transform_options(name: &str) -> PyResult)>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1283:34 [INFO] [stdout] | [INFO] [stdout] 1283 | fn start_blocker(start: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1292:44 [INFO] [stdout] | [INFO] [stdout] 1292 | fn encounter_brief(name: &str, asc: u8) -> PyResult, 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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1354:10 [INFO] [stdout] | [INFO] [stdout] 1354 | ) -> 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] --> sim-py/src/lib.rs:1378:91 [INFO] [stdout] | [INFO] [stdout] 1378 | fn expand(&mut self, priors: PyReadonlyArray2, values: PyReadonlyArray1) -> 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 `sts2-sim-py` (lib) due to 40 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] --> sim-py/src/lib.rs:104:68 [INFO] [stdout] | [INFO] [stdout] 104 | fn set_hard_weights(&mut self, weights: Vec<(String, f32)>) -> 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] --> sim-py/src/lib.rs:119:73 [INFO] [stdout] | [INFO] [stdout] 119 | fn load_combat(&mut self, i: usize, advisor: PyRef<'_, Advisor>) -> 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] --> sim-py/src/lib.rs:210:69 [INFO] [stdout] | [INFO] [stdout] 210 | fn use_real(&mut self, pools: Vec<(String, f32)>, seed: u64) -> 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] --> sim-py/src/lib.rs:224:74 [INFO] [stdout] | [INFO] [stdout] 224 | fn use_setups(&mut self, setups: &str, repeats: usize, seed: u64) -> 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] --> sim-py/src/lib.rs:240:111 [INFO] [stdout] | [INFO] [stdout] 240 | fn queue_fight_jobs(&mut self, jobs: Vec<(String, i32, Vec<(String, u32, i32)>, u64)>, repeats: 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] --> sim-py/src/lib.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | ) -> 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] --> sim-py/src/lib.rs:283:124 [INFO] [stdout] | [INFO] [stdout] 283 | ...ters: Vec<(String, u32)>, repeats: usize, seed: u64) -> 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] --> sim-py/src/lib.rs:310:101 [INFO] [stdout] | [INFO] [stdout] 310 | fn use_runs(&mut self, py: Python<'_>, seed: u64, asc: u8, choices: &str, last: Option) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | ) -> 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] --> sim-py/src/lib.rs:373:145 [INFO] [stdout] | [INFO] [stdout] 373 | ... decision: Vec, options: PyReadonlyArray1) -> 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] --> sim-py/src/lib.rs:389:78 [INFO] [stdout] | [INFO] [stdout] 389 | fn set_starts(&mut self, full: f32, weights: Vec, own: Vec) -> PyResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:400:87 [INFO] [stdout] | [INFO] [stdout] 400 | fn use_winner_starts(&mut self, py: Python<'_>, runs: Vec, share: f32) -> 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] --> sim-py/src/lib.rs:440:10 [INFO] [stdout] | [INFO] [stdout] 440 | ) -> PyResult<(Bound<'py, PyArray1>, std::collections::BTreeMap)> { [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] --> sim-py/src/lib.rs:454:86 [INFO] [stdout] | [INFO] [stdout] 454 | ...>, scores: Vec) -> PyResult<(Bound<'py, PyArray1>, std::collections::BTreeMap)> { [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] --> sim-py/src/lib.rs:469:72 [INFO] [stdout] | [INFO] [stdout] 469 | fn load_recordings(&mut self, dir: &str, ascension: Option) -> PyResult<(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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:488:10 [INFO] [stdout] | [INFO] [stdout] 488 | ) -> 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] --> sim-py/src/lib.rs:508:10 [INFO] [stdout] | [INFO] [stdout] 508 | ) -> 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] --> sim-py/src/lib.rs:577:44 [INFO] [stdout] | [INFO] [stdout] 577 | fn feed_line(&mut self, line: &str) -> PyResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:667:10 [INFO] [stdout] | [INFO] [stdout] 667 | ) -> 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] --> sim-py/src/lib.rs:674:41 [INFO] [stdout] | [INFO] [stdout] 674 | fn describe(&self, index: 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] --> sim-py/src/lib.rs:680:40 [INFO] [stdout] | [INFO] [stdout] 680 | fn command(&self, index: 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] --> sim-py/src/lib.rs:685:26 [INFO] [stdout] | [INFO] [stdout] 685 | fn summary(&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] --> sim-py/src/lib.rs:693:36 [INFO] [stdout] | [INFO] [stdout] 693 | fn end_turn_survives(&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] --> sim-py/src/lib.rs:703:25 [INFO] [stdout] | [INFO] [stdout] 703 | fn counts(&self) -> PyResult<(usize, usize, u32)> { [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] --> sim-py/src/lib.rs:711:59 [INFO] [stdout] | [INFO] [stdout] 711 | fn fork(&self, n: usize, groups: usize, seed: u64) -> 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] --> sim-py/src/lib.rs:741:10 [INFO] [stdout] | [INFO] [stdout] 741 | ) -> 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] --> sim-py/src/lib.rs:755:112 [INFO] [stdout] | [INFO] [stdout] 755 | fn step(&mut self, py: Python<'_>, actions: PyReadonlyArray1, mut rewards: PyReadwriteArray1) -> 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] --> sim-py/src/lib.rs:826:119 [INFO] [stdout] | [INFO] [stdout] 826 | ..., envs: Vec, priors: PyReadonlyArray2) -> 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] --> sim-py/src/lib.rs:864:10 [INFO] [stdout] | [INFO] [stdout] 864 | ) -> 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] --> sim-py/src/lib.rs:873:64 [INFO] [stdout] | [INFO] [stdout] 873 | fn set_values(&mut self, values: PyReadonlyArray1) -> 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] --> sim-py/src/lib.rs:934:10 [INFO] [stdout] | [INFO] [stdout] 934 | ) -> PyResult<(Forks, Vec, 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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:976:56 [INFO] [stdout] | [INFO] [stdout] 976 | fn stats<'py>(&self, py: Python<'py>, i: 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] --> sim-py/src/lib.rs:1014:30 [INFO] [stdout] | [INFO] [stdout] 1014 | fn layout(py: Python<'_>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1088:34 [INFO] [stdout] | [INFO] [stdout] 1088 | fn run_layout(py: Python<'_>) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1233:50 [INFO] [stdout] | [INFO] [stdout] 1233 | fn imitation<'py>(py: Python<'py>, run: &str) -> PyResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1265:37 [INFO] [stdout] | [INFO] [stdout] 1265 | fn transform_options(name: &str) -> PyResult)>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1283:34 [INFO] [stdout] | [INFO] [stdout] 1283 | fn start_blocker(start: &str) -> PyResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1292:44 [INFO] [stdout] | [INFO] [stdout] 1292 | fn encounter_brief(name: &str, asc: u8) -> PyResult, 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] [stdout] error: useless conversion to the same type: `PyErr` [INFO] [stdout] --> sim-py/src/lib.rs:1354:10 [INFO] [stdout] | [INFO] [stdout] 1354 | ) -> 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] --> sim-py/src/lib.rs:1378:91 [INFO] [stdout] | [INFO] [stdout] 1378 | fn expand(&mut self, priors: PyReadonlyArray2, values: PyReadonlyArray1) -> 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 `sts2-sim-py` (lib test) due to 40 previous errors [INFO] running `Command { std: "docker" "inspect" "dc68f55eaab9ad3434f6c8da42395d0f222fc8ba0f720763ce053bc6e3f09a35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc68f55eaab9ad3434f6c8da42395d0f222fc8ba0f720763ce053bc6e3f09a35", kill_on_drop: false }` [INFO] [stdout] dc68f55eaab9ad3434f6c8da42395d0f222fc8ba0f720763ce053bc6e3f09a35